Lines Matching refs:frequency_
69 if (frequency_.size() >= max_buckets_) {
70 CHECK_ALIGNED(frequency_.size(), 2);
73 const size_t limit = frequency_.size() / 2;
76 frequency_[i] = frequency_[i * 2] + frequency_[i * 2 + 1];
79 while (frequency_.size() > limit) {
80 frequency_.pop_back();
84 frequency_.push_back(0);
105 ++frequency_[FindBucket(val)];
112 frequency_.push_back(0);
119 return frequency_.size();
129 frequency_.clear();
173 for (size_t bin_idx = 0; bin_idx < frequency_.size(); ++bin_idx) {
174 if (frequency_[bin_idx] != 0U) {
181 os << GetRange(bin_idx) << ":" << frequency_[bin_idx];
218 for (size_t idx = 0; idx < frequency_.size(); idx++) {
219 accumulated += frequency_[idx];