Searched refs:log_range (Results 1 – 6 of 6) sorted by relevance
52 get_min_count(unsigned log_range) in get_min_count() argument68 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()
87 get_log_divisor(size_t count, int log_range) in get_log_divisor() argument92 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()
73 for (int log_range = 0; log_range <= max_int_bits; ++log_range) { in get_min_count_test() local75 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() local113 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 …]
87 const double log_range = std::log(static_cast<double>(range()) + 0.5); in min_() local88 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() function182 const int e = absl::uniform_int_distribution<int>(0, p.log_range())(g); in Generate()
84 const double log_range = std::log(static_cast<double>(range()) + 0.5); in min_() local85 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() function179 const int e = absl::uniform_int_distribution<int>(0, p.log_range())(g); in Generate()
615 #define log_range(var, assign) do { \ in calc_input_response() macro619 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()