Home
last modified time | relevance | path

Searched refs:random_ (Results 1 – 5 of 5) sorted by relevance

/packages/modules/StatsD/lib/libkll/tests/
Dsampler_test.cpp41 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 …]
Dcompactor_stack_test.cpp52 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/
Dkll.h127 random_ = random; in set_random()
139 return random_; in random()
146 RandomGenerator* random_ = nullptr; variable
Dcompactor_stack.h83 return random_; in random()
115 RandomGenerator* random_; variable
/packages/modules/StatsD/lib/libkll/
Dcompactor_stack.cpp32 : random_(random) { in CompactorStack()
145 bool keep_even_items = (random_->UnbiasedUniform(2) == 0); in Halve()