/external/webrtc/third_party/abseil-cpp/absl/random/ |
D | distributions.h | 128 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 129 using format_t = random_internal::DistributionFormatTraits<distribution_t>; in Uniform() 131 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 132 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 135 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() 148 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 149 using format_t = random_internal::DistributionFormatTraits<distribution_t>; in Uniform() 152 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 153 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 156 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() [all …]
|
D | mock_distributions.h | 78 using MockUniform = random_internal::MockOverloadSet< 79 random_internal::UniformDistributionWrapper<R>, 105 random_internal::MockOverloadSet<absl::bernoulli_distribution, 129 random_internal::MockOverloadSet<absl::beta_distribution<RealType>, 155 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>, 180 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>, 205 using MockLogUniform = random_internal::MockOverloadSet< 230 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>, 254 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
|
/external/abseil-cpp/absl/random/ |
D | distributions.h | 128 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 129 using format_t = random_internal::DistributionFormatTraits<distribution_t>; in Uniform() 131 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 132 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 135 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() 148 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 149 using format_t = random_internal::DistributionFormatTraits<distribution_t>; in Uniform() 152 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 153 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 156 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() [all …]
|
D | mock_distributions.h | 78 using MockUniform = random_internal::MockOverloadSet< 79 random_internal::UniformDistributionWrapper<R>, 105 random_internal::MockOverloadSet<absl::bernoulli_distribution, 129 random_internal::MockOverloadSet<absl::beta_distribution<RealType>, 155 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>, 180 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>, 205 using MockLogUniform = random_internal::MockOverloadSet< 230 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>, 254 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
|
/external/openscreen/third_party/abseil/src/absl/random/ |
D | distributions.h | 127 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 129 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 131 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 133 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() 146 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 149 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 151 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 153 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() [all …]
|
D | mock_distributions.h | 83 using MockUniform = random_internal::MockOverloadSet< 84 random_internal::UniformDistributionWrapper<R>, 110 random_internal::MockOverloadSet<absl::bernoulli_distribution, 134 random_internal::MockOverloadSet<absl::beta_distribution<RealType>, 160 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>, 185 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>, 210 using MockLogUniform = random_internal::MockOverloadSet< 235 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>, 259 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
|
/external/libtextclassifier/abseil-cpp/absl/random/ |
D | distributions.h | 127 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 129 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 131 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 133 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() 146 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 149 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 151 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 153 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() [all …]
|
D | mock_distributions.h | 83 using MockUniform = random_internal::MockOverloadSet< 84 random_internal::UniformDistributionWrapper<R>, 110 random_internal::MockOverloadSet<absl::bernoulli_distribution, 134 random_internal::MockOverloadSet<absl::beta_distribution<RealType>, 160 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>, 185 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>, 210 using MockLogUniform = random_internal::MockOverloadSet< 235 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>, 259 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
|
/external/angle/third_party/abseil-cpp/absl/random/ |
D | distributions.h | 127 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 129 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 131 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 133 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() 146 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 149 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 151 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 153 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() [all …]
|
D | mock_distributions.h | 83 using MockUniform = random_internal::MockOverloadSet< 84 random_internal::UniformDistributionWrapper<R>, 110 random_internal::MockOverloadSet<absl::bernoulli_distribution, 134 random_internal::MockOverloadSet<absl::beta_distribution<RealType>, 160 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>, 185 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>, 210 using MockLogUniform = random_internal::MockOverloadSet< 235 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>, 259 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
|
D | gaussian_distribution.h | 38 namespace random_internal { 79 random_internal::FastUniformBits<uint64_t> fast_u64_; 87 class gaussian_distribution : random_internal::gaussian_distribution_base { 185 auto saver = random_internal::make_ostream_state_saver(os); 186 os.precision(random_internal::stream_precision_helper<RealType>::kPrecision); 198 auto saver = random_internal::make_istream_state_saver(is); 199 auto mean = random_internal::read_floating_point<result_type>(is); 201 auto stddev = random_internal::read_floating_point<result_type>(is); 208 namespace random_internal { 212 using random_internal::GeneratePositiveTag; in zignor_fallback() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/ |
D | distributions.h | 127 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 129 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 131 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 133 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() 146 using distribution_t = random_internal::UniformDistributionWrapper<R>; in Uniform() 149 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform() 150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform() 151 if (!random_internal::is_uniform_range_valid(a, b)) return lo; in Uniform() 153 return random_internal::DistributionCaller<gen_t>::template Call< in Uniform() [all …]
|
D | mock_distributions.h | 83 using MockUniform = random_internal::MockOverloadSet< 84 random_internal::UniformDistributionWrapper<R>, 110 random_internal::MockOverloadSet<absl::bernoulli_distribution, 134 random_internal::MockOverloadSet<absl::beta_distribution<RealType>, 160 random_internal::MockOverloadSet<absl::exponential_distribution<RealType>, 185 random_internal::MockOverloadSet<absl::gaussian_distribution<RealType>, 210 using MockLogUniform = random_internal::MockOverloadSet< 235 random_internal::MockOverloadSet<absl::poisson_distribution<IntType>, 259 random_internal::MockOverloadSet<absl::zipf_distribution<IntType>,
|
/external/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 44 EXPECT_EQ(0, absl::random_internal::SeedBitsToBlocks(0)); in TEST() 45 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(1)); in TEST() 46 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(31)); in TEST() 47 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(32)); in TEST() 48 EXPECT_EQ(2, absl::random_internal::SeedBitsToBlocks(33)); in TEST() 49 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(127)); in TEST() 50 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(128)); in TEST() 51 EXPECT_EQ(5, absl::random_internal::SeedBitsToBlocks(129)); in TEST() 59 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() 61 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() [all …]
|
D | distribution_test_util_test.cc | 37 auto value = absl::random_internal::erfinv(data.z); in TEST() 121 auto value = absl::random_internal::BetaIncomplete(data.x, data.p, data.q); in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 153 EXPECT_NEAR(absl::random_internal::MaxErrorTolerance(entry.first), in TEST() 159 absl::random_internal::DistributionMoments m; in TEST() 163 EXPECT_NEAR(absl::random_internal::ZScore(5, m), 0, 1e-12); in TEST() 168 EXPECT_NEAR(absl::random_internal::ZScore(0, m), 0, 1e-12); in TEST() 173 EXPECT_NEAR(absl::random_internal::ZScore(-5, m), 0, 1e-12); in TEST() 177 absl::random_internal::DistributionMoments m; in TEST() 181 EXPECT_NEAR(absl::random_internal::ZScore(4, m), 10, 1e-12); in TEST() [all …]
|
/external/openscreen/third_party/abseil/src/absl/random/internal/ |
D | seed_material_test.cc | 44 EXPECT_EQ(0, absl::random_internal::SeedBitsToBlocks(0)); in TEST() 45 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(1)); in TEST() 46 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(31)); in TEST() 47 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(32)); in TEST() 48 EXPECT_EQ(2, absl::random_internal::SeedBitsToBlocks(33)); in TEST() 49 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(127)); in TEST() 50 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(128)); in TEST() 51 EXPECT_EQ(5, absl::random_internal::SeedBitsToBlocks(129)); in TEST() 59 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() 61 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() [all …]
|
D | distribution_test_util_test.cc | 37 auto value = absl::random_internal::erfinv(data.z); in TEST() 121 auto value = absl::random_internal::BetaIncomplete(data.x, data.p, data.q); in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 153 EXPECT_NEAR(absl::random_internal::MaxErrorTolerance(entry.first), in TEST() 159 absl::random_internal::DistributionMoments m; in TEST() 163 EXPECT_NEAR(absl::random_internal::ZScore(5, m), 0, 1e-12); in TEST() 168 EXPECT_NEAR(absl::random_internal::ZScore(0, m), 0, 1e-12); in TEST() 173 EXPECT_NEAR(absl::random_internal::ZScore(-5, m), 0, 1e-12); in TEST() 177 absl::random_internal::DistributionMoments m; in TEST() 181 EXPECT_NEAR(absl::random_internal::ZScore(4, m), 10, 1e-12); in TEST() [all …]
|
/external/webrtc/third_party/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 44 EXPECT_EQ(0, absl::random_internal::SeedBitsToBlocks(0)); in TEST() 45 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(1)); in TEST() 46 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(31)); in TEST() 47 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(32)); in TEST() 48 EXPECT_EQ(2, absl::random_internal::SeedBitsToBlocks(33)); in TEST() 49 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(127)); in TEST() 50 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(128)); in TEST() 51 EXPECT_EQ(5, absl::random_internal::SeedBitsToBlocks(129)); in TEST() 59 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() 61 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() [all …]
|
D | distribution_test_util_test.cc | 37 auto value = absl::random_internal::erfinv(data.z); in TEST() 121 auto value = absl::random_internal::BetaIncomplete(data.x, data.p, data.q); in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 153 EXPECT_NEAR(absl::random_internal::MaxErrorTolerance(entry.first), in TEST() 159 absl::random_internal::DistributionMoments m; in TEST() 163 EXPECT_NEAR(absl::random_internal::ZScore(5, m), 0, 1e-12); in TEST() 168 EXPECT_NEAR(absl::random_internal::ZScore(0, m), 0, 1e-12); in TEST() 173 EXPECT_NEAR(absl::random_internal::ZScore(-5, m), 0, 1e-12); in TEST() 177 absl::random_internal::DistributionMoments m; in TEST() 181 EXPECT_NEAR(absl::random_internal::ZScore(4, m), 10, 1e-12); in TEST() [all …]
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 44 EXPECT_EQ(0, absl::random_internal::SeedBitsToBlocks(0)); in TEST() 45 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(1)); in TEST() 46 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(31)); in TEST() 47 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(32)); in TEST() 48 EXPECT_EQ(2, absl::random_internal::SeedBitsToBlocks(33)); in TEST() 49 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(127)); in TEST() 50 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(128)); in TEST() 51 EXPECT_EQ(5, absl::random_internal::SeedBitsToBlocks(129)); in TEST() 59 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() 61 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() [all …]
|
D | distribution_test_util_test.cc | 37 auto value = absl::random_internal::erfinv(data.z); in TEST() 121 auto value = absl::random_internal::BetaIncomplete(data.x, data.p, data.q); in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 153 EXPECT_NEAR(absl::random_internal::MaxErrorTolerance(entry.first), in TEST() 159 absl::random_internal::DistributionMoments m; in TEST() 163 EXPECT_NEAR(absl::random_internal::ZScore(5, m), 0, 1e-12); in TEST() 168 EXPECT_NEAR(absl::random_internal::ZScore(0, m), 0, 1e-12); in TEST() 173 EXPECT_NEAR(absl::random_internal::ZScore(-5, m), 0, 1e-12); in TEST() 177 absl::random_internal::DistributionMoments m; in TEST() 181 EXPECT_NEAR(absl::random_internal::ZScore(4, m), 10, 1e-12); in TEST() [all …]
|
/external/libtextclassifier/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 44 EXPECT_EQ(0, absl::random_internal::SeedBitsToBlocks(0)); in TEST() 45 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(1)); in TEST() 46 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(31)); in TEST() 47 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(32)); in TEST() 48 EXPECT_EQ(2, absl::random_internal::SeedBitsToBlocks(33)); in TEST() 49 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(127)); in TEST() 50 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(128)); in TEST() 51 EXPECT_EQ(5, absl::random_internal::SeedBitsToBlocks(129)); in TEST() 59 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() 61 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() [all …]
|
D | distribution_test_util_test.cc | 37 auto value = absl::random_internal::erfinv(data.z); in TEST() 121 auto value = absl::random_internal::BetaIncomplete(data.x, data.p, data.q); in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 153 EXPECT_NEAR(absl::random_internal::MaxErrorTolerance(entry.first), in TEST() 159 absl::random_internal::DistributionMoments m; in TEST() 163 EXPECT_NEAR(absl::random_internal::ZScore(5, m), 0, 1e-12); in TEST() 168 EXPECT_NEAR(absl::random_internal::ZScore(0, m), 0, 1e-12); in TEST() 173 EXPECT_NEAR(absl::random_internal::ZScore(-5, m), 0, 1e-12); in TEST() 177 absl::random_internal::DistributionMoments m; in TEST() 181 EXPECT_NEAR(absl::random_internal::ZScore(4, m), 10, 1e-12); in TEST() [all …]
|
/external/angle/third_party/abseil-cpp/absl/random/internal/ |
D | seed_material_test.cc | 44 EXPECT_EQ(0, absl::random_internal::SeedBitsToBlocks(0)); in TEST() 45 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(1)); in TEST() 46 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(31)); in TEST() 47 EXPECT_EQ(1, absl::random_internal::SeedBitsToBlocks(32)); in TEST() 48 EXPECT_EQ(2, absl::random_internal::SeedBitsToBlocks(33)); in TEST() 49 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(127)); in TEST() 50 EXPECT_EQ(4, absl::random_internal::SeedBitsToBlocks(128)); in TEST() 51 EXPECT_EQ(5, absl::random_internal::SeedBitsToBlocks(129)); in TEST() 59 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() 61 EXPECT_TRUE(absl::random_internal::ReadSeedMaterialFromOSEntropy( in TEST() [all …]
|
D | distribution_test_util_test.cc | 37 auto value = absl::random_internal::erfinv(data.z); in TEST() 121 auto value = absl::random_internal::BetaIncomplete(data.x, data.p, data.q); in TEST() 133 absl::random_internal::BetaIncompleteInv(data.p, data.q, data.alpha); in TEST() 153 EXPECT_NEAR(absl::random_internal::MaxErrorTolerance(entry.first), in TEST() 159 absl::random_internal::DistributionMoments m; in TEST() 163 EXPECT_NEAR(absl::random_internal::ZScore(5, m), 0, 1e-12); in TEST() 168 EXPECT_NEAR(absl::random_internal::ZScore(0, m), 0, 1e-12); in TEST() 173 EXPECT_NEAR(absl::random_internal::ZScore(-5, m), 0, 1e-12); in TEST() 177 absl::random_internal::DistributionMoments m; in TEST() 181 EXPECT_NEAR(absl::random_internal::ZScore(4, m), 10, 1e-12); in TEST() [all …]
|