Searched refs:bucket_for (Results 1 – 3 of 3) sorted by relevance
32 private function bucket_for($value) { function in Histogram45 $this->buckets = array_fill(0, $this->bucket_for($max_possible)+1, 0);58 $this->buckets[$this->bucket_for($value)] += 1;91 $this->buckets = array_fill(0, $this->bucket_for($this->max_possible)+1, 0);
25 def bucket_for(value) method in Histogram41 @buckets=Array.new(bucket_for(max_possible)+1, 0)56 @buckets[bucket_for(value)] += 1
64 static size_t bucket_for(grpc_histogram* h, double x) { in bucket_for() function112 h->buckets[bucket_for(h, x)]++; in grpc_histogram_add()