| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/cert/ |
| H A D | msc51-cpp.cpp | 24 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 D | replace-random-shuffle.rst | 24 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 D | default.pass.cpp | 26 std::mt19937 e1; in test1() 27 std::mt19937 e2(std::mt19937::default_seed); in test1()
|
| H A D | discard.pass.cpp | 26 std::mt19937 e1; in test1() 27 std::mt19937 e2 = e1; in test1()
|
| H A D | seed_sseq.pass.cpp | 28 std::mt19937 e1; in test1() 29 std::mt19937 e2(sseq); in test1()
|
| H A D | ctor_result_type.pass.cpp | 141 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 D | ReservoirSamplerTest.cpp | 16 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 D | eval.pass.cpp | 35 typedef std::mt19937 G; in main() 50 typedef std::mt19937 G; in main() 65 typedef std::mt19937 G; in main()
|
| H A D | eval_param.pass.cpp | 36 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 D | eval.pass.cpp | 75 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 D | msc51-cpp.rst | 22 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 D | eval.pass.cpp | 55 typedef std::mt19937 G; in main() 72 typedef std::mt19937 G; in main() 89 typedef std::mt19937 G; in main()
|
| H A D | eval_param.pass.cpp | 56 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 D | eval.pass.cpp | 37 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 D | eval_param.pass.cpp | 38 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 D | eval.pass.cpp | 31 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 D | eval.pass.cpp | 37 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 D | eval_param.pass.cpp | 38 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 D | eval.pass.cpp | 38 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 D | eval_param.pass.cpp | 38 typedef std::mt19937 G; in main() 79 typedef std::mt19937 G; in main() 120 typedef std::mt19937 G; in main()
|
| H A D | eval.pass.cpp | 37 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 D | eval.pass.cpp | 75 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 D | mt19937.pass.cpp | 25 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 D | eval.pass.cpp | 38 typedef std::mt19937 G; in main() 81 typedef std::mt19937 G; in main() 124 typedef std::mt19937 G; in main()
|
| H A D | eval_param.pass.cpp | 39 typedef std::mt19937 G; in main() 84 typedef std::mt19937 G; in main() 129 typedef std::mt19937 G; in main()
|