Searched refs:random_ (Results 1 – 5 of 5) sorted by relevance
/packages/modules/StatsD/lib/libkll/tests/ |
D | sampler_test.cpp | 41 KllQuantileSamplerTest() : random_() { in KllQuantileSamplerTest() 43 MTRandomGenerator random_; member in dist_proc::aggregation::internal::__anonf1afd3930111::KllQuantileSamplerTest 47 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 71 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 77 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 84 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 99 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 113 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 131 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() 147 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() [all …]
|
D | compactor_stack_test.cpp | 52 AddsToCompactorsTest() : random_() { in AddsToCompactorsTest() 54 MTRandomGenerator random_; member in dist_proc::aggregation::internal::__anon110fac5c0111::AddsToCompactorsTest 64 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_P() 88 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_P() 96 int weight = random_.UnbiasedUniform(remaining_num_items) + 1; in TEST_P() 117 MTRandomGenerator random_; member in dist_proc::aggregation::internal::__anon110fac5c0111::KllQuantileUseSamplerTest 121 CompactorStack compactor_stack(10, 10, &random_); in TEST_F() 123 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 133 CompactorStack compactor_stack(10, 10, &random_); in TEST_F() 135 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() [all …]
|
/packages/modules/StatsD/lib/libkll/include/ |
D | kll.h | 127 random_ = random; in set_random() 139 return random_; in random() 146 RandomGenerator* random_ = nullptr; variable
|
D | compactor_stack.h | 83 return random_; in random() 115 RandomGenerator* random_; variable
|
/packages/modules/StatsD/lib/libkll/ |
D | compactor_stack.cpp | 32 : random_(random) { in CompactorStack() 145 bool keep_even_items = (random_->UnbiasedUniform(2) == 0); in Halve()
|