/third_party/abseil-cpp/absl/random/ |
D | uniform_int_distribution.h | 58 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 …]
|
D | uniform_int_distribution_test.cc | 48 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 …]
|
D | benchmarks.cc | 263 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/ |
D | uniform_int_distribution.h | 58 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 …]
|
D | uniform_int_distribution_test.cc | 48 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 …]
|
D | benchmarks.cc | 263 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/ |
D | uniform_int_distribution.hpp | 261 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)
|
D | uniform_int.hpp | 36 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/ |
D | pseudo_random_generator.cpp | 28 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/ |
D | pseudo_random_generator.cpp | 28 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/ |
D | pseudo_random_generator.cpp | 28 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/ |
D | random_utils.cpp | 44 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/ |
D | random_utils.cpp | 44 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/ |
D | uniform_int_distribution.hpp | 38 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/ |
D | uniform_int_distribution.hpp | 38 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/ |
D | test_uniform_int_distribution.cpp | 15 #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/ |
D | random_solarize_op.cc | 34 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/ |
D | hash_generator_testing.cc | 53 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/ |
D | hash_generator_testing.cc | 53 std::uniform_int_distribution<short> chars(0x20, 0x7E); in operator ()() 64 std::uniform_int_distribution<short> chars(0x20, 0x7E); in operator ()()
|
D | hash_generator_testing.h | 71 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/ |
D | test_uniform_int_distribution.cpp | 38 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/ |
D | regexp_generator.cc | 144 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()
|
D | string_generator.cc | 68 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/ |
D | int128_benchmark.cc | 41 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/ |
D | int128_benchmark.cc | 41 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()
|