Home
last modified time | relevance | path

Searched refs:begin_index (Results 1 – 21 of 21) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fission/
Dconcat_fission.cc25 …eNewConcat(const FuncGraphPtr &func_graph, const CNodePtr &origin_concat_cnode, size_t begin_index, in CreateNewConcat() argument
30 for (size_t i = begin_index; i < begin_index + offset; ++i) { in CreateNewConcat()
61 for (size_t i = begin_index; i < begin_index + offset; ++i) { in CreateNewConcat()
Daddn_fission.cc24 …reateNewAddn(const FuncGraphPtr &func_graph, const CNodePtr &origin_addn_cnode, size_t begin_index, in CreateNewAddn() argument
29 for (size_t i = begin_index; i < begin_index + offset; ++i) { in CreateNewAddn()
Dpack_fission.cc25 …reateNewPack(const FuncGraphPtr &func_graph, const CNodePtr &origin_pack_cnode, size_t begin_index, in CreateNewPack() argument
30 for (size_t i = begin_index; i < begin_index + offset; ++i) { in CreateNewPack()
/third_party/boost/libs/geometry/test/algorithms/detail/sections/
Dsectionalize.cpp95 if (sec.begin_index > 0) in test_sectionalize()
97 BOOST_CHECK_EQUAL(previous_index, sec.begin_index); in test_sectionalize()
99 BOOST_CHECK_EQUAL(int(sec.count), int(sec.end_index - sec.begin_index)); in test_sectionalize()
120 out_sections << s[i].begin_index << ".." << s[i].end_index; in test_sectionalize()
185 out << "] " << s[i].begin_index << ".." << s[i].end_index; in test_sectionalize()
347 BOOST_CHECK(int_sections[i].begin_index == double_sections[i].begin_index); in test_large_integers()
Drange_by_section.cpp59 range_iterator it1 = boost::begin(view) + sec.begin_index; in test_sectionalize()
/third_party/gn/src/base/strings/
Dstring_split.cc133 for (size_type begin_index = 0, end_index = 0; end_index != Piece::npos; in SplitStringUsingSubstrT() local
134 begin_index = end_index + delimiter.size()) { in SplitStringUsingSubstrT()
135 end_index = input.find(delimiter, begin_index); in SplitStringUsingSubstrT()
137 ? input.substr(begin_index) in SplitStringUsingSubstrT()
138 : input.substr(begin_index, end_index - begin_index); in SplitStringUsingSubstrT()
/third_party/boost/boost/graph/detail/
Dincremental_components.hpp56 IndexRandomAccessIterator index_iterator, value_type begin_index) in component_index_iterator() argument
57 : m_index_iterator(index_iterator), m_current_index(begin_index) in component_index_iterator()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/base/
Dstrided_slice_base_coder.cc102 int begin_index = strided_slice_parameter_->begins_[split_axis_]; in DoFastCode() local
117 << " + " << (caled_num * in_shape[split_axis_] + begin_index) * inner_size_ << ";\n"; in DoFastCode()
134 …<< " + " << (caled_num * strided_slice_parameter_->strides_[split_axis_] + begin_index) * inner_si… in DoFastCode()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dstridedslice_cpu_kernel.cc166 int begin_index = slice_param_.begins_[split_axis_]; in RunTaskOnOuter() local
168 …const uint8_t *cur_in_ptr = input_addr + (start_pos * input_shape_[split_axis_] + begin_index) * i… in RunTaskOnOuter()
181 int begin_index = slice_param_.begins_[split_axis_]; in RunTaskOnSplitAxis() local
183 …_in_ptr = input_addr + (start_pos * slice_param_.strides_[split_axis_] + begin_index) * inner_size; in RunTaskOnSplitAxis()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/
Dstrided_slice.cc116 int begin_index = param_->begins_[split_axis_]; in FastRunImpl() local
119 …uint8_t *cur_in_ptr = input_ptr_ + (caled_num * in_shape[split_axis_] + begin_index) * inner_size_; in FastRunImpl()
132 …uint8_t *cur_in_ptr = input_ptr_ + (caled_num * param_->strides_[split_axis_] + begin_index) * inn… in FastRunImpl()
/third_party/protobuf/src/google/protobuf/stubs/
Dstrutil.cc198 string::size_type begin_index, end_index; in SplitStringToIteratorUsing() local
199 begin_index = full.find_first_not_of(delim); in SplitStringToIteratorUsing()
200 while (begin_index != string::npos) { in SplitStringToIteratorUsing()
201 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorUsing()
203 *result++ = std::string(full.substr(begin_index)); in SplitStringToIteratorUsing()
207 std::string(full.substr(begin_index, (end_index - begin_index))); in SplitStringToIteratorUsing()
208 begin_index = full.find_first_not_of(delim, end_index); in SplitStringToIteratorUsing()
233 string::size_type begin_index, end_index; in SplitStringToIteratorAllowEmpty() local
234 begin_index = 0; in SplitStringToIteratorAllowEmpty()
237 end_index = full.find_first_of(delim, begin_index); in SplitStringToIteratorAllowEmpty()
[all …]
/third_party/flatbuffers/grpc/src/compiler/
Djava_generator.cc150 string::size_type begin_index, end_index; in GrpcSplitStringToIteratorUsing() local
151 begin_index = full.find_first_not_of(delim); in GrpcSplitStringToIteratorUsing()
152 while (begin_index != string::npos) { in GrpcSplitStringToIteratorUsing()
153 end_index = full.find_first_of(delim, begin_index); in GrpcSplitStringToIteratorUsing()
155 *result++ = full.substr(begin_index); in GrpcSplitStringToIteratorUsing()
158 *result++ = full.substr(begin_index, (end_index - begin_index)); in GrpcSplitStringToIteratorUsing()
159 begin_index = full.find_first_not_of(delim, end_index); in GrpcSplitStringToIteratorUsing()
/third_party/skia/gn/
Dfind_headers.py45 begin_index = desc_json_txt.index("{") variable
46 desc_json_txt = desc_json_txt[begin_index:]
/third_party/boost/boost/geometry/algorithms/detail/buffer/
Dturn_in_original_visitor.hpp190 && section.begin_index < section.end_index in point_in_original()
196 boost::begin(original.m_ring) + section.begin_index, in point_in_original()
Dget_piece_turns.hpp206 signed_size_type const sec1_first_index = piece1_first_index + section1.begin_index; in calculate_turns()
207 signed_size_type const sec2_first_index = piece2_first_index + section2.begin_index; in calculate_turns()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dupdate_state_formatter.h77 AnfNodePtrList SpreadTuples(const AnfNodePtrList &nodes, size_t begin_index = 0);
Dupdate_state_formatter.cc38 AnfNodePtrList SpreadTuples(const AnfNodePtrList &nodes, size_t begin_index) { in SpreadTuples() argument
40 for (size_t i = begin_index; i < nodes.size(); i++) { in SpreadTuples()
/third_party/boost/boost/geometry/algorithms/detail/overlay/
Dget_turns.hpp134 return !IsAreal && m_section.is_non_duplicate_first && m_index == m_section.begin_index; in is_first_segment()
334 signed_size_type index1 = sec1.begin_index; in apply()
363 signed_size_type index2 = sec2.begin_index; in apply()
467 it = boost::begin(range) + section.begin_index; in get_start_point_iterator()
/third_party/boost/boost/geometry/algorithms/detail/sections/
Dsectionalize.hpp98 signed_size_type begin_index; member
109 : begin_index(-1) in section()
534 section.begin_index = index; in apply()
/third_party/boost/libs/pfr/include/boost/pfr/detail/
Dcore14_classic.hpp481 constexpr std::size_t count_skips_in_array(std::size_t begin_index, std::size_t end_index, const Ar… in count_skips_in_array() argument
483 for (std::size_t i = begin_index; i < end_index; ++i) { in count_skips_in_array()
/third_party/boost/boost/pfr/detail/
Dcore14_classic.hpp481 constexpr std::size_t count_skips_in_array(std::size_t begin_index, std::size_t end_index, const Ar… in count_skips_in_array() argument
483 for (std::size_t i = begin_index; i < end_index; ++i) { in count_skips_in_array()