Lines Matching refs:counts
33 std::vector<size_t>* counts() {
142 (*peer_.counts())[0] = 1;
143 (*peer_.counts())[255] = 10;
144 (*peer_.counts())[128] = 101;
149 // Internal counts were reset after being published.
150 EXPECT_THAT(*peer_.counts(), Each(Eq(0u)));
153 // Verify histogram counts match the expectation.
164 // Publish a second round of counts;
165 (*peer_.counts())[1] = 32;
166 (*peer_.counts())[128] = 5;
171 // Verify they've been aggregated into the previous counts.