Searched refs:upper_idx (Results 1 – 3 of 3) sorted by relevance
101 int upper_idx; in threshold_for_count_below() local114 for (upper_idx = lower_idx + 1; upper_idx < num_buckets; upper_idx++) { in threshold_for_count_below()115 if (bucket_counts[upper_idx]) { in threshold_for_count_below()119 return (bucket_boundaries[lower_idx] + bucket_boundaries[upper_idx]) / 2.0; in threshold_for_count_below()
152 size_t upper_idx; in threshold_for_count_below() local176 for (upper_idx = lower_idx + 1; upper_idx < h->num_buckets; upper_idx++) { in threshold_for_count_below()177 if (h->buckets[upper_idx]) { in threshold_for_count_below()182 bucket_start(h, static_cast<double>(upper_idx))) / in threshold_for_count_below()
27 for upper_idx in range(lower_idx + 1, len(buckets)):28 if buckets[upper_idx] != 0:30 return (boundaries[lower_idx] + boundaries[upper_idx]) / 2.0