Home
last modified time | relevance | path

Searched refs:log_divisor (Results 1 – 3 of 3) sorted by relevance

/third_party/boost/boost/sort/spreadsort/detail/
Dinteger_sort.hpp89 int log_divisor; in get_log_divisor() local
92 if ((log_divisor = log_range - rough_log_2_size(count)) <= 0 && in get_log_divisor()
94 log_divisor = 0; in get_log_divisor()
97 log_divisor += log_mean_bin_size; in get_log_divisor()
99 if ((log_range - log_divisor) > max_splits) in get_log_divisor()
100 log_divisor = log_range - max_splits; in get_log_divisor()
102 return log_divisor; in get_log_divisor()
120 unsigned log_divisor = get_log_divisor<int_log_mean_bin_size>( in spreadsort_rec() local
122 Div_type div_min = *min >> log_divisor; in spreadsort_rec()
123 Div_type div_max = *max >> log_divisor; in spreadsort_rec()
[all …]
Dfloat_sort.hpp100 , const unsigned log_divisor, const Div_type div_min) in inner_float_swap_loop() argument
107 log_divisor) - div_min)); target_bin != local_bin; in inner_float_swap_loop()
109 (current) >> log_divisor) - div_min)) { in inner_float_swap_loop()
113 RandomAccessIter>(b) >> log_divisor) - div_min); in inner_float_swap_loop()
134 const unsigned log_divisor, const Div_type div_min) in float_swap_loop() argument
138 (bins, nextbinstart, ii, log_divisor, div_min); in float_swap_loop()
174 unsigned log_divisor = get_log_divisor<float_log_mean_bin_size>( in positive_float_sort_rec() local
176 Div_type div_min = min >> log_divisor; in positive_float_sort_rec()
177 Div_type div_max = max >> log_divisor; in positive_float_sort_rec()
186 current++) >> log_divisor) - div_min)]++; in positive_float_sort_rec()
[all …]
/third_party/boost/libs/sort/test/
Dsort_detail_test.cpp112 int log_divisor = in get_log_divisor_test() local
116 BOOST_CHECK(log_divisor <= log_range); in get_log_divisor_test()
118 BOOST_CHECK(log_divisor <= prev_log_divisor); in get_log_divisor_test()
119 prev_log_divisor = log_divisor; in get_log_divisor_test()
120 BOOST_CHECK(log_divisor >= 0); in get_log_divisor_test()
122 BOOST_CHECK(log_range - log_divisor <= max_splits); in get_log_divisor_test()
124 BOOST_CHECK(log_divisor == 0); in get_log_divisor_test()