Home
last modified time | relevance | path

Searched refs:uniform_lower_bound (Results 1 – 6 of 6) sorted by relevance

/third_party/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc30 using absl::random_internal::uniform_lower_bound;
44 EXPECT_EQ(uniform_lower_bound(IntervalOpenClosed, 0, 100), 1); in TEST_F()
45 EXPECT_EQ(uniform_lower_bound(IntervalOpenOpen, 0, 100), 1); in TEST_F()
46 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F()
47 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenOpen, 0, 1.0), 0); in TEST_F()
48 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F()
49 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenOpen, 0, 1.0), 0); in TEST_F()
51 EXPECT_EQ(uniform_lower_bound(IntervalClosedClosed, 0, 100), 0); in TEST_F()
52 EXPECT_EQ(uniform_lower_bound(IntervalClosedOpen, 0, 100), 0); in TEST_F()
53 EXPECT_EQ(uniform_lower_bound<float>(IntervalClosedClosed, 0, 1.0), 0); in TEST_F()
[all …]
Duniform_helper.h107 uniform_lower_bound(Tag, IntType a, IntType) { in uniform_lower_bound() function
118 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound() function
127 uniform_lower_bound(Tag, NumType a, NumType) { in uniform_lower_bound() function
227 uniform_lower_bound<NumType>(TagType{}, lo, hi), in UniformDistributionWrapper()
232 uniform_lower_bound<NumType>(IntervalClosedOpenTag(), lo, hi), in UniformDistributionWrapper()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
Duniform_helper_test.cc30 using absl::random_internal::uniform_lower_bound;
44 EXPECT_EQ(uniform_lower_bound(IntervalOpenClosed, 0, 100), 1); in TEST_F()
45 EXPECT_EQ(uniform_lower_bound(IntervalOpenOpen, 0, 100), 1); in TEST_F()
46 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F()
47 EXPECT_GT(uniform_lower_bound<float>(IntervalOpenOpen, 0, 1.0), 0); in TEST_F()
48 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenClosed, 0, 1.0), 0); in TEST_F()
49 EXPECT_GT(uniform_lower_bound<double>(IntervalOpenOpen, 0, 1.0), 0); in TEST_F()
51 EXPECT_EQ(uniform_lower_bound(IntervalClosedClosed, 0, 100), 0); in TEST_F()
52 EXPECT_EQ(uniform_lower_bound(IntervalClosedOpen, 0, 100), 0); in TEST_F()
53 EXPECT_EQ(uniform_lower_bound<float>(IntervalClosedClosed, 0, 1.0), 0); in TEST_F()
[all …]
Duniform_helper.h107 uniform_lower_bound(Tag, IntType a, IntType) { in uniform_lower_bound() function
118 uniform_lower_bound(Tag, FloatType a, FloatType b) { in uniform_lower_bound() function
127 uniform_lower_bound(Tag, NumType a, NumType) { in uniform_lower_bound() function
227 uniform_lower_bound<NumType>(TagType{}, lo, hi), in UniformDistributionWrapper()
232 uniform_lower_bound<NumType>(IntervalClosedOpenTag(), lo, hi), in UniformDistributionWrapper()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Ddistributions.h129 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform()
149 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform()
173 auto a = random_internal::uniform_lower_bound<return_t>(tag, lo, hi); in Uniform()
197 auto a = random_internal::uniform_lower_bound<return_t>(tag, lo, hi); in Uniform()
/third_party/abseil-cpp/absl/random/
Ddistributions.h129 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform()
149 auto a = random_internal::uniform_lower_bound(tag, lo, hi); in Uniform()
173 auto a = random_internal::uniform_lower_bound<return_t>(tag, lo, hi); in Uniform()
197 auto a = random_internal::uniform_lower_bound<return_t>(tag, lo, hi); in Uniform()