Searched refs:merge_bucket (Results 1 – 2 of 2) sorted by relevance
119 int small_bucket = 0, merge_bucket = INT_MAX, big_bucket = 0; in merge_hist_buckets() local138 merge_bucket = 1; in merge_hist_buckets()140 merge_bucket = last_bucket - 1; in merge_hist_buckets()142 merge_bucket = small_bucket - 1; in merge_hist_buckets()144 merge_bucket = small_bucket + 1; in merge_hist_buckets()146 assert(abs(merge_bucket - small_bucket) <= 1); in merge_hist_buckets()149 assert(merge_bucket < buckets); in merge_hist_buckets()151 if (merge_bucket < small_bucket) { in merge_hist_buckets()152 bucket[merge_bucket].high = bucket[small_bucket].high; in merge_hist_buckets()153 bucket[merge_bucket].count += bucket[small_bucket].count; in merge_hist_buckets()[all …]
128 int small_bucket = 0, merge_bucket = INT_MAX, big_bucket = 0; in merge_hist_buckets() local152 merge_bucket = 1; in merge_hist_buckets()154 merge_bucket = last_bucket - 1; in merge_hist_buckets()156 merge_bucket = small_bucket - 1; in merge_hist_buckets()158 merge_bucket = small_bucket + 1; in merge_hist_buckets()160 assert(abs(merge_bucket - small_bucket) <= 1); in merge_hist_buckets()163 assert(merge_bucket < buckets); in merge_hist_buckets()165 if (merge_bucket < small_bucket) { in merge_hist_buckets()166 bucket[merge_bucket].high = bucket[small_bucket].high; in merge_hist_buckets()167 bucket[merge_bucket].count += bucket[small_bucket].count; in merge_hist_buckets()[all …]