Home
last modified time | relevance | path

Searched refs:uniform_upper_bound (Results 1 – 18 of 18) sorted by relevance

/external/openscreen/third_party/abseil/src/absl/random/internal/
Duniform_helper_test.cc31 using absl::random_internal::uniform_upper_bound;
58 EXPECT_EQ(uniform_upper_bound(IntervalOpenOpen, 0, 100), 99); in TEST_F()
59 EXPECT_EQ(uniform_upper_bound(IntervalClosedOpen, 0, 100), 99); in TEST_F()
60 EXPECT_EQ(uniform_upper_bound<float>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
61 EXPECT_EQ(uniform_upper_bound<float>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
62 EXPECT_EQ(uniform_upper_bound<double>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
63 EXPECT_EQ(uniform_upper_bound<double>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
65 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F()
66 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
67 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F()
[all …]
Duniform_helper.h138 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
160 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
171 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
228 uniform_upper_bound<NumType>(TagType{}, lo, hi)) {}
233 uniform_upper_bound<NumType>(IntervalClosedOpenTag(), lo, hi)) {} in UniformDistributionWrapper()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc31 using absl::random_internal::uniform_upper_bound;
58 EXPECT_EQ(uniform_upper_bound(IntervalOpenOpen, 0, 100), 99); in TEST_F()
59 EXPECT_EQ(uniform_upper_bound(IntervalClosedOpen, 0, 100), 99); in TEST_F()
60 EXPECT_EQ(uniform_upper_bound<float>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
61 EXPECT_EQ(uniform_upper_bound<float>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
62 EXPECT_EQ(uniform_upper_bound<double>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
63 EXPECT_EQ(uniform_upper_bound<double>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
65 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F()
66 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
67 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F()
[all …]
Duniform_helper.h138 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
160 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
171 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
228 uniform_upper_bound<NumType>(TagType{}, lo, hi)) {}
233 uniform_upper_bound<NumType>(IntervalClosedOpenTag(), lo, hi)) {} in UniformDistributionWrapper()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc31 using absl::random_internal::uniform_upper_bound;
58 EXPECT_EQ(uniform_upper_bound(IntervalOpenOpen, 0, 100), 99); in TEST_F()
59 EXPECT_EQ(uniform_upper_bound(IntervalClosedOpen, 0, 100), 99); in TEST_F()
60 EXPECT_EQ(uniform_upper_bound<float>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
61 EXPECT_EQ(uniform_upper_bound<float>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
62 EXPECT_EQ(uniform_upper_bound<double>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
63 EXPECT_EQ(uniform_upper_bound<double>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
65 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F()
66 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
67 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F()
[all …]
Duniform_helper.h138 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
160 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
171 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
228 uniform_upper_bound<NumType>(TagType{}, lo, hi)) {}
233 uniform_upper_bound<NumType>(IntervalClosedOpenTag(), lo, hi)) {} in UniformDistributionWrapper()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc31 using absl::random_internal::uniform_upper_bound;
58 EXPECT_EQ(uniform_upper_bound(IntervalOpenOpen, 0, 100), 99); in TEST_F()
59 EXPECT_EQ(uniform_upper_bound(IntervalClosedOpen, 0, 100), 99); in TEST_F()
60 EXPECT_EQ(uniform_upper_bound<float>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
61 EXPECT_EQ(uniform_upper_bound<float>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
62 EXPECT_EQ(uniform_upper_bound<double>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
63 EXPECT_EQ(uniform_upper_bound<double>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
65 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F()
66 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
67 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F()
[all …]
Duniform_helper.h138 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
149 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
160 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
171 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
228 uniform_upper_bound<NumType>(TagType{}, lo, hi)) {}
233 uniform_upper_bound<NumType>(IntervalClosedOpenTag(), lo, hi)) {} in UniformDistributionWrapper()
/external/abseil-cpp/absl/random/
Ddistributions_test.cc38 using absl::random_internal::uniform_upper_bound; in TEST_F()
57 EXPECT_EQ(uniform_upper_bound(IntervalOpenOpen, 0, 100), 99); in TEST_F()
58 EXPECT_EQ(uniform_upper_bound(IntervalClosedOpen, 0, 100), 99); in TEST_F()
59 EXPECT_EQ(uniform_upper_bound<float>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
60 EXPECT_EQ(uniform_upper_bound<float>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
61 EXPECT_EQ(uniform_upper_bound<double>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
62 EXPECT_EQ(uniform_upper_bound<double>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
64 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F()
65 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
66 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F()
[all …]
Ddistributions.h132 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
153 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
178 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
203 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
/external/webrtc/third_party/abseil-cpp/absl/random/
Ddistributions_test.cc38 using absl::random_internal::uniform_upper_bound; in TEST_F()
57 EXPECT_EQ(uniform_upper_bound(IntervalOpenOpen, 0, 100), 99); in TEST_F()
58 EXPECT_EQ(uniform_upper_bound(IntervalClosedOpen, 0, 100), 99); in TEST_F()
59 EXPECT_EQ(uniform_upper_bound<float>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
60 EXPECT_EQ(uniform_upper_bound<float>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
61 EXPECT_EQ(uniform_upper_bound<double>(IntervalOpenOpen, 0, 1.0), 1.0); in TEST_F()
62 EXPECT_EQ(uniform_upper_bound<double>(IntervalClosedOpen, 0, 1.0), 1.0); in TEST_F()
64 EXPECT_EQ(uniform_upper_bound(IntervalOpenClosed, 0, 100), 100); in TEST_F()
65 EXPECT_EQ(uniform_upper_bound(IntervalClosedClosed, 0, 100), 100); in TEST_F()
66 EXPECT_GT(uniform_upper_bound<float>(IntervalOpenClosed, 0, 1.0), 1.0); in TEST_F()
[all …]
Ddistributions.h132 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
153 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
178 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
203 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Duniform_helper.h115 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
126 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
137 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
148 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
164 uniform_upper_bound<NumType>(TagType{}, lo, hi)) {}
169 uniform_upper_bound<NumType>(IntervalClosedOpenTag(), lo, hi)) {} in UniformDistributionWrapper()
/external/abseil-cpp/absl/random/internal/
Duniform_helper.h115 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
126 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
137 uniform_upper_bound(Tag, IntType, IntType b) { in uniform_upper_bound() function
148 uniform_upper_bound(Tag, FloatType, FloatType b) { in uniform_upper_bound() function
164 uniform_upper_bound<NumType>(TagType{}, lo, hi)) {}
169 uniform_upper_bound<NumType>(IntervalClosedOpenTag(), lo, hi)) {} in UniformDistributionWrapper()
/external/openscreen/third_party/abseil/src/absl/random/
Ddistributions.h130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
174 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
198 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
/external/libtextclassifier/abseil-cpp/absl/random/
Ddistributions.h130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
174 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
198 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
/external/angle/third_party/abseil-cpp/absl/random/
Ddistributions.h130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
174 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
198 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Ddistributions.h130 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
150 auto b = random_internal::uniform_upper_bound(tag, lo, hi); in Uniform()
174 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()
198 auto b = random_internal::uniform_upper_bound<return_t>(tag, lo, hi); in Uniform()