Home
last modified time | relevance | path

Searched refs:kTrials (Results 1 – 25 of 45) sorted by relevance

12

/external/tensorflow/tensorflow/core/lib/random/
Dsimple_philox_test.cc103 static const int kTrials = 100000; in TEST() local
104 for (int i = 0; i < kTrials; ++i) { in TEST()
111 EXPECT_LT(fabs((threshold + 0.0) / range - (count + 0.0) / kTrials), 0.005); in TEST()
122 static const int kTrials = 100000; in TEST() local
123 for (int i = 0; i < kTrials; ++i) { in TEST()
130 EXPECT_LT(fabs((threshold + 0.0) / range - (count + 0.0) / kTrials), 0.005); in TEST()
/external/angle/third_party/abseil-cpp/absl/numeric/
Dbits_test.cc108 constexpr int kTrials = 100; in TEST() local
110 for (int i = 0; i < kTrials; ++i) { in TEST()
119 for (int i = 0; i < kTrials; ++i) { in TEST()
128 for (int i = 0; i < kTrials; ++i) { in TEST()
137 for (int i = 0; i < kTrials; ++i) { in TEST()
326 constexpr int kTrials = 100; in TEST() local
328 for (int i = 0; i < kTrials; ++i) { in TEST()
333 for (int i = 0; i < kTrials; ++i) { in TEST()
338 for (int i = 0; i < kTrials; ++i) { in TEST()
343 for (int i = 0; i < kTrials; ++i) { in TEST()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc147 constexpr size_t kTrials = 10000; in TEST() local
166 for (size_t i = 0; i < kTrials; i++) { in TEST()
177 x = kTrials * (x / sum); in TEST()
Duniform_int_distribution_test.cc174 constexpr size_t kTrials = 1000; in TYPED_TEST() local
177 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
194 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Duniform_real_distribution_test.cc234 constexpr size_t kTrials = 100000; in TYPED_TEST() local
237 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
258 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Dlog_uniform_int_distribution_test.cc200 const int kTrials = 5; in TEST_P() local
202 for (int i = 0; i < kTrials; i++) { in TEST_P()
/external/angle/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc148 constexpr size_t kTrials = 10000; in TEST() local
167 for (size_t i = 0; i < kTrials; i++) { in TEST()
178 x = kTrials * (x / sum); in TEST()
Duniform_int_distribution_test.cc174 constexpr size_t kTrials = 1000; in TYPED_TEST() local
177 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
194 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Duniform_real_distribution_test.cc249 constexpr size_t kTrials = 100000; in TYPED_TEST() local
252 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
273 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Dlog_uniform_int_distribution_test.cc200 const int kTrials = 5; in TEST_P() local
202 for (int i = 0; i < kTrials; i++) { in TEST_P()
/external/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc146 constexpr size_t kTrials = 10000; in TEST() local
162 for (size_t i = 0; i < kTrials; i++) { in TEST()
173 x = kTrials * (x / sum); in TEST()
Duniform_int_distribution_test.cc169 constexpr size_t kTrials = 1000; in TYPED_TEST() local
172 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
185 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Duniform_real_distribution_test.cc229 constexpr size_t kTrials = 100000; in TYPED_TEST() local
232 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
249 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Dlog_uniform_int_distribution_test.cc196 const int kTrials = 5; in TEST_P() local
199 for (int i = 0; i < kTrials; i++) { in TEST_P()
/external/openscreen/third_party/abseil/src/absl/random/
Ddiscrete_distribution_test.cc147 constexpr size_t kTrials = 10000; in TEST() local
166 for (size_t i = 0; i < kTrials; i++) { in TEST()
177 x = kTrials * (x / sum); in TEST()
Duniform_int_distribution_test.cc174 constexpr size_t kTrials = 1000; in TYPED_TEST() local
177 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
194 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Duniform_real_distribution_test.cc234 constexpr size_t kTrials = 100000; in TYPED_TEST() local
237 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
258 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Dlog_uniform_int_distribution_test.cc200 const int kTrials = 5; in TEST_P() local
202 for (int i = 0; i < kTrials; i++) { in TEST_P()
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc146 constexpr size_t kTrials = 10000; in TEST() local
162 for (size_t i = 0; i < kTrials; i++) { in TEST()
173 x = kTrials * (x / sum); in TEST()
Duniform_int_distribution_test.cc169 constexpr size_t kTrials = 1000; in TYPED_TEST() local
172 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
185 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Duniform_real_distribution_test.cc229 constexpr size_t kTrials = 100000; in TYPED_TEST() local
232 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
249 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Dlog_uniform_int_distribution_test.cc196 const int kTrials = 5; in TEST_P() local
199 for (int i = 0; i < kTrials; i++) { in TEST_P()
/external/libtextclassifier/abseil-cpp/absl/random/
Ddiscrete_distribution_test.cc147 constexpr size_t kTrials = 10000; in TEST() local
166 for (size_t i = 0; i < kTrials; i++) { in TEST()
177 x = kTrials * (x / sum); in TEST()
Duniform_int_distribution_test.cc174 constexpr size_t kTrials = 1000; in TYPED_TEST() local
177 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
194 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()
Duniform_real_distribution_test.cc234 constexpr size_t kTrials = 100000; in TYPED_TEST() local
237 static_cast<double>(kTrials) / static_cast<double>(kBuckets); in TYPED_TEST()
258 for (size_t i = 0; i < kTrials; i++) { in TYPED_TEST()

12