Home
last modified time | relevance | path

Searched refs:coin_flip (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_test.cc135 std::bernoulli_distribution coin_flip(0.5); in AppendWithFragments() local
136 if (coin_flip(*rng)) { in AppendWithFragments()
995 std::bernoulli_distribution coin_flip(0.5); in TEST_P() local
996 TestCompare(coin_flip(rng) ? c : absl::Cord(std::string(c)), in TEST_P()
997 coin_flip(rng) ? d : absl::Cord(std::string(d)), &rng); in TEST_P()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_btree_test.cc728 std::uniform_int_distribution<int> coin_flip(0, 1); in TEST() local
742 CordRepBtree* left = MakeTree(random_leaf_count(), coin_flip(rnd)); in TEST()
749 CordRepBtree* right = MakeTree(random_leaf_count(), coin_flip(rnd)); in TEST()