Home
last modified time | relevance | path

Searched refs:compactors_ (Results 1 – 2 of 2) sorted by relevance

/packages/modules/StatsD/lib/libkll/
Dcompactor_stack.cpp57 compactors_[0].push_back(value); in Add()
77 if (level_to_add >= compactors_.size()) { in AddWithWeight()
81 compactors_[level_to_add].push_back(value); in AddWithWeight()
92 for (std::vector<int64_t>& compactor : compactors_) { in SortCompactorContents()
98 compactors_.clear(); in ClearCompactors()
103 compactors_.resize(compactors_.size() + 1); in AddLevel()
118 for (size_t i = 0; i < compactors_.size(); i++) { in CompactStack()
119 if (!compactors_[i].empty() && in CompactStack()
120 static_cast<int>(compactors_[i].size()) >= TargetCapacityAtLevel(i)) { in CompactStack()
131 if (level == static_cast<int>(compactors_.size()) - 1) { in CompactLevel()
[all …]
/packages/modules/StatsD/lib/libkll/include/
Dcompactor_stack.h79 return compactors_; in compactors()
110 std::vector<std::vector<int64_t>> compactors_; variable