Home
last modified time | relevance | path

Searched refs:section_id (Results 1 – 25 of 37) sorted by relevance

12

/external/tensorflow/tensorflow/python/autograph/pyct/
Dcfg.py366 for section_id in self.pending_finally_sections:
367 self.finally_section_subgraphs[section_id][0] = node
438 def add_exit_node(self, ast_node, section_id, guards): argument
452 self.exits[section_id].add(node)
455 def add_continue_node(self, ast_node, section_id, guards): argument
467 self.continues[section_id].add(node)
484 def enter_section(self, section_id): argument
493 assert section_id not in self.exits
494 self.exits[section_id] = set()
496 def exit_section(self, section_id): argument
[all …]
/external/icing/icing/index/hit/
Ddoc-hit-info.cc41 void DocHitInfo::UpdateSection(SectionId section_id, in UpdateSection() argument
43 SectionIdMask section_id_mask = (1u << section_id); in UpdateSection()
50 hit_term_frequency_[section_id] = hit_term_frequency; in UpdateSection()
57 SectionId section_id = __builtin_ctz(other_mask); in MergeSectionsFrom() local
58 UpdateSection(section_id, other.hit_term_frequency(section_id)); in MergeSectionsFrom()
59 other_mask &= ~(1u << section_id); in MergeSectionsFrom()
Ddoc-hit-info.h53 Hit::TermFrequency hit_term_frequency(SectionId section_id) const { in hit_term_frequency() argument
54 return hit_term_frequency_[section_id]; in hit_term_frequency()
64 void UpdateSection(SectionId section_id,
Dhit.cc55 Hit::Hit(SectionId section_id, DocumentId document_id, in Hit() argument
68 bit_util::BitfieldSet(section_id, kNumFlags, kSectionIdBits, &temp_value); in Hit()
84 SectionId Hit::section_id() const { in section_id() function in icing::lib::Hit
Dhit.h66 Hit(SectionId section_id, DocumentId document_id,
73 SectionId section_id() const;
/external/icing/icing/query/
Dquery-processor_test.cc115 DocumentId document_id, SectionId section_id, in AddTokenToIndex() argument
117 Index::Editor editor = index_->Edit(document_id, section_id, in AddTokenToIndex()
300 SectionId section_id = 0; in TEST_F() local
301 SectionIdMask section_id_mask = 1U << section_id; in TEST_F()
307 AddTokenToIndex(document_id, section_id, term_match_type, "hello"), in TEST_F()
310 AddTokenToIndex(document_id, section_id, term_match_type, "world"), in TEST_F()
376 SectionId section_id = 0; in TEST_F() local
377 SectionIdMask section_id_mask = 1U << section_id; in TEST_F()
383 AddTokenToIndex(document_id, section_id, term_match_type, "hello"), in TEST_F()
444 SectionId section_id = 0; in TEST_F() local
[all …]
/external/icing/icing/schema/
Dsection-manager.cc250 SectionId section_id) const { in GetStringSectionContent()
251 if (!IsSectionIdValid(section_id)) { in GetStringSectionContent()
253 "Section id %d is greater than the max value %d", section_id, in GetStringSectionContent()
258 if (section_id >= metadata_list->size()) { in GetStringSectionContent()
260 "Section with id %d doesn't exist in type config %s", section_id, in GetStringSectionContent()
265 return GetStringSectionContent(document, metadata_list->at(section_id).path); in GetStringSectionContent()
270 SectionId section_id) const { in GetSectionMetadata()
271 if (!IsSectionIdValid(section_id)) { in GetSectionMetadata()
273 "Section id %d is greater than the max value %d", section_id, in GetSectionMetadata()
278 if (section_id >= section_metadatas.size()) { in GetSectionMetadata()
[all …]
Dsection.h37 constexpr bool IsSectionIdValid(SectionId section_id) { in IsSectionIdValid() argument
38 return section_id >= kMinSectionId && section_id <= kMaxSectionId; in IsSectionIdValid()
Dsection-manager.h78 SectionId section_id) const;
87 SchemaTypeId schema_type_id, SectionId section_id) const;
Dschema-store.h199 SectionId section_id) const;
209 SchemaTypeId schema_type_id, SectionId section_id) const;
Dschema-store.cc428 SectionId section_id) const { in GetStringSectionContent()
430 return section_manager_->GetStringSectionContent(document, section_id); in GetStringSectionContent()
435 SectionId section_id) const { in GetSectionMetadata()
437 return section_manager_->GetSectionMetadata(schema_type_id, section_id); in GetSectionMetadata()
/external/icing/icing/testing/
Dhit-test-utils.cc22 Hit hit = (last_hit.section_id() == kMinSectionId) in CreateHit()
25 : Hit(last_hit.section_id() - 1, last_hit.document_id(), in CreateHit()
30 hit = (hit.section_id() == kMinSectionId) in CreateHit()
32 : Hit(hit.section_id() - 1, hit.document_id(), in CreateHit()
Dcommon-matchers.h52 for (SectionId section_id : section_ids) { variable
53 section_mask |= 1U << section_id;
75 SectionId section_id = itr->first; variable
76 section_mask |= 1U << section_id;
78 actual_tfs.push_back(actual.hit_term_frequency(section_id));
79 if (actual.hit_term_frequency(section_id) != itr->second) {
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-section-restrict.cc68 SectionId section_id = __builtin_ctz(section_id_mask); in Advance() local
71 schema_store_.GetSectionMetadata(schema_type_id, section_id); in Advance()
80 hit_intersect_section_ids_mask_ = 1u << section_id; in Advance()
86 section_id_mask &= ~(1U << section_id); in Advance()
Ddoc-hit-info-iterator-test-util.h71 SectionId section_id = __builtin_ctz(section_mask_copy); variable
72 section_term_frequencies.at(section_id) =
73 doc_hit_info_.hit_term_frequency(section_id);
74 section_mask_copy &= ~(1u << section_id);
/external/icing/icing/index/lite/
Ddoc-hit-info-iterator-term-lite.h65 SectionId section_id = __builtin_ctz(section_mask_copy); variable
66 section_term_frequencies.at(section_id) =
67 doc_hit_info_.hit_term_frequency(section_id);
68 section_mask_copy &= ~(1u << section_id);
/external/icing/icing/index/main/
Ddoc-hit-info-iterator-term-main.h65 SectionId section_id = __builtin_ctz(section_mask_copy); variable
66 section_term_frequencies.at(section_id) =
67 doc_hit_info_.hit_term_frequency(section_id);
68 section_mask_copy &= ~(1u << section_id);
Dmain-index_test.cc261 std::vector<SectionId>{doc1_hit.section_id()}), in TEST_F()
263 std::vector<SectionId>{doc0_hit.section_id()}))); in TEST_F()
272 std::vector<SectionId>{doc1_hit.section_id()}))); in TEST_F()
371 std::vector<SectionId>{doc3_hit.section_id()}), in TEST_F()
373 std::vector<SectionId>{doc1_hit.section_id()}), in TEST_F()
375 std::vector<SectionId>{doc0_hit.section_id()}))); in TEST_F()
386 std::vector<SectionId>{doc4_hit.section_id()}), in TEST_F()
388 std::vector<SectionId>{doc1_hit.section_id()}))); in TEST_F()
436 std::vector<SectionId>{doc1_hit.section_id()}), in TEST_F()
438 std::vector<SectionId>{doc0_hit.section_id()}))); in TEST_F()
[all …]
Dmain-index-merger.cc41 prev_.hit().section_id() == term_id_hit_pair.hit().section_id(); in IsEquivalentHit()
71 Hit(prefix_hit.section_id(), prefix_hit.document_id(), in InsertSelectedHits()
107 Hit(hit.section_id(), hit.document_id(), final_term_frequency, in SelectPrefixHitIfBetter()
125 Hit(hit.section_id(), hit.document_id(), final_term_frequency, in SelectExactHitIfBetter()
282 Hit prefix_hit(hit.section_id(), hit.document_id(), hit.term_frequency(), in TranslateAndExpandLiteHits()
Ddoc-hit-info-iterator-term-main.cc106 if (((1u << hit.section_id()) & section_restrict_mask_) == 0) { in RetrieveMoreHits()
117 cached_doc_hit_infos_.back().UpdateSection(hit.section_id(), in RetrieveMoreHits()
155 if (((1u << hit.section_id()) & section_restrict_mask_) == 0) { in RetrieveMoreHits()
166 cached_doc_hit_infos_.back().UpdateSection(hit.section_id(), in RetrieveMoreHits()
/external/icing/icing/index/
Dindex.h208 DocumentId document_id, SectionId section_id, in Editor() argument
215 section_id_(section_id) {} in Editor()
234 Editor Edit(DocumentId document_id, SectionId section_id, in Edit() argument
237 section_id, term_match_type, namespace_id); in Edit()
/external/icing/icing/scoring/
Dbm25f-calculator.cc212 SectionId section_id = __builtin_ctz(sections); in ComputeTermFrequencyForMatchedSections() local
213 sections &= ~(1u << section_id); in ComputeTermFrequencyForMatchedSections()
215 Hit::TermFrequency tf = term_match_info.term_frequencies[section_id]; in ComputeTermFrequencyForMatchedSections()
/external/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
DObjectFileWasm.cpp175 uint8_t section_id = data.getU8(c); in DecodeNextSection() local
183 if (section_id == llvm::wasm::WASM_SEC_CUSTOM) { in DecodeNextSection()
197 section_id, *sect_name}); in DecodeNextSection()
199 } else if (section_id <= llvm::wasm::WASM_SEC_EVENT) { in DecodeNextSection()
202 section_id, ConstString()}); in DecodeNextSection()
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp393 module::resource_id section_id = 0;
506 section_id,
523 module::section text { section_id, module::section::text_executable, header.num_bytes, {} };
531 sym.reqd_work_group_size, section_id, 0, args);
533 section_id++;
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DPDBLocationToDWARFExpression.cpp93 uint32_t section_id = symbol.getAddressSection(); in ConvertPDBLocationToDWARFExpression() local
95 auto section = section_list->FindSectionByID(section_id); in ConvertPDBLocationToDWARFExpression()

12