Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/tint/fuzzers/
Drandom_generator_test.cc45 void SetUp() override { rng_ = std::make_unique<RandomGenerator>(0); } in SetUp()
50 std::unique_ptr<RandomGenerator> rng_; member in tint::fuzzers::__anon636bcfe80111::RandomGeneratorTest
55 EXPECT_DEATH(rng_->GetUInt32(10, 5), ".*"); in TEST_F()
59 EXPECT_DEATH(rng_->GetUInt32(5, 5), ".*"); in TEST_F()
63 EXPECT_DEATH(rng_->GetUInt32(0u), ".*"); in TEST_F()
69 uint32_t result = rng_->GetUInt32(5u, 6u); in TEST_F()
73 uint32_t result = rng_->GetUInt32(1u); in TEST_F()
80 uint32_t result = rng_->GetUInt32(5u, 10u); in TEST_F()
85 uint32_t result = rng_->GetUInt32(10u); in TEST_F()
93 EXPECT_DEATH(rng_->GetUInt64(10, 5), ".*"); in TEST_F()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
Dexponential_biased.cc46 uint64_t rng = NextRandom(rng_); in GetSkipCount()
47 rng_ = rng; in GetSkipCount()
87 rng_ = r; in Initialize()
Dperiodic_sampler.cc26 return rng_.GetStride(period); in GetExponentialBiased()
Dexponential_biased.h109 uint64_t rng_{0};
Dperiodic_sampler.h152 ExponentialBiased rng_; variable
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Dpoisson_distribution_test.cc264 absl::random_internal::pcg64_2018_engine rng_{0x2B7E151628AED2A6}; member in __anon333c06250111::PoissonDistributionZTest
276 const auto x = dis(rng_); in SingleZTest()
370 absl::random_internal::pcg64_2018_engine rng_{0x2B7E151628AED2A6}; member in __anon333c06250111::PoissonDistributionChiSquaredTest
415 const size_t x = dis(rng_); in ChiSquaredTestImpl()
Dexponential_distribution_test.cc201 absl::random_internal::pcg64_2018_engine rng_{0x2B7E151628AED2A6}; member in __anon60c96e810111::ExponentialDistributionTests
212 const double x = dis(rng_); in SingleZTest()
257 const double x = dis(rng_); in SingleChiSquaredTest()
Dgaussian_distribution_test.cc206 absl::random_internal::pcg64_2018_engine rng_{0x2B7E151628AED2A6}; member in __anonea9754d50111::GaussianDistributionTests
217 const double x = dis(rng_); in SingleZTest()
279 const double x = dis(rng_); in SingleChiSquaredTest()
Dlog_uniform_int_distribution_test.cc128 absl::random_internal::pcg64_2018_engine rng_{0x2B7E151628AED2A6}; member in __anone175ed250111::LogUniformIntChiSquaredTest
162 const auto sample = dist(rng_); in ChiSquaredTestImpl()
Dbeta_distribution_test.cc281 absl::InsecureBitGen rng_; member in __anon65bde3360111::BetaDistributionTest
292 const double variate = dis(rng_); in SingleZTestOnMeanAndVariance()
375 const double x = dis(rng_); in SingleChiSquaredTest()
Dzipf_distribution_test.cc220 absl::random_internal::pcg64_2018_engine rng_{0x2B7E151628AED2A6}; member in __anone03280f30111::ZipfTest
272 uint64_t x = dis(rng_); in TEST_P()
/third_party/node/deps/v8/src/d8/
Dd8-platforms.cc124 : platform_(std::move(platform)), rng_(random_seed) { in DelayedTasksPlatform()
315 base::RandomNumberGenerator rng_; member in v8::DelayedTasksPlatform
321 double delay_fraction = rng_.NextDouble(); in GetRandomDelayInMilliseconds()
/third_party/node/deps/v8/src/base/
Demulated-virtual-address-subspace.cc38 rng_.SetSeed(seed); in SetRandomSeed()
43 Address addr = base() + (static_cast<uint64_t>(rng_.NextInt64()) % size()); in RandomPageAddress()
Demulated-virtual-address-subspace.h125 RandomNumberGenerator rng_; in NON_EXPORTED_BASE() local
Dvirtual-address-space.cc214 rng_.SetSeed(seed); in SetRandomSeed()
221 Address addr = base() + (static_cast<uint64_t>(rng_.NextInt64()) % size()); in RandomPageAddress()
Dvirtual-address-space.h156 RandomNumberGenerator rng_; variable