Searched refs:hitBucket (Results 1 – 1 of 1) sorted by relevance
166 Bucket hitBucket = null; in quantileFunction() local169 hitBucket = bucket; in quantileFunction()174 if (hitBucket == null) { in quantileFunction()178 double highValue = Math.min(hitBucket.end, maximum); in quantileFunction()179 double value = Math.max(hitBucket.start, minimum); in quantileFunction()180 if (value >= highValue - 1.0 || hitBucket.count == 0) return Math.min(value, highValue); in quantileFunction()182 value += (highValue - value) * (target - partialSum) / hitBucket.count; in quantileFunction()