Home
last modified time | relevance | path

Searched refs:index_range (Results 1 – 25 of 26) sorted by relevance

12

/third_party/boost/boost/multi_array/
Dindex_range.hpp33 class index_range { class
47 index_range() in index_range() function in boost::detail::multi_array::index_range
55 explicit index_range(index pos) in index_range() function in boost::detail::multi_array::index_range
63 explicit index_range(index start, index finish, index stride=1) in index_range() function in boost::detail::multi_array::index_range
70 index_range& start(index s) { in start()
76 index_range& finish(index f) { in finish()
82 index_range& stride(index s) { stride_ = s; return *this; } in stride()
89 index get_start(index low_index_range = index_range::from_start()) const in get_start()
101 index get_finish(index high_index_range = index_range::to_end()) const in get_finish()
123 static index_range all() in all()
[all …]
Dconcept_checks.hpp102 typedef typename Array::index_range index_range; typedef
115 index_range range;
190 typedef typename Array::index_range index_range; typedef
205 index_range range;
Dbase.hpp54 typedef detail::multi_array::index_range<index,size_type> index_range; typedef
102 typedef multi_array_types::index_range index_range; typedef in boost::detail::multi_array::multi_array_base
248 typedef typename types::index_range index_range; typedef in boost::detail::multi_array::multi_array_impl_base
426 const index_range& current_range = indices.ranges_[n]; in generate_array_view()
Dindex_gen.hpp33 typedef index_range<index,size_type> range;
/third_party/boost/libs/multi_array/test/
Ddimtest.cpp26 class index_range { class
29 index_range() in index_range() function in index_range
37 explicit index_range(Index pos) in index_range() function in index_range
45 explicit index_range(Index start, Index finish, Index stride=1) in index_range() function in index_range
52 index_range& start(Index s) { in start()
58 index_range& finish(Index f) { in finish()
64 index_range& stride(Index s) { stride_ = s; return *this; } in stride()
112 static index_range all() in all()
113 { return index_range(from_start(), to_end(), 1); } in all()
120 index_range operator-(Index shift) const in operator -()
[all …]
Dcompare.cpp51 typedef array::index_range range; in main()
69 typedef array::index_range range; in main()
128 typedef array::index_range range; in main()
Dvc_death.cpp31 typedef array::index_range irange; in main()
Dreverse_view.cpp35 typedef array::index_range range; in main()
Dfail_cview2.cpp49 typedef array::index_range range; in main()
Dfail_ref_cview.cpp45 typedef array_ref::index_range range; in main()
Dfail_cview.cpp47 typedef array::index_range range; in main()
Dfail_ref_cview2.cpp45 typedef array_ref::index_range range; in main()
Dfail_ref_cview3.cpp46 typedef array_ref::index_range range; in main()
Dfail_cview3.cpp47 typedef array::index_range range; in main()
Dstl_interaction.cpp28 typedef boost::multi_array_types::index_range range; in main()
Dgenerative_tests.hpp170 typedef typename array::index_range range; in run_configuration()
193 typedef typename array::index_range range; in run_configuration()
Didxgen1.cpp26 typedef boost::detail::multi_array::index_range<index_type,size_type> range;
Drange1.cpp28 typedef boost::detail::multi_array::index_range<int,std::size_t> range; in main()
Dslice.cpp56 typedef typename Array::index_range range; in test_views()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_graphdata_distributed.py39 def __init__(self, index_range, num_edges_per_sample): argument
41 self.index_range = index_range
45 indices = [i+1 for i in range(self.index_range)]
49 for i in range(0, self.index_range, self.num_edges_per_sample):
51 if i + self.num_edges_per_sample <= self.index_range:
Dtest_graphdata.py155 def __init__(self, index_range, num_edges_per_sample): argument
157 self.index_range = index_range
161 indices = [i+1 for i in range(self.index_range)]
165 for i in range(0, self.index_range, self.num_edges_per_sample):
167 if i + self.num_edges_per_sample <= self.index_range:
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_tgsi_vgpu10.c252 } index_range; member
3357 emit->index_range.required = in emit_hull_shader_patch_constant_phase()
3361 if (emit->index_range.start_index != INVALID_INDEX) { in emit_hull_shader_patch_constant_phase()
3365 emit->index_range.required = in emit_hull_shader_patch_constant_phase()
3369 if (emit->index_range.start_index != INVALID_INDEX) { in emit_hull_shader_patch_constant_phase()
3372 emit->index_range.required = FALSE; in emit_hull_shader_patch_constant_phase()
3416 assert(emit->index_range.start_index != INVALID_INDEX); in emit_index_range_declaration()
3417 assert(emit->index_range.count != 0); in emit_index_range_declaration()
3418 assert(emit->index_range.required); in emit_index_range_declaration()
3419 assert(emit->index_range.operandType != VGPU10_NUM_OPERANDS); in emit_index_range_declaration()
[all …]
/third_party/boost/libs/multi_array/example/
Dsubview.cpp43 typedef array::index_range range; in main()
Dsubview2.cpp44 typedef boost::multi_array_types::index_range range; in main()
/third_party/boost/boost/
Dmulti_array.hpp54 multi_array_types::index_range
58 return multi_array_types::index_range(base,base+extent_); in operator ()()

12