/third_party/boost/boost/range/algorithm/ |
D | random_shuffle.hpp | 52 inline void random_shuffle(RandomIt first, RandomIt last) in random_shuffle() function 84 inline void random_shuffle(RandomIt first, RandomIt last, Generator& gen) in random_shuffle() function 91 using std::random_shuffle; 103 inline RandomAccessRange& random_shuffle(RandomAccessRange& rng) in random_shuffle() function 106 detail::random_shuffle(boost::begin(rng), boost::end(rng)); in random_shuffle() 112 inline const RandomAccessRange& random_shuffle(const RandomAccessRange& rng) in random_shuffle() function 115 detail::random_shuffle(boost::begin(rng), boost::end(rng)); in random_shuffle() 121 inline RandomAccessRange& random_shuffle(RandomAccessRange& rng, Generator& gen) in random_shuffle() function 124 detail::random_shuffle(boost::begin(rng), boost::end(rng), gen); in random_shuffle() 130 inline const RandomAccessRange& random_shuffle(const RandomAccessRange& rng, Generator& gen) in random_shuffle() function [all …]
|
/third_party/boost/libs/range/doc/reference/algorithm/ |
D | random_shuffle.qbk | 6 [section:random_shuffle random_shuffle] 12 RandomAccessRange& random_shuffle(RandomAccessRange& rng); 15 const RandomAccessRange& random_shuffle(const RandomAccessRange& rng); 18 RandomAccessRange& random_shuffle(RandomAccessRange& rng, Generator& gen); 21 const RandomAccessRange& random_shuffle(const RandomAccessRange& rng, Generator& gen); 26 …random_shuffle` randomly rearranges the elements in `rng`. The versions of `random_shuffle` that d… 30 Defined in the header file `boost/range/algorithm/random_shuffle.hpp`
|
/third_party/boost/libs/range/test/algorithm_test/ |
D | random_shuffle.cpp | 101 boost::random_shuffle(test); in test_random_shuffle_nogen_impl() 117 boost::random_shuffle(boost::make_iterator_range(test2)); in test_random_shuffle_nogen_impl() 129 boost::random_shuffle(cont, gen); in test_random_shuffle_gen_impl() 140 boost::random_shuffle(boost::make_iterator_range(cont2), gen2); in test_random_shuffle_gen_impl() 152 boost::random_shuffle(cont); in test_random_shuffle_impl()
|
/third_party/boost/libs/config/test/ |
D | boost_no_cxx98_random_shuffle.ipp | 9 // TITLE: std::random_shuffle 10 // DESCRIPTION: The std lib has random_shuffle. 19 std::random_shuffle(&my_array[0], &my_array[9] );
|
/third_party/boost/libs/mpi/test/ |
D | graph_topology_test.cpp | 37 template<typename RandomIt> void random_shuffle( RandomIt first, RandomIt last ) in random_shuffle() function 44 using std::random_shuffle; 97 ::random_shuffle(graph_alt_index_vec.begin(), graph_alt_index_vec.end()); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/random/test/ |
D | test_old_uniform_int_distribution.cpp | 71 std::random_shuffle(referenceVec.begin(), referenceVec.end(), referenceRand); in BOOST_AUTO_TEST_CASE() 72 std::random_shuffle(testVec.begin(), testVec.end(), testRand); in BOOST_AUTO_TEST_CASE()
|
D | test_random_number_generator.cpp | 33 std::random_shuffle(testVec.begin(), testVec.end(), generator); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/compute/include/boost/compute/algorithm/ |
D | random_shuffle.hpp | 41 inline void random_shuffle(Iterator first, in random_shuffle() function 61 std::random_shuffle(random_indices.begin(), random_indices.end()); in random_shuffle()
|
/third_party/boost/boost/compute/algorithm/ |
D | random_shuffle.hpp | 41 inline void random_shuffle(Iterator first, in random_shuffle() function 61 std::random_shuffle(random_indices.begin(), random_indices.end()); in random_shuffle()
|
/third_party/boost/libs/heap/test/ |
D | common_heap_tests.hpp | 26 void random_shuffle(RandomIt first, RandomIt last) in random_shuffle() function 41 using std::random_shuffle; 158 random_shuffle(shuffled.begin(), shuffled.end()); in pri_queue_test_random_push() 237 random_shuffle(shuffled.begin(), shuffled.end()); in pri_queue_test_swap() 255 random_shuffle(shuffled.begin(), shuffled.end()); in pri_queue_test_iterators() 284 random_shuffle(shuffled.begin(), shuffled.end()); in pri_queue_test_ordered_iterators()
|
D | merge_heap_tests.hpp | 14 random_shuffle(data.begin(), data.end()); \
|
/third_party/boost/libs/phoenix/test/algorithm/ |
D | transformation2.cpp | 58 using boost::phoenix::random_shuffle; in random_shuffle_test() 61 random_shuffle(arg1)(array); in random_shuffle_test()
|
/third_party/boost/libs/container/bench/ |
D | bench_set.hpp | 47 void random_shuffle( RandomIt first, RandomIt last ) in random_shuffle() function 79 ::random_shuffle(random_range_int.begin(), random_range_int.end()); in fill_range_ints() 83 ::random_shuffle(random_unique_range_int.begin(), random_unique_range_int.end()); in fill_range_ints() 115 ::random_shuffle(random_range_string.begin(), random_range_string.end()); in fill_range_strings() 119 ::random_shuffle(random_unique_range_string.begin(), random_unique_range_string.end()); in fill_range_strings()
|
/third_party/boost/libs/move/test/ |
D | random_shuffle.hpp | 24 void random_shuffle( RandomIt first, RandomIt last ) in random_shuffle() function
|
D | adaptive_sort_test.cpp | 43 ::random_shuffle(elements.get(), elements.get() + element_count); in test_random_shuffled()
|
D | adaptive_merge_test.cpp | 44 ::random_shuffle(elements.get(), elements.get() + element_count); in test_random_shuffled()
|
D | bench_merge.cpp | 55 ::random_shuffle(elements.data(), elements.data() + L); in generate_elements() 56 ::random_shuffle(elements.data(), elements.data() + L); in generate_elements()
|
D | bench_sort.cpp | 57 ::random_shuffle(elements.data(), elements.data() + L); in generate_elements() 58 ::random_shuffle(elements.data(), elements.data() + L); in generate_elements()
|
/third_party/boost/libs/random/doc/ |
D | utilities.qbk | 12 …random_number_generator] [Adapts a __PseudoRandomNumberGenerator to work with std::random_shuffle]]
|
/third_party/boost/libs/compute/test/ |
D | test_random_shuffle.cpp | 41 bc::random_shuffle(vector.begin(), vector.end(), queue); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/boost/phoenix/stl/algorithm/ |
D | transformation.hpp | 519 struct random_shuffle struct 526 return std::random_shuffle(detail::begin_(r), detail::end_(r)); in operator ()() 532 return std::random_shuffle(detail::begin_(r), detail::end_(r), g); in operator ()() 1154 BOOST_PHOENIX_ADAPT_CALLABLE(random_shuffle, impl::random_shuffle, 1) 1155 BOOST_PHOENIX_ADAPT_CALLABLE(random_shuffle, impl::random_shuffle, 2)
|
/third_party/boost/libs/graph/example/ |
D | fibonacci_heap.cpp | 47 std::random_shuffle(w.begin(), w.end()); in main()
|
/third_party/boost/libs/property_tree/examples/ |
D | speed_test.cpp | 36 random_shuffle(shuffled_keys.begin(), shuffled_keys.end()); in prepare_keys()
|
/third_party/boost/boost/range/detail/ |
D | microsoft.hpp | 836 std::random_shuffle(boost::begin(rng), boost::end(rng)); in test_random_access() 840 std::random_shuffle(boost::begin(rng), boost::end(rng)); in test_random_access() 844 std::random_shuffle(boost::begin(rng), boost::end(rng)); in test_random_access()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/rl/ |
D | buffer_sample_cpu_kernel.h | 84 random_shuffle(indexes.begin(), indexes.end(), [&](int i) { return std::rand() % i; }); in Launch()
|