Searched refs:UnbiasedUniform (Results 1 – 4 of 4) sorted by relevance
96 int weight = random_.UnbiasedUniform(remaining_num_items) + 1; in TEST_P()123 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F()135 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F()149 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F()160 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F()174 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F()196 int upbound = (random.UnbiasedUniform(3) + 1) * params.num_items + 1; in TEST_P()198 compactor_stack.Add(random.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_P()231 compactor_stack.Add(random.UnbiasedUniform(std::numeric_limits<uint32_t>::max())); in TEST_P()235 compactor_stack.Add(random.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_P()[all …]
36 if (compactor_stack_->random()->UnbiasedUniform(++item_weight_) == 0) { in Add()49 if (compactor_stack_->random()->UnbiasedUniform(item_weight_) < in AddWithWeight()55 if (compactor_stack_->random()->UnbiasedUniform(capacity_) < in AddWithWeight()
145 bool keep_even_items = (random_->UnbiasedUniform(2) == 0); in Halve()
32 virtual uint64_t UnbiasedUniform(uint64_t n) = 0;45 uint64_t UnbiasedUniform(uint64_t n) override { in UnbiasedUniform() function