Home
last modified time | relevance | path

Searched refs:random_generator (Results 1 – 25 of 57) sorted by relevance

123

/third_party/boost/libs/unordered/test/helpers/
Dfwd.hpp16 } random_generator; typedef
18 int generate(int const*, random_generator);
19 char generate(char const*, random_generator);
20 signed char generate(signed char const*, random_generator);
21 std::string generate(std::string const*, random_generator);
22 float generate(float const*, random_generator);
Drandom_values.hpp20 random_generator type_;
22 unordered_generator_set(random_generator type) : type_(type) {} in unordered_generator_set()
47 random_generator type_;
49 unordered_generator_map(random_generator type) : type_(type) {} in unordered_generator_map()
83 unordered_generator(random_generator const& type = default_generator) in unordered_generator()
95 test::random_generator const& generator = test::default_generator) in random_values()
101 test::random_generator const& generator = test::default_generator) in fill()
Dgenerators.hpp37 inline int generate(int const*, random_generator g) in generate()
47 inline char generate(char const*, random_generator) in generate() argument
53 inline signed char generate(signed char const*, random_generator) in generate() argument
59 inline std::string generate(std::string const*, random_generator g) in generate()
84 float generate(float const*, random_generator g) in generate()
/third_party/skia/third_party/externals/spirv-tools/test/fuzzers/
DCMakeLists.txt46 …fuzzer_target(TARGET spvtools_as_fuzzer SRCS spvtools_as_fuzzer.cpp random_generator.cpp LIBS ${SP…
47 …pvtools_binary_parser_fuzzer SRCS spvtools_binary_parser_fuzzer.cpp random_generator.cpp LIBS ${SP…
48 …zzer_target(TARGET spvtools_dis_fuzzer SRCS spvtools_dis_fuzzer.cpp random_generator.cpp LIBS ${SP…
49 …s_opt_legalization_fuzzer SRCS spvtools_opt_legalization_fuzzer.cpp random_generator.cpp LIBS SPIR…
50 …ols_opt_performance_fuzzer SRCS spvtools_opt_performance_fuzzer.cpp random_generator.cpp LIBS SPIR…
51 …t(TARGET spvtools_opt_size_fuzzer SRCS spvtools_opt_size_fuzzer.cpp random_generator.cpp LIBS SPIR…
52 …zzer_target(TARGET spvtools_val_fuzzer SRCS spvtools_val_fuzzer.cpp random_generator.cpp LIBS ${SP…
54 …er_target(TARGET spvtools_fuzz_fuzzer SRCS spvtools_fuzz_fuzzer.cpp random_generator.cpp LIBS SPIR…
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzzers/
DCMakeLists.txt46 …fuzzer_target(TARGET spvtools_as_fuzzer SRCS spvtools_as_fuzzer.cpp random_generator.cpp LIBS ${SP…
47 …pvtools_binary_parser_fuzzer SRCS spvtools_binary_parser_fuzzer.cpp random_generator.cpp LIBS ${SP…
48 …zzer_target(TARGET spvtools_dis_fuzzer SRCS spvtools_dis_fuzzer.cpp random_generator.cpp LIBS ${SP…
49 …s_opt_legalization_fuzzer SRCS spvtools_opt_legalization_fuzzer.cpp random_generator.cpp LIBS SPIR…
50 …ols_opt_performance_fuzzer SRCS spvtools_opt_performance_fuzzer.cpp random_generator.cpp LIBS SPIR…
51 …t(TARGET spvtools_opt_size_fuzzer SRCS spvtools_opt_size_fuzzer.cpp random_generator.cpp LIBS SPIR…
52 …zzer_target(TARGET spvtools_val_fuzzer SRCS spvtools_val_fuzzer.cpp random_generator.cpp LIBS ${SP…
54 …er_target(TARGET spvtools_fuzz_fuzzer SRCS spvtools_fuzz_fuzzer.cpp random_generator.cpp LIBS SPIR…
/third_party/boost/libs/uuid/test/
Dtest_random_generator.cpp42 boost::uuids::random_generator gen; in test_examples()
74 random_generator uuid_gen1; in main()
107 random_generator uuid_gen1; in main()
108 random_generator uuid_gen2(boost::move(uuid_gen1)); in main()
119 random_generator uuid_gen1, uuid_gen2; in main()
Dtest_bench_random.cpp105 … boost::timer::cpu_times standard = timed_generator<boost::uuids::random_generator>(count); in main()
147 auto_timed_generator_ctordtor<boost::uuids::random_generator>(GEN_LOOPS); in main()
166 auto_timed_generator_reuse<boost::uuids::random_generator>(REUSE_LOOPS); in main()
176 auto_timed_generator_novel<boost::uuids::random_generator>(GEN_LOOPS); in main()
Dtest_tagging.cpp20 : tag(boost::uuids::random_generator()()) in object()
25 : tag(boost::uuids::random_generator()()) in object()
/third_party/boost/libs/uuid/test/compile-fail/
Drandom_generator_no_copy_ctor.cpp13 boost::uuids::random_generator uuid_gen1; in main()
14 boost::uuids::random_generator uuid_gen2(uuid_gen1); in main()
Drandom_generator_no_copy_assign.cpp13 boost::uuids::random_generator uuid_gen1, uuid_gen2; in main()
/third_party/skia/third_party/externals/tint/fuzzers/
DCMakeLists.txt25 random_generator.cc
26 random_generator.h
102 random_generator.cc
103 random_generator.h
/third_party/skia/third_party/externals/tint/fuzzers/tint_spirv_tools_fuzzer/
DCMakeLists.txt17 ../random_generator.cc
30 ../random_generator.h
84 ../random_generator.cc
96 ../random_generator.h
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Drandom_cpu_kernel.cc31 std::default_random_engine random_generator, size_t start, size_t end) { in StandardNormal() argument
33 output[i] = distribution(random_generator); in StandardNormal()
58 std::default_random_engine random_generator(++seed); in LaunchStandardNormal() local
60 …(void)threads.emplace_back(std::thread(StandardNormal, output, distribution, random_generator, sta… in LaunchStandardNormal()
/third_party/boost/libs/unordered/test/unordered/
Drehash_tests.cpp45 void rehash_empty_test2(X*, test::random_generator generator) in rehash_empty_test2()
67 void rehash_empty_test3(X*, test::random_generator generator) in rehash_empty_test3()
84 template <class X> void rehash_test1(X*, test::random_generator generator) in rehash_test1()
137 template <class X> void reserve_test1(X*, test::random_generator generator) in reserve_test1()
167 template <class X> void reserve_test2(X*, test::random_generator generator) in reserve_test2()
Dload_factor_tests.cpp42 void insert_test(X*, float mlf, test::random_generator generator) in insert_test()
63 void load_factor_insert_tests(X* ptr, test::random_generator generator) in load_factor_insert_tests()
Dmerge_tests.cpp139 void merge_empty_test(X1*, X2*, test::random_generator generator) in merge_empty_test()
154 void merge_into_empty_test(X*, test::random_generator generator) in merge_into_empty_test()
170 test::random_generator generator) in merge_into_unique_keys_test()
203 test::random_generator generator) in merge_into_equiv_keys_test()
/third_party/boost/libs/unordered/test/objects/
Dtest.hpp27 object generate(object const*, random_generator);
28 movable generate(movable const*, random_generator);
30 implicitly_convertible const*, random_generator);
66 friend object generate(object const*, random_generator g) in generate()
146 friend movable generate(movable const*, random_generator g) in generate()
173 implicitly_convertible const*, random_generator g) in generate()
Dexception.hpp26 object generate(object const*, random_generator);
28 std::pair<object, object> const*, random_generator);
122 friend object generate(object const*, random_generator g) in generate()
135 std::pair<object, object> const*, random_generator g) in generate()
738 test::exception::object const* x, random_generator g) in generate()
745 random_generator g) in generate()
/third_party/boost/boost/uuid/
Drandom_generator.hpp220 typedef basic_random_generator<mt19937> random_generator; typedef
222 typedef random_generator_pure random_generator; typedef
/third_party/skia/third_party/externals/tint/fuzzers/tint_regex_fuzzer/
DCMakeLists.txt26 ../random_generator.cc
27 ../random_generator.h
/third_party/boost/libs/graph/example/
Dastar_maze.cpp45 boost::mt19937 random_generator; variable
281 random_generator, dist); in random_int()
335 random_generator.seed(std::time(0)); in main()
/third_party/boost/libs/unordered/test/exception/
Dinsert_exception_tests.cpp80 void insert_exception_test(T*, Inserter insert, test::random_generator gen) in insert_exception_test()
95 T*, Inserter insert, test::random_generator gen) in insert_rehash_exception_test()
382 void insert_range_exception_test(T*, test::random_generator gen) in insert_range_exception_test()
393 void insert_range_rehash_exception_test(T*, test::random_generator gen) in insert_range_rehash_exception_test()
Dmerge_exception_tests.cpp39 test::random_generator gen1, test::random_generator gen2) in merge_exception_test()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_context.cpp179 [](uint32_t current_depth, RandomGenerator* random_generator) -> bool { in __anond1b2b6fe0202() argument
181 return random_generator->RandomDouble() < chance; in __anond1b2b6fe0202()
186 FuzzerContext::FuzzerContext(std::unique_ptr<RandomGenerator> random_generator, in FuzzerContext() argument
188 : random_generator_(std::move(random_generator)), in FuzzerContext()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_context.cpp187 [](uint32_t current_depth, RandomGenerator* random_generator) -> bool { in __anon16e912ff0202() argument
189 return random_generator->RandomDouble() < chance; in __anon16e912ff0202()
194 FuzzerContext::FuzzerContext(std::unique_ptr<RandomGenerator> random_generator, in FuzzerContext() argument
196 : random_generator_(std::move(random_generator)), in FuzzerContext()

123