Searched refs:next_power_of_two (Results 1 – 15 of 15) sorted by relevance
23 static int next_power_of_two(int N) { in next_power_of_two() function59 int pffft_next_power_of_two(int N) { return next_power_of_two(N); } in pffft_next_power_of_two()65 int pffftd_next_power_of_two(int N) { return next_power_of_two(N); } in pffftd_next_power_of_two()
512 int nextPow2N = PFFFT_FUNC(next_power_of_two)(N);
190 int32 next_power_of_two = 1U << log2_ceiling; in CreateTopKUnique() local191 int32 count_mask = next_power_of_two - 1; in CreateTopKUnique()269 uint32 next_power_of_two = 1U << log2_ceiling; in CreateMakeUnique() local270 uint32 count_mask = ~(next_power_of_two - 1); in CreateMakeUnique()
149 static unsigned next_power_of_two(unsigned x) in next_power_of_two() function163 val = next_power_of_two(val); in mip_minify()1430 surflevel->npix_x = mip_minify(next_power_of_two(surf->npix_x), level); in si_surf_minify()1436 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify()1437 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify()1438 surflevel->nblk_z = (next_power_of_two(surflevel->npix_z) + surf->blk_d - 1) / surf->blk_d; in si_surf_minify()1480 surflevel->npix_x = mip_minify(next_power_of_two(surf->npix_x), level); in si_surf_minify_2d()1486 surflevel->nblk_x = (next_power_of_two(surflevel->npix_x) + surf->blk_w - 1) / surf->blk_w; in si_surf_minify_2d()1487 surflevel->nblk_y = (next_power_of_two(surflevel->npix_y) + surf->blk_h - 1) / surf->blk_h; in si_surf_minify_2d()1488 surflevel->nblk_z = (next_power_of_two(surflevel->npix_z) + surf->blk_d - 1) / surf->blk_d; in si_surf_minify_2d()[all …]
157 def next_power_of_two(value): function179 num_buckets = next_power_of_two(len(mappings) * 3)
33 variants.len().next_power_of_two().trailing_zeros() in variant_bits()
231 if hi.next_power_of_two().trailing_zeros() * n >= bits::<$T>() {
55 n = n.next_power_of_two(); in bytes_from_bits_pow2()
107 let mark_bit = (cap + 1).next_power_of_two(); in with_capacity()
433 capacity = capacity.next_power_of_two(); in channel()
551 let modulus = len.next_power_of_two(); in break_patterns()
47 let new_size = (num_threads * LOAD_FACTOR).next_power_of_two(); in new()
43 debug_assert_eq!(cap, cap.next_power_of_two()); in alloc()
321 uint32_t next_power_of_two(uint32_t v) in next_power_of_two() function335 return next_power_of_two(get_pixel_size(format)); in get_pixel_alignment()
215 Some(adjusted_cap.next_power_of_two()) in capacity_to_buckets()