Searched refs:small_bucket (Results 1 – 1 of 1) sorted by relevance
122 int small_bucket = 0, merge_bucket = INT_MAX, big_bucket = 0; in merge_hist_buckets() local127 big_bucket = small_bucket = 0; in merge_hist_buckets()129 if (bucket[i].count < bucket[small_bucket].count) in merge_hist_buckets()130 small_bucket = i; in merge_hist_buckets()142 if (small_bucket == 0) in merge_hist_buckets()144 else if (small_bucket == last_bucket) in merge_hist_buckets()146 else if (bucket[small_bucket - 1].count < bucket[small_bucket + 1].count) in merge_hist_buckets()147 merge_bucket = small_bucket - 1; in merge_hist_buckets()149 merge_bucket = small_bucket + 1; in merge_hist_buckets()151 assert(abs(merge_bucket - small_bucket) <= 1); in merge_hist_buckets()[all …]