Searched refs:floor_log2 (Results 1 – 12 of 12) sorted by relevance
/third_party/boost/boost/intrusive/detail/ |
D | math.hpp | 76 inline std::size_t floor_log2 (std::size_t x) in floor_log2() function 114 inline std::size_t floor_log2(std::size_t n) 132 inline std::size_t floor_log2 (std::size_t x, integral_constant<std::size_t, N>) 161 inline std::size_t floor_log2 (std::size_t v, integral_constant<std::size_t, 32>) 178 inline std::size_t floor_log2 (std::size_t v, integral_constant<std::size_t, 64>) 200 inline std::size_t floor_log2 (std::size_t x) 203 return floor_log2(x, integral_constant<std::size_t, Bits>()); 237 return static_cast<std::size_t>(!(is_pow2)(x)) + floor_log2(x); in ceil_log2() 247 return std::size_t(1u) << floor_log2(x); in previous_or_equal_pow2()
|
/third_party/boost/libs/container/test/ |
D | pool_resource_test.hpp | 310 const std::size_t num_chunks = bi::detail::floor_log2(opts.max_blocks_per_chunk)+1u; in test_do_allocate_deallocate() 341 const std::size_t num_chunks = bi::detail::floor_log2(opts.max_blocks_per_chunk)+1u; in test_do_allocate_deallocate() 370 …BOOST_TEST(dmbr.pool_count() == (1u + bi::detail::floor_log2(maximum_size) - bi::detail::floor_log… in test_do_allocate_deallocate() 419 …const std::size_t pool_count = 1u + bi::detail::floor_log2(maximum_size) - bi::detail::floor_log2(… in test_release() 427 expected_memory_allocs = 1 + (bid::floor_log2(opts.max_blocks_per_chunk) + 1u)*(i+1); in test_release() 456 …const std::size_t pool_count = 1u + bi::detail::floor_log2(maximum_size) - bi::detail::floor_log2(… in test_destructor() 464 expected_memory_allocs = 1 + (bid::floor_log2(opts.max_blocks_per_chunk) + 1u)*(i+1); in test_destructor()
|
/third_party/quickjs/examples/ |
D | pi_bigint.js | 7 function floor_log2(a) function 29 return floor_log2(a - 1n) + 1n;
|
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/ |
D | integer.hpp | 38 GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
|
D | integer.inl | 54 GLM_FUNC_QUALIFIER unsigned int floor_log2(unsigned int x)
|
/third_party/boost/boost/interprocess/detail/ |
D | math_functions.hpp | 96 inline std::size_t floor_log2 (std::size_t x) in floor_log2() function
|
D | intersegment_ptr.hpp | 161 pow = ipcdetail::floor_log2(orig_size); in calculate_size()
|
/third_party/boost/boost/container/detail/ |
D | math_functions.hpp | 127 inline std::size_t floor_log2 (std::size_t x) in floor_log2() function
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_tgsi_insn.c | 2550 SVGA3dShaderDestToken floor_log2; in emit_log() local 2553 floor_log2 = dst; in emit_log() 2555 floor_log2 = get_temp( emit ); in emit_log() 2560 writemask( floor_log2, TGSI_WRITEMASK_X ), in emit_log() 2565 writemask( floor_log2, TGSI_WRITEMASK_X ), in emit_log() 2567 negate( src( floor_log2 ) ) ) ) in emit_log() 2576 negate( scalar( src( floor_log2 ), in emit_log() 2588 release_temp( emit, floor_log2 ); in emit_log()
|
/third_party/mesa3d/src/mesa/program/ |
D | prog_to_nir.c | 317 nir_ssa_def *floor_log2 = nir_ffloor(b, log2); in ptn_log() local 319 ptn_move_dest_masked(b, dest, floor_log2, WRITEMASK_X); in ptn_log() 322 nir_fexp2(b, nir_fneg(b, floor_log2))), in ptn_log()
|
/third_party/boost/boost/intrusive/ |
D | sgtree.hpp | 68 std::size_t f_log2 = detail::floor_log2(n); in calculate_h_sqrt2()
|
D | bstree_algorithms.hpp | 1889 …std::size_t leaf_nodes = count + one_szt - std::size_t(one_szt << detail::floor_log2(count + one_s… in vine_to_subtree()
|