Home
last modified time | relevance | path

Searched refs:LogUniform (Results 1 – 16 of 16) sorted by relevance

/third_party/abseil-cpp/absl/random/
Dgenerators_test.cc140 absl::LogUniform<int>(*gen, 0, 100); in TestLogNormal()
141 absl::LogUniform<int8_t>(*gen, 0, 100); in TestLogNormal()
142 absl::LogUniform<int16_t>(*gen, 0, 100); in TestLogNormal()
143 absl::LogUniform<uint16_t>(*gen, 0, 100); in TestLogNormal()
144 absl::LogUniform<int32_t>(*gen, 0, 1 << 10); in TestLogNormal()
145 absl::LogUniform<uint32_t>(*gen, 0, 1 << 10); in TestLogNormal()
146 absl::LogUniform<int64_t>(*gen, 0, 1 << 10); in TestLogNormal()
147 absl::LogUniform<uint64_t>(*gen, 0, 1 << 10); in TestLogNormal()
148 absl::LogUniform<uint64_t>(URBG(), 0, 1 << 10); in TestLogNormal()
Dmock_distributions_test.cc66 EXPECT_NE(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
69 EXPECT_EQ(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
Dmocking_bit_gen_test.cc69 EXPECT_NE(absl::LogUniform<int>(gen, 0, 1000000, 2), 500000); in TEST()
72 EXPECT_EQ(absl::LogUniform<int>(gen, 0, 1000000, 2), 500000); in TEST()
112 EXPECT_NE(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
115 EXPECT_EQ(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
Dexamples_test.cc51 auto file_size = absl::LogUniform<size_t>(gen, 1000, 10 * 1000 * 1000); in TEST()
Ddistributions_test.cc435 TEST_F(RandomDistributionsTest, LogUniform) { in TEST_F() argument
440 values[i] = absl::LogUniform<int64_t>(gen, 0, (1 << 10) - 1); in TEST_F()
Ddistributions.h374 IntType LogUniform(URBG&& urbg, // NOLINT(runtime/references)
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dgenerators_test.cc140 absl::LogUniform<int>(*gen, 0, 100); in TestLogNormal()
141 absl::LogUniform<int8_t>(*gen, 0, 100); in TestLogNormal()
142 absl::LogUniform<int16_t>(*gen, 0, 100); in TestLogNormal()
143 absl::LogUniform<uint16_t>(*gen, 0, 100); in TestLogNormal()
144 absl::LogUniform<int32_t>(*gen, 0, 1 << 10); in TestLogNormal()
145 absl::LogUniform<uint32_t>(*gen, 0, 1 << 10); in TestLogNormal()
146 absl::LogUniform<int64_t>(*gen, 0, 1 << 10); in TestLogNormal()
147 absl::LogUniform<uint64_t>(*gen, 0, 1 << 10); in TestLogNormal()
148 absl::LogUniform<uint64_t>(URBG(), 0, 1 << 10); in TestLogNormal()
Dmock_distributions_test.cc66 EXPECT_NE(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
69 EXPECT_EQ(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
Dmocking_bit_gen_test.cc72 EXPECT_NE(absl::LogUniform<int>(gen, 0, 1000000, 2), 500000); in TEST()
75 EXPECT_EQ(absl::LogUniform<int>(gen, 0, 1000000, 2), 500000); in TEST()
115 EXPECT_NE(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
118 EXPECT_EQ(absl::LogUniform<int>(gen, 0, 1000000, 2), 2040); in TEST()
Dexamples_test.cc51 auto file_size = absl::LogUniform<size_t>(gen, 1000, 10 * 1000 * 1000); in TEST()
Ddistributions_test.cc445 TEST_F(RandomDistributionsTest, LogUniform) { in TEST_F() argument
450 values[i] = absl::LogUniform<int64_t>(gen, 0, (1 << 10) - 1); in TEST_F()
Ddistributions.h374 IntType LogUniform(URBG&& urbg, // NOLINT(runtime/references)
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dnumbers_benchmark.cc272 num = absl::LogUniform(rng, min, max); in BM_FastHexToBufferZeroPad16()
Dnumbers_test.cc1373 absl::LogUniform(rng, std::numeric_limits<uint64_t>::min(), in TEST()
/third_party/abseil-cpp/absl/strings/
Dnumbers_benchmark.cc272 num = absl::LogUniform(rng, min, max); in BM_FastHexToBufferZeroPad16()
Dnumbers_test.cc1279 absl::LogUniform(rng, std::numeric_limits<uint64_t>::min(), in TEST()