Home
last modified time | relevance | path

Searched refs:log_range (Results 1 – 6 of 6) sorted by relevance

/third_party/boost/boost/sort/spreadsort/detail/
Dspreadsort_common.hpp52 get_min_count(unsigned log_range) in get_min_count() argument
68 if (log_range <= min_size && log_range <= max_splits) { in get_min_count()
70 if (log_range <= log_finishing_count) in get_min_count()
72 return typed_one << log_range; in get_min_count()
82 if (log_range < base_range) { in get_min_count()
84 for (unsigned offset = min_size; offset < log_range; in get_min_count()
92 unsigned remainder = log_range - base_range; in get_min_count()
Dinteger_sort.hpp87 get_log_divisor(size_t count, int log_range) in get_log_divisor() argument
92 if ((log_divisor = log_range - rough_log_2_size(count)) <= 0 && in get_log_divisor()
93 log_range <= max_finishing_splits) 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()
/third_party/boost/libs/sort/test/
Dsort_detail_test.cpp73 for (int log_range = 0; log_range <= max_int_bits; ++log_range) { in get_min_count_test() local
75 log_finishing_count>(log_range); in get_min_count_test()
81 if (log_range > min_log_size) { in get_min_count_test()
96 BOOST_CHECK(covered_log_range >= log_range); in get_min_count_test()
97 BOOST_CHECK(covered_log_range - max_splits < log_range); in get_min_count_test()
106 for (int log_range = 0; log_range <= max_int_bits; ++log_range) { in get_log_divisor_test() local
113 get_log_divisor<int_log_mean_bin_size>(count, log_range); in get_log_divisor_test()
116 BOOST_CHECK(log_divisor <= log_range); in get_log_divisor_test()
121 if (log_range > log_count) { in get_log_divisor_test()
122 BOOST_CHECK(log_range - log_divisor <= max_splits); in get_log_divisor_test()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h87 const double log_range = std::log(static_cast<double>(range()) + 0.5); in min_() local
88 log_range_ = static_cast<int>(std::ceil(inv_log_base * log_range)); in min_()
107 int log_range() const { return log_range_; } in log_range() function
182 const int e = absl::uniform_int_distribution<int>(0, p.log_range())(g); in Generate()
/third_party/abseil-cpp/absl/random/
Dlog_uniform_int_distribution.h84 const double log_range = std::log(static_cast<double>(range()) + 0.5); in min_() local
85 log_range_ = static_cast<int>(std::ceil(inv_log_base * log_range)); in min_()
104 int log_range() const { return log_range_; } in log_range() function
179 const int e = absl::uniform_int_distribution<int>(0, p.log_range())(g); in Generate()
/third_party/ffmpeg/libavcodec/
Dwmavoice.c615 #define log_range(var, assign) do { \ in calc_input_response() macro
619 log_range(last_coeff, lpcs[1] * lpcs[1]); in calc_input_response()
621 log_range(lpcs[n], lpcs[n * 2] * lpcs[n * 2] + in calc_input_response()
623 log_range(lpcs[0], lpcs[0] * lpcs[0]); in calc_input_response()
624 #undef log_range in calc_input_response()