Searched refs:rough_log_2_size (Results 1 – 6 of 6) sorted by relevance
/third_party/boost/libs/sort/test/ |
D | sort_detail_test.cpp | 60 BOOST_CHECK(detail::rough_log_2_size(one << i) == i + 1); in roughlog2_test() 61 BOOST_CHECK(detail::rough_log_2_size((one << i) - 1) == i); in roughlog2_test() 83 int iterations = rough_log_2_size(min_count) - min_log_size; in get_min_count_test() 111 BOOST_CHECK(rough_log_2_size(count) == (unsigned)log_count); in get_log_divisor_test() 258 rough_log_2_size(float_mem_cast<float, int>(5.0f) - float_four_as_int); in swap_loop_test()
|
/third_party/boost/libs/sort/example/ |
D | alrbreaker.cpp | 29 const unsigned bit_shift = detail::rough_log_2_size(max_count) - 31 const unsigned radix_threshold = detail::rough_log_2_size(max_count) + 1;
|
D | binaryalrbreaker.cpp | 29 const unsigned bit_shift = detail::rough_log_2_size(max_count) - 31 const unsigned radix_threshold = detail::rough_log_2_size(max_count) + 1;
|
/third_party/boost/boost/sort/spreadsort/detail/ |
D | float_sort.hpp | 175 last - first, rough_log_2_size(Size_type(max - min))); in positive_float_sort_rec() 235 last - first, rough_log_2_size(Size_type(max - min))); in negative_float_sort_rec() 295 last - first, rough_log_2_size(Size_type(max - min))); in negative_float_sort_rec() 353 last - first, rough_log_2_size(Size_type(max - min))); in negative_float_sort_rec() 413 last - first, rough_log_2_size(Size_type(max - min))); in float_sort_rec() 510 last - first, rough_log_2_size(Size_type(max - min))); in float_sort_rec() 608 last - first, rough_log_2_size(Size_type(max - min))); in float_sort_rec()
|
D | integer_sort.hpp | 92 if ((log_divisor = log_range - rough_log_2_size(count)) <= 0 && in get_log_divisor() 121 last - first, rough_log_2_size(Size_type((*max >> 0) - (*min >> 0)))); in spreadsort_rec() 260 rough_log_2_size(Size_type(rshift(*max, 0) - rshift(*min, 0)))); in spreadsort_rec() 317 rough_log_2_size(Size_type(rshift(*max, 0) - rshift(*min, 0)))); in spreadsort_rec()
|
D | spreadsort_common.hpp | 35 rough_log_2_size(const T& input) in rough_log_2_size() function
|