Searched refs:frequency_ (Results 1 – 2 of 2) sorted by relevance
74 DCHECK_LE(frequency_.size(), max_buckets_); in GrowBuckets()75 if (frequency_.size() == max_buckets_) { in GrowBuckets()76 DCHECK_EQ(frequency_.size() % 2, 0u); in GrowBuckets()79 const size_t limit = frequency_.size() / 2; in GrowBuckets()82 frequency_[i] = frequency_[i * 2] + frequency_[i * 2 + 1]; in GrowBuckets()85 while (frequency_.size() > limit) { in GrowBuckets()86 frequency_.pop_back(); in GrowBuckets()90 frequency_.push_back(0); in GrowBuckets()111 ++frequency_[FindBucket(val)]; in BucketiseValue()118 frequency_.push_back(0); in Initialize()[all …]
116 std::vector<uint32_t> frequency_; variable