Home
last modified time | relevance | path

Searched refs:uniform_int_distribution (Results 1 – 25 of 198) sorted by relevance

12345678

/third_party/abseil-cpp/absl/random/
Duniform_int_distribution.h58 class uniform_int_distribution {
68 using distribution_type = uniform_int_distribution;
94 friend class uniform_int_distribution;
105 uniform_int_distribution() : uniform_int_distribution(0) {} in uniform_int_distribution() function
107 explicit uniform_int_distribution(
112 explicit uniform_int_distribution(const param_type& param) : param_(param) {} in uniform_int_distribution() function
140 friend bool operator==(const uniform_int_distribution& a,
141 const uniform_int_distribution& b) {
144 friend bool operator!=(const uniform_int_distribution& a,
145 const uniform_int_distribution& b) {
[all …]
Duniform_int_distribution_test.cc48 typename absl::uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST()
66 absl::uniform_int_distribution<TypeParam> before(a, b); in TYPED_TEST()
72 absl::uniform_int_distribution<TypeParam> via_param(param); in TYPED_TEST()
80 absl::uniform_int_distribution<TypeParam> after(Limits::min() + 3, in TYPED_TEST()
117 EXPECT_DEBUG_DEATH({ absl::uniform_int_distribution<TypeParam> dist(10, 1); }, in TYPED_TEST()
124 absl::uniform_int_distribution<TypeParam> dist(10, 1); in TYPED_TEST()
136 typename absl::uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST()
146 absl::uniform_int_distribution<TypeParam> dist(param); in TYPED_TEST()
191 absl::uniform_int_distribution<TypeParam> dist(min, max); in TYPED_TEST()
228 absl::uniform_int_distribution<int32_t> dist(0, 4); in TEST()
[all …]
Dbenchmarks.cc263 BENCHMARK_TEMPLATE(BM_Dist, Engine, std::uniform_int_distribution<int32_t>); \
264 BENCHMARK_TEMPLATE(BM_Dist, Engine, std::uniform_int_distribution<int64_t>); \
266 absl::uniform_int_distribution<int32_t>); \
268 absl::uniform_int_distribution<int64_t>); \
270 std::uniform_int_distribution<int32_t>); \
272 std::uniform_int_distribution<int64_t>); \
274 absl::uniform_int_distribution<int32_t>); \
276 absl::uniform_int_distribution<int64_t>); \
286 absl::uniform_int_distribution<int64_t>) \
299 std::uniform_int_distribution<int32_t>); \
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
Duniform_int_distribution.h58 class uniform_int_distribution {
68 using distribution_type = uniform_int_distribution;
94 friend class uniform_int_distribution;
105 uniform_int_distribution() : uniform_int_distribution(0) {} in uniform_int_distribution() function
107 explicit uniform_int_distribution(
112 explicit uniform_int_distribution(const param_type& param) : param_(param) {} in uniform_int_distribution() function
140 friend bool operator==(const uniform_int_distribution& a,
141 const uniform_int_distribution& b) {
144 friend bool operator!=(const uniform_int_distribution& a,
145 const uniform_int_distribution& b) {
[all …]
Duniform_int_distribution_test.cc48 typename absl::uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST()
66 absl::uniform_int_distribution<TypeParam> before(a, b); in TYPED_TEST()
72 absl::uniform_int_distribution<TypeParam> via_param(param); in TYPED_TEST()
80 absl::uniform_int_distribution<TypeParam> after(Limits::min() + 3, in TYPED_TEST()
117 EXPECT_DEBUG_DEATH({ absl::uniform_int_distribution<TypeParam> dist(10, 1); }, in TYPED_TEST()
124 absl::uniform_int_distribution<TypeParam> dist(10, 1); in TYPED_TEST()
136 typename absl::uniform_int_distribution<TypeParam>::param_type; in TYPED_TEST()
146 absl::uniform_int_distribution<TypeParam> dist(param); in TYPED_TEST()
191 absl::uniform_int_distribution<TypeParam> dist(min, max); in TYPED_TEST()
228 absl::uniform_int_distribution<int32_t> dist(0, 4); in TEST()
[all …]
Dbenchmarks.cc263 BENCHMARK_TEMPLATE(BM_Dist, Engine, std::uniform_int_distribution<int32_t>); \
264 BENCHMARK_TEMPLATE(BM_Dist, Engine, std::uniform_int_distribution<int64_t>); \
266 absl::uniform_int_distribution<int32_t>); \
268 absl::uniform_int_distribution<int64_t>); \
270 std::uniform_int_distribution<int32_t>); \
272 std::uniform_int_distribution<int64_t>); \
274 absl::uniform_int_distribution<int32_t>); \
276 absl::uniform_int_distribution<int64_t>); \
286 absl::uniform_int_distribution<int64_t>) \
299 std::uniform_int_distribution<int32_t>); \
[all …]
/third_party/boost/boost/random/
Duniform_int_distribution.hpp261 class uniform_int_distribution class
271 typedef uniform_int_distribution distribution_type;
332 explicit uniform_int_distribution( in uniform_int_distribution() function in boost::random::uniform_int_distribution
340 explicit uniform_int_distribution(const param_type& parm) in uniform_int_distribution() function in boost::random::uniform_int_distribution
382 BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR(os, uniform_int_distribution, ud) in BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR() argument
389 BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR(is, uniform_int_distribution, ud) in BOOST_RANDOM_DETAIL_ISTREAM_OPERATOR() argument
402 BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR(uniform_int_distribution, lhs, rhs) in BOOST_RANDOM_DETAIL_EQUALITY_OPERATOR() argument
409 BOOST_RANDOM_DETAIL_INEQUALITY_OPERATOR(uniform_int_distribution)
Duniform_int.hpp36 class uniform_int : public random::uniform_int_distribution<IntType>
38 typedef random::uniform_int_distribution<IntType> base_type;
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dpseudo_random_generator.cpp28 return std::uniform_int_distribution<uint32_t>(0, bound - 1)(mt_); in RandomUint32()
33 return std::uniform_int_distribution<uint64_t>(0, bound - 1)(mt_); in RandomUint64()
37 return static_cast<bool>(std::uniform_int_distribution<>(0, 1)(mt_)); in RandomBool()
/third_party/spirv-tools/source/fuzz/
Dpseudo_random_generator.cpp28 return std::uniform_int_distribution<uint32_t>(0, bound - 1)(mt_); in RandomUint32()
33 return std::uniform_int_distribution<uint64_t>(0, bound - 1)(mt_); in RandomUint64()
37 return static_cast<bool>(std::uniform_int_distribution<>(0, 1)(mt_)); in RandomBool()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dpseudo_random_generator.cpp28 return std::uniform_int_distribution<uint32_t>(0, bound - 1)(mt_); in RandomUint32()
33 return std::uniform_int_distribution<uint64_t>(0, bound - 1)(mt_); in RandomUint64()
37 return static_cast<bool>(std::uniform_int_distribution<>(0, 1)(mt_)); in RandomBool()
/third_party/flutter/skia/third_party/externals/angle2/util/
Drandom_utils.cpp44 std::uniform_int_distribution<int> intDistribution; in randomInt()
50 std::uniform_int_distribution<int> intDistribution(min, max); in randomIntBetween()
56 std::uniform_int_distribution<unsigned int> uintDistribution; in randomUInt()
/third_party/skia/third_party/externals/angle2/util/
Drandom_utils.cpp44 std::uniform_int_distribution<int> intDistribution; in randomInt()
50 std::uniform_int_distribution<int> intDistribution(min, max); in randomIntBetween()
56 std::uniform_int_distribution<unsigned int> uintDistribution; in randomUInt()
/third_party/boost/boost/compute/random/
Duniform_int_distribution.hpp38 class uniform_int_distribution class
45 explicit uniform_int_distribution(IntType a = 0, in uniform_int_distribution() function in boost::compute::uniform_int_distribution
53 ~uniform_int_distribution() in ~uniform_int_distribution()
/third_party/boost/libs/compute/include/boost/compute/random/
Duniform_int_distribution.hpp38 class uniform_int_distribution class
45 explicit uniform_int_distribution(IntType a = 0, in uniform_int_distribution() function in boost::compute::uniform_int_distribution
53 ~uniform_int_distribution() in ~uniform_int_distribution()
/third_party/boost/libs/random/test/
Dtest_uniform_int_distribution.cpp15 #define BOOST_RANDOM_DISTRIBUTION boost::random::uniform_int_distribution<>
40 #define BOOST_RANDOM_UNIFORM_INT boost::random::uniform_int_distribution
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/kernels/image/
Drandom_solarize_op.cc34 uint8_t threshold_min = std::uniform_int_distribution(threshold_min_, threshold_max_)(rnd_); in Compute()
35 uint8_t threshold_max = std::uniform_int_distribution(threshold_min_, threshold_max_)(rnd_); in Compute()
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
Dhash_generator_testing.cc53 std::uniform_int_distribution<short> chars(0x20, 0x7E); in operator ()()
64 std::uniform_int_distribution<short> chars(0x20, 0x7E); in operator ()()
/third_party/abseil-cpp/absl/container/internal/
Dhash_generator_testing.cc53 std::uniform_int_distribution<short> chars(0x20, 0x7E); in operator ()()
64 std::uniform_int_distribution<short> chars(0x20, 0x7E); in operator ()()
Dhash_generator_testing.h71 std::uniform_int_distribution<T> dist;
79 std::uniform_int_distribution<typename std::underlying_type<Enum>::type>
92 std::uniform_int_distribution<
/third_party/boost/libs/compute/test/
Dtest_uniform_int_distribution.cpp38 boost::compute::uniform_int_distribution<uint_> distribution(0, 1); in BOOST_AUTO_TEST_CASE()
59 compute::uniform_int_distribution<int> d(1, 10); in BOOST_AUTO_TEST_CASE()
/third_party/re2/re2/testing/
Dregexp_generator.cc144 std::uniform_int_distribution<int> random_stop(0, maxatoms_ - atoms); in GenerateRandomPostfix()
145 std::uniform_int_distribution<int> random_bit(0, 1); in GenerateRandomPostfix()
146 std::uniform_int_distribution<int> random_ops_index( in GenerateRandomPostfix()
148 std::uniform_int_distribution<int> random_atoms_index( in GenerateRandomPostfix()
Dstring_generator.cc68 std::uniform_int_distribution<int> random_len(0, maxlen_); in RandomDigits()
69 std::uniform_int_distribution<int> random_alphabet_index( in RandomDigits()
/third_party/skia/third_party/externals/abseil-cpp/absl/numeric/
Dint128_benchmark.cc41 std::uniform_int_distribution<H> uniform_h; in GetRandomClass128SampleUniformDivisor()
81 std::uniform_int_distribution<H> uniform_h; in GetRandomClass128SampleSmallDivisor()
118 std::uniform_int_distribution<uint64_t> uniform_uint64; in GetRandomClass128Sample()
163 std::uniform_int_distribution<H> dist64_;
214 std::uniform_int_distribution<H> uniform_int64; in GetRandomIntrinsic128SampleSmallDivisor()
/third_party/abseil-cpp/absl/numeric/
Dint128_benchmark.cc41 std::uniform_int_distribution<H> uniform_h; in GetRandomClass128SampleUniformDivisor()
81 std::uniform_int_distribution<H> uniform_h; in GetRandomClass128SampleSmallDivisor()
118 std::uniform_int_distribution<uint64_t> uniform_uint64; in GetRandomClass128Sample()
163 std::uniform_int_distribution<H> dist64_;
214 std::uniform_int_distribution<H> uniform_int64; in GetRandomIntrinsic128SampleSmallDivisor()

12345678