Home
last modified time | relevance | path

Searched refs:iota (Results 1 – 25 of 166) sorted by relevance

1234567

/third_party/boost/libs/compute/test/
Dtest_iota.cpp28 bc::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
31 bc::iota(vector.begin(), vector.end(), 10, queue); in BOOST_AUTO_TEST_CASE()
34 bc::iota(vector.begin() + 2, vector.end(), -5, queue); in BOOST_AUTO_TEST_CASE()
37 bc::iota(vector.begin(), vector.end() - 2, 4, queue); in BOOST_AUTO_TEST_CASE()
46 boost::compute::iota(vec.begin(), vec.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
60 bc::iota( in BOOST_AUTO_TEST_CASE()
72 bc::iota(vector.begin(), vector.end(), bc::uint_(0), queue); in BOOST_AUTO_TEST_CASE()
79 bc::iota(vector.begin(), vector.end(), bc::uint_(0), queue); in BOOST_AUTO_TEST_CASE()
86 bc::iota(vector.begin(), vector.end(), bc::uint_(0), queue); in BOOST_AUTO_TEST_CASE()
Dtest_inplace_reduce.cpp89 boost::compute::iota(vector.begin(), vector.end(), int(0), queue); in BOOST_AUTO_TEST_CASE()
99 boost::compute::iota(vector.begin(), vector.end(), int(0), queue); in BOOST_AUTO_TEST_CASE()
109 boost::compute::iota(vector.begin(), vector.end(), int(0), queue); in BOOST_AUTO_TEST_CASE()
119 boost::compute::iota(vector.begin(), vector.end(), int(0), queue); in BOOST_AUTO_TEST_CASE()
129 boost::compute::iota(vector.begin(), vector.end(), int(0), queue); in BOOST_AUTO_TEST_CASE()
Dtest_reverse.cpp31 bc::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
47 bc::iota(vector.begin(), vector.end(), 10, queue); in BOOST_AUTO_TEST_CASE()
63 bc::iota(a.begin(), a.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
Dtest_for_each.cpp27 bc::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
38 bc::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
Dtest_replace.cpp30 bc::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
40 bc::iota(a.begin(), a.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
Dtest_adjacent_difference.cpp34 compute::iota(a.begin(), a.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
69 compute::iota(a.begin(), a.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
Dtest_accumulate.cpp167 boost::compute::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
181 boost::compute::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
195 boost::compute::iota(vector.begin(), vector.end(), 0, queue); in BOOST_AUTO_TEST_CASE()
/third_party/boost/libs/range/doc/reference/algorithm_ext/
Diota.qbk6 [section:iota iota]
12 ForwardRange& iota(ForwardRange& rng, Value x);
17 `iota` traverses forward through `rng`, each element `y` in `rng` is assigned a value equivalent
22 Defined in the header file `boost/range/algorithm_ext/iota.hpp`
/third_party/boost/libs/algorithm/test/
Dinclusive_scan_test.cpp40 ba::iota(v.begin(), v.end(), 0); in basic_tests_op()
48 ba::iota(v.begin(), v.end(), 1); in basic_tests_op()
79 ba::iota(v.begin(), v.end(), 0); in basic_tests_init()
87 ba::iota(v.begin(), v.end(), 1); in basic_tests_init()
119 ba::iota(v.begin(), v.end(), 0); in basic_tests_op_init()
127 ba::iota(v.begin(), v.end(), 1); in basic_tests_op_init()
Diota_test1.cpp47 boost::algorithm::iota ( v.begin (), v.end (), 23 ); in test_ints()
51 boost::algorithm::iota ( v, 18 ); in test_ints()
84 boost::algorithm::iota(data, data, 1); // fill none in test_constexpr_iota()
87 boost::algorithm::iota(data, data + 3, 1); // fill all in test_constexpr_iota()
Dexclusive_scan_test.cpp40 ba::iota(v.begin(), v.end(), 0); in basic_tests_init()
48 ba::iota(v.begin(), v.end(), 1); in basic_tests_init()
Dtransform_inclusive_scan_test.cpp90 ba::iota(v.begin(), v.end(), 0); in basic_transform_inclusive_scan_tests()
98 ba::iota(v.begin(), v.end(), 1); in basic_transform_inclusive_scan_tests()
193 ba::iota(v.begin(), v.end(), 0); in basic_transform_inclusive_scan_init_tests()
201 ba::iota(v.begin(), v.end(), 1); in basic_transform_inclusive_scan_init_tests()
/third_party/boost/boost/algorithm/cxx11/
Diota.hpp29 BOOST_CXX14_CONSTEXPR void iota ( ForwardIterator first, ForwardIterator last, T value ) in iota() function
42 BOOST_CXX14_CONSTEXPR void iota ( Range &r, T value ) in iota() function
44 boost::algorithm::iota (boost::begin(r), boost::end(r), value); in iota()
/third_party/boost/boost/range/algorithm_ext/
Diota.hpp25 inline ForwardRange& iota( ForwardRange& rng, Value x ) in iota() function
38 inline const ForwardRange& iota( const ForwardRange& rng, Value x ) in iota() function
51 using range::iota;
/third_party/boost/libs/mpi/test/
Dgroups_test.cpp21 struct iota struct
23 iota() : state(0){}; in iota() argument
34 std::generate(grp_a_ranks.begin(),grp_a_ranks.end(),iota<int>()); in group_test() argument
/third_party/boost/libs/numeric/ublas/test/tensor/
Dtest_operators_arithmetic.cpp64 std::iota(t.begin(), t.end(), v); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
65 std::iota(t2.begin(), t2.end(), v+2); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
132 std::iota(t.begin(), t.end(), v); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
133 std::iota(t2.begin(), t2.end(), v+2); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
196 std::iota(t.begin(), t.end(), v); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
197 std::iota(t2.begin(), t2.end(), v+2); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_tensor_matrix_vector.cpp180 std::iota(r.data().begin(),r.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
215 std::iota(r.data().begin(),r.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
247 std::iota(r.data().begin(),r.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
285 std::iota(r.data().begin(),r.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
322 std::iota(r.data().begin(),r.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
381 std::iota(r.data().begin(),r.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
441 std::iota(b.data().begin(),b.data().end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_operators_comparison.cpp62 std::iota(t.begin(), t.end(), v); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
63 std::iota(t2.begin(), t2.end(), v+2); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
119 std::iota(t.begin(), t.end(), v); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
120 std::iota(t2.begin(), t2.end(), v+2); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
Dtest_functions.cpp133 std::iota(phi.begin(), phi.end(), 1ul); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
184 std::iota( pi.begin(), pi.end(), 1 ); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
197 std::iota(phia.begin(), phia.end(), 1ul); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
428 std::iota(pi.begin(), pi.end(), 1); in BOOST_FIXTURE_TEST_CASE_TEMPLATE()
/third_party/boost/libs/stl_interfaces/test/
Dbidirectional.cpp356 std::iota(first, last, 0); in main()
364 std::iota( in main()
399 std::iota(first, last, 0); in main()
408 std::iota( in main()
582 std::iota(first, last, 0); in main()
590 std::iota( in main()
Drandom_access.cpp470 std::iota(first, last, 0); in main()
478 std::iota( in main()
490 std::iota( in main()
572 std::iota(first, last, 0); in main()
581 std::iota( in main()
594 std::iota( in main()
783 std::iota(first, last, 0); in main()
791 std::iota( in main()
803 std::iota( in main()
/third_party/boost/libs/hana/include/boost/hana/detail/
Darray.hpp87 constexpr auto iota(U value) const { in iota() function
89 detail::iota(result.begin(), result.end(), value); in iota()
/third_party/boost/boost/hana/detail/
Darray.hpp87 constexpr auto iota(U value) const { in iota() function
89 detail::iota(result.begin(), result.end(), value); in iota()
/third_party/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/
Dcostmodel.cc45 std::iota(id.begin(), id.end(), size_t(0)); in SimplifyForDecreasingCommunicationForward()
68 std::iota(id.begin(), id.end(), size_t(0)); in SimplifyForDecreasingCommunicationWithPartialPara()
/third_party/mindspore/tests/ut/cpp/dataset/
Dcyclic_array_test.cc104 std::iota(arr.begin(), arr.end(), -4); in TEST_F()
113 std::iota(arr2.begin(), arr2.end() + sz, val); in TEST_F()

1234567