Home
last modified time | relevance | path

Searched refs:mt19937 (Results 1 – 25 of 103) sorted by relevance

12345

/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/
H A Dmsc51-cpp.cpp24 using mt19937 = mersenne_twister_engine<unsigned int, 32, 624, 397, 21, 0x9908b0df, 11, 0xffffffff,… typedef
98 std::mt19937 engine5; in f()
100 std::mt19937 engine6(1); in f()
102 std::mt19937 engine7(seed); in f()
104 std::mt19937 engine8(time(&t)); in f()
192 std::mt19937 engine2(n); in g()
200 std::mt19937 engine8(dev()); in g()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/modernize/
H A Dreplace-random-shuffle.rst24 std::shuffle(vec.begin(), vec.end(), std::mt19937(std::random_device()()));
29 Another thing is that the seeding quality of the suggested fix is quite poor: ``std::mt19937`` has …
35 std::mt19937::result_type seeds[std::mt19937::state_size];
37 std::uniform_int_distribution<typename std::mt19937::result_type> dist;
40 return std::mt19937(seq);
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.eng/rand.eng.mers/
H A Ddefault.pass.cpp26 std::mt19937 e1; in test1()
27 std::mt19937 e2(std::mt19937::default_seed); in test1()
H A Ddiscard.pass.cpp26 std::mt19937 e1; in test1()
27 std::mt19937 e2 = e1; in test1()
H A Dseed_sseq.pass.cpp28 std::mt19937 e1; in test1()
29 std::mt19937 e2(sseq); in test1()
H A Dctor_result_type.pass.cpp141 std::mt19937 e1(0); in test1()
270 test_implicit<std::mt19937, uint_fast32_t>(); in main()
/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DReservoirSamplerTest.cpp16 std::mt19937 Rand; in TEST()
23 std::mt19937 Rand; in TEST()
29 std::mt19937 Rand; in TEST()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.cauchy/
H A Deval.pass.cpp35 typedef std::mt19937 G; in main()
50 typedef std::mt19937 G; in main()
65 typedef std::mt19937 G; in main()
H A Deval_param.pass.cpp36 typedef std::mt19937 G; in main()
53 typedef std::mt19937 G; in main()
70 typedef std::mt19937 G; in main()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.bin/
H A Deval.pass.cpp75 typedef std::mt19937 G; in test2()
117 typedef std::mt19937 G; in test3()
159 typedef std::mt19937 G; in test4()
208 typedef std::mt19937 G; in test5()
257 typedef std::mt19937 G; in test6()
299 typedef std::mt19937 G; in test7()
341 std::mt19937 gen1; in test8()
342 std::mt19937 gen2; in test8()
359 typedef std::mt19937 G; in test9()
408 typedef std::mt19937 G; in test10()
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Dmsc51-cpp.rst22 std::mt19937 engine1; // Diagnose, always generate the same sequence
23 std::mt19937 engine2(1); // Diagnose
31 std::mt19937 engine3(x); // Will not warn
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.f/
H A Deval.pass.cpp55 typedef std::mt19937 G; in main()
72 typedef std::mt19937 G; in main()
89 typedef std::mt19937 G; in main()
H A Deval_param.pass.cpp56 typedef std::mt19937 G; in main()
75 typedef std::mt19937 G; in main()
94 typedef std::mt19937 G; in main()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.extreme/
H A Deval.pass.cpp37 typedef std::mt19937 G; in test1()
78 typedef std::mt19937 G; in test2()
119 typedef std::mt19937 G; in test3()
160 typedef std::mt19937 G; in test4()
H A Deval_param.pass.cpp38 typedef std::mt19937 G; in test1()
81 typedef std::mt19937 G; in test2()
124 typedef std::mt19937 G; in test3()
167 typedef std::mt19937 G; in test4()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.geo/
H A Deval.pass.cpp31 std::mt19937 engine; in test_small_inputs()
43 typedef std::mt19937 G; in test1()
85 typedef std::mt19937 G; in test2()
169 typedef std::mt19937 G; in test4()
211 typedef std::mt19937 G; in test5()
253 typedef std::mt19937 G; in test6()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.norm/rand.dist.norm.lognormal/
H A Deval.pass.cpp37 typedef std::mt19937 G; in test1()
81 typedef std::mt19937 G; in test2()
125 typedef std::mt19937 G; in test3()
169 typedef std::mt19937 G; in test4()
213 typedef std::mt19937 G; in test5()
H A Deval_param.pass.cpp38 typedef std::mt19937 G; in test1()
84 typedef std::mt19937 G; in test2()
130 typedef std::mt19937 G; in test3()
176 typedef std::mt19937 G; in test4()
222 typedef std::mt19937 G; in test5()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.exp/
H A Deval.pass.cpp38 typedef std::mt19937 G; in main()
77 typedef std::mt19937 G; in main()
116 typedef std::mt19937 G; in main()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.gamma/
H A Deval_param.pass.cpp38 typedef std::mt19937 G; in main()
79 typedef std::mt19937 G; in main()
120 typedef std::mt19937 G; in main()
H A Deval.pass.cpp37 typedef std::mt19937 G; in main()
76 typedef std::mt19937 G; in main()
115 typedef std::mt19937 G; in main()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.bern/rand.dist.bern.negbin/
H A Deval.pass.cpp75 typedef std::mt19937 G; in test2()
117 typedef std::mt19937 G; in test3()
159 typedef std::mt19937 G; in test4()
203 typedef std::mt19937 G; in test5()
245 typedef std::mt19937 G; in test6()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.predef/
H A Dmt19937.pass.cpp25 std::mt19937 e; in main()
/llvm-project-15.0.7/libcxx/test/std/numerics/rand/rand.dist/rand.dist.pois/rand.dist.pois.weibull/
H A Deval.pass.cpp38 typedef std::mt19937 G; in main()
81 typedef std::mt19937 G; in main()
124 typedef std::mt19937 G; in main()
H A Deval_param.pass.cpp39 typedef std::mt19937 G; in main()
84 typedef std::mt19937 G; in main()
129 typedef std::mt19937 G; in main()

12345