Lines Matching refs:buckets
159 std::vector<uint32_t> buckets{GetBuckets(histogram)}; in TEST_F() local
160 EXPECT_EQ(1u, buckets[0u]); in TEST_F()
161 EXPECT_EQ(2u, buckets[1u]); in TEST_F()
162 EXPECT_EQ(4u, buckets[2u]); in TEST_F()
163 EXPECT_EQ(3u, buckets[3u]); in TEST_F()
164 EXPECT_EQ(0u, buckets[4u]); in TEST_F()
178 std::vector<uint32_t> buckets{GetBuckets(histogram)}; in TEST_F() local
179 EXPECT_EQ(1u, buckets[0u]); in TEST_F()
180 EXPECT_EQ(2u, buckets[1u]); in TEST_F()
220 const std::vector<uint32_t>& buckets) override { in TEST_F() argument
222 EXPECT_EQ(buckets[0], 1u) << "Unexpected value for bucket 0 for histogram " in TEST_F()
224 for (size_t i = 1; i < buckets.size(); ++i) { in TEST_F()
225 EXPECT_EQ(buckets[i], 0u) << "Unexpected value for bucket " << i << " for histogram " in TEST_F()
230 for (size_t i = 0; i < buckets.size(); ++i) { in TEST_F()
231 EXPECT_EQ(buckets[i], 0u) << "Unexpected value for bucket " << i << " for histogram " in TEST_F()
288 const std::vector<uint32_t>& buckets) override { in TEST_F() argument
290 for (const auto value : buckets) { in TEST_F()
317 const std::vector<uint32_t>& buckets) override { in TEST_F() argument
318 for (const auto value : buckets) { in TEST_F()
344 const std::vector<uint32_t>& buckets) override { in TEST_F() argument
345 EXPECT_NE(buckets[0], 0u) << "Unexpected value for bucket 0 for histogram " in TEST_F()
347 for (size_t i = 1; i < buckets.size(); i++) { in TEST_F()
348 EXPECT_EQ(buckets[i], 0u) << "Unexpected value for bucket " << i << " for histogram " in TEST_F()
392 const std::vector<uint32_t>& buckets) override { in TEST_F() argument
393 EXPECT_NE(buckets[0], 0u) << "Unexpected value for bucket 0 for histogram " in TEST_F()
395 for (size_t i = 1; i < buckets.size(); i++) { in TEST_F()
396 EXPECT_EQ(buckets[i], 0u) << "Unexpected value for bucket " << i << " for histogram " in TEST_F()