Searched refs:PopulationIterator (Results 1 – 4 of 4) sorted by relevance
/external/libcxx/test/std/experimental/algorithms/alg.random.sample/ |
D | sample.pass.cpp | 52 typedef PopulationIteratorType<PopulationItem *> PopulationIterator; in test() typedef 57 PopulationIterator>::iterator_category> Expectations; in test() 64 end = std::experimental::sample(PopulationIterator(ia), in test() 65 PopulationIterator(ia + is), in test() 69 end = std::experimental::sample(PopulationIterator(ia), in test() 70 PopulationIterator(ia + is), in test() 79 typedef PopulationIteratorType<PopulationItem *> PopulationIterator; in test_empty_population() typedef 86 std::experimental::sample(PopulationIterator(ia), PopulationIterator(ia), in test_empty_population() 94 typedef PopulationIteratorType<PopulationItem *> PopulationIterator; in test_empty_sample() typedef 101 std::experimental::sample(PopulationIterator(ia), PopulationIterator(ia + is), in test_empty_sample() [all …]
|
D | sample.fail.cpp | 24 template <class PopulationIterator, class SampleIterator> void test() { in test() 30 std::experimental::sample(PopulationIterator(ia), PopulationIterator(ia + is), in test()
|
D | sample.stable.pass.cpp | 26 template <class PopulationIterator, class SampleIterator> 32 PopulationIterator first(ia); in test_stability() 33 PopulationIterator last(ia + kPopulationSize); in test_stability()
|
/external/libcxx/include/experimental/ |
D | algorithm | 26 template <class PopulationIterator, class SampleIterator, class Distance, 28 SampleIterator sample(PopulationIterator first, PopulationIterator last,
|