Home
last modified time | relevance | path

Searched refs:random_shuffle (Results 1 – 25 of 35) sorted by relevance

12

/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/
Dmodernize-replace-random-shuffle.cpp19 void random_shuffle(FwIt begin, FwIt end);
22 void random_shuffle(FwIt begin, FwIt end, randomFunc& randomfunc);
36 std::random_shuffle(vec.begin(), vec.end()); in main()
42 random_shuffle(vec.begin(), vec.end()); in main()
46 std::random_shuffle(vec.begin(), vec.end(), myrandom); in main()
50 random_shuffle(vec.begin(), vec.end(), myrandom); in main()
/external/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
Drandom_shuffle.pass.cpp30 std::random_shuffle(Iter(empty), Iter(empty)); in test_with_iterator()
36 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
39 std::random_shuffle(Iter(shuffled), Iter(shuffled+size)); in test_with_iterator()
51 std::random_shuffle(ia, ia+sa); in main()
55 std::random_shuffle(ia, ia+sa); in main()
Drandom_shuffle_rand.pass.cpp47 std::random_shuffle(ia, ia+sa, r); in test_with_iterator()
51 std::random_shuffle(ia, ia+sa, r); in test_with_iterator()
/external/llvm-project/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/
Drandom_shuffle.depr_in_cxx14.verify.cpp42 std::random_shuffle(&v[0], &v[1]); // expected-warning {{'random_shuffle<int *>' is deprecated}} in main()
44 …std::random_shuffle(&v[0], &v[1], r); // expected-warning {{'random_shuffle<int *, gen &>' is depr… in main()
Drandom_shuffle.cxx1z.pass.cpp45 std::random_shuffle(v.begin(), v.end()); in main()
47 std::random_shuffle(v.begin(), v.end(), r); in main()
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dmodernize-replace-random-shuffle.rst6 …k will find occurrences of ``std::random_shuffle`` and replace it with ``std::shuffle``. In C++17 …
15 std::random_shuffle(vec.begin(), vec.end());
18 std::random_shuffle(vec.begin(), vec.end(), randomFunc);
/external/libcxx/test/libcxx/algorithms/alg.modifying.operations/alg.random.shuffle/
Drandom_shuffle.depr_in_cxx14.fail.cpp47 std::random_shuffle(&v[0], &v[1]); // expected-error{{'random_shuffle<int *>' is deprecated}} in main()
49 …std::random_shuffle(&v[0], &v[1], r); // expected-error{{'random_shuffle<int *, gen &>' is depreca… in main()
Drandom_shuffle.cxx1z.pass.cpp46 std::random_shuffle(v.begin(), v.end()); in main()
48 std::random_shuffle(v.begin(), v.end(), r); in main()
/external/libcxx/test/std/algorithms/alg.modifying.operations/alg.random.shuffle/
Drandom_shuffle.pass.cpp29 std::random_shuffle(ia, ia+sa); in main()
32 std::random_shuffle(ia, ia+sa); in main()
Drandom_shuffle_rand.pass.cpp39 std::random_shuffle(ia, ia+sa, r); in main()
/external/llvm/tools/bugpoint/
DFindBugs.cpp55 std::random_shuffle(PassesToRun.begin(), PassesToRun.end()); in runManyPasses()
DListReducer.h102 std::random_shuffle(ShuffledList.begin(), ShuffledList.end()); in reduceList()
/external/tensorflow/tensorflow/python/kernel_tests/linalg/
Dlinear_operator_permutation_test.py61 perm = random_ops.random_shuffle(perm)
/external/tensorflow/tensorflow/compiler/tests/
Drandom_ops_test.py237 shuffle = random_ops.random_shuffle(x)
248 shuffle = random_ops.random_shuffle(x)
/external/tensorflow/tensorflow/python/ops/
Drandom_ops.py330 def random_shuffle(value, seed=None, name=None): function
356 return gen_random_ops.random_shuffle(
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_bitvector_test.cc115 random_shuffle(bits.begin(), bits.end()); in TestBitVector()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_performance_options.cc331 std::random_shuffle(all_run_params_.begin(), all_run_params_.end()); in Run()
/external/llvm-project/llvm/utils/gn/secondary/libcxx/src/
DBUILD.gn142 "random_shuffle.cpp",
/external/llvm/lib/Fuzzer/
DFuzzerMutate.cpp101 std::random_shuffle(Data + ShuffleStart, Data + ShuffleStart + ShuffleAmount, in Mutate_ShuffleBytes()
DFuzzerLoop.cpp345 std::random_shuffle(V->begin(), V->end(), MD.GetRand()); in ShuffleCorpus()
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dmap_test.py985 random_ops.random_shuffle([x, math_ops.square(x)])
994 random_ops.random_shuffle(x)
1003 lambda x: random_ops.random_shuffle(x, seed=37))
/external/eigen/bench/
Dbenchmark-blocking-sizes.cpp528 random_shuffle(benchmarks.begin(), benchmarks.end()); in run_benchmarks()
/external/tensorflow/tensorflow/python/keras/engine/
Ddata_adapter.py313 indices = random_ops.random_shuffle(indices)
360 return nest.map_structure(random_ops.random_shuffle, batch)
/external/llvm/unittests/ADT/
DTinyPtrVectorTest.cpp49 std::random_shuffle(TestPtrs.begin(), TestPtrs.end(), test_shuffle_rng_p); in TinyPtrVectorTest()
/external/llvm-project/libcxx/src/
DCMakeLists.txt27 random_shuffle.cpp

12