Searched refs:kBucketCount (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/components/variations/ |
D | entropy_provider_unittest.cc | 138 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/ |
D | hpack_huffman_aggregator.cc | 157 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/ |
D | prerender_histograms.cc | 447 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/ |
D | url_info.cc | 141 static const size_t kBucketCount = 52; in RemoveFromQueue() local 145 "DNS.QueueRecycledUnder2", TimeDelta(), kBoundary, kBucketCount, in RemoveFromQueue()
|
/external/chromium_org/base/metrics/ |
D | histogram_unittest.cc | 240 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()
|
D | field_trial_unittest.cc | 923 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()
|