Home
last modified time | relevance | path

Searched refs:kBucketCount (Results 1 – 6 of 6) sorted by relevance

/external/chromium_org/components/variations/
Dentropy_provider_unittest.cc138 const size_t kBucketCount = 20; in PerformEntropyUniformityTest() local
149 std::vector<int> distribution(kBucketCount); in PerformEntropyUniformityTest()
153 const size_t bucket = static_cast<size_t>(kBucketCount * entropy_value); in PerformEntropyUniformityTest()
154 ASSERT_LT(bucket, kBucketCount); in PerformEntropyUniformityTest()
168 static_cast<double>(i) / kBucketCount; in PerformEntropyUniformityTest()
/external/chromium_org/net/spdy/
Dhpack_huffman_aggregator.cc157 const size_t kBucketCount = kRangeMax + 1; in PublishCounts() local
159 base::BucketRanges ranges(kBucketCount + 1); in PublishCounts()
175 kHistogramName, kRangeMin, kRangeMax, kBucketCount, in PublishCounts()
/external/chromium_org/chrome/browser/prerender/
Dprerender_histograms.cc447 const int kBucketCount = 50; in RecordNetworkBytes() local
453 kBucketCount); in RecordNetworkBytes()
463 name, prerender_bytes, kHistogramMin, kHistogramMax, kBucketCount)); in RecordNetworkBytes()
469 name, prerender_bytes, kHistogramMin, kHistogramMax, kBucketCount)); in RecordNetworkBytes()
/external/chromium_org/chrome/browser/net/
Durl_info.cc141 static const size_t kBucketCount = 52; in RemoveFromQueue() local
145 "DNS.QueueRecycledUnder2", TimeDelta(), kBoundary, kBucketCount, in RemoveFromQueue()
/external/chromium_org/base/metrics/
Dhistogram_unittest.cc240 const size_t kBucketCount = 50; in TEST_F() local
242 Histogram::FactoryGet("Bounded", 10, 100, kBucketCount, in TEST_F()
257 EXPECT_EQ(kBucketCount, array_size); in TEST_F()
Dfield_trial_unittest.cc923 const int kBucketCount = 100; in TEST_F() local
926 for (int i = 0; i < kBucketCount; ++i) { in TEST_F()
927 const double entropy = i / static_cast<double>(kBucketCount); in TEST_F()
930 new base::FieldTrial("test", kBucketCount, "default", entropy)); in TEST_F()
931 for (int j = 0; j < kBucketCount; ++j) in TEST_F()