Home
last modified time | relevance | path

Searched refs:UpdateSection (Results 1 – 11 of 11) sorted by relevance

/external/icing/icing/index/hit/
Ddoc-hit-info_test.cc47 info.UpdateSection(3, 16); in TEST()
53 info.UpdateSection(3, 16); in TEST()
58 info.UpdateSection(3, 15); in TEST()
64 info.UpdateSection(3, 16); in TEST()
69 info.UpdateSection(3, 17); in TEST()
77 info.UpdateSection(3, 16); in TEST()
81 info.UpdateSection(3, 15); in TEST()
85 info.UpdateSection(2, 77); in TEST()
93 info2.UpdateSection(7, 12); in TEST()
103 info1.UpdateSection(3, 16); in TEST()
[all …]
Ddoc-hit-info.cc41 void DocHitInfo::UpdateSection(SectionId section_id, in UpdateSection() function in icing::lib::DocHitInfo
58 UpdateSection(section_id, other.hit_term_frequency(section_id)); in MergeSectionsFrom()
Ddoc-hit-info.h64 void UpdateSection(SectionId section_id,
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-or_test.cc193 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST()
194 doc_hit_info1.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/2); in TEST()
195 doc_hit_info1.UpdateSection(/*section_id=*/4, /*hit_term_frequency=*/3); in TEST()
196 doc_hit_info1.UpdateSection(/*section_id=*/6, /*hit_term_frequency=*/4); in TEST()
199 doc_hit_info2.UpdateSection(/*section_id=*/1, /*hit_term_frequency=*/2); in TEST()
200 doc_hit_info2.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/6); in TEST()
242 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST()
243 doc_hit_info1.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/2); in TEST()
284 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST()
285 doc_hit_info1.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/2); in TEST()
[all …]
Ddoc-hit-info-iterator-and_test.cc213 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST()
214 doc_hit_info1.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/2); in TEST()
215 doc_hit_info1.UpdateSection(/*section_id=*/4, /*hit_term_frequency=*/3); in TEST()
216 doc_hit_info1.UpdateSection(/*section_id=*/6, /*hit_term_frequency=*/4); in TEST()
219 doc_hit_info2.UpdateSection(/*section_id=*/1, /*hit_term_frequency=*/2); in TEST()
220 doc_hit_info2.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/6); in TEST()
263 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST()
264 doc_hit_info1.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/2); in TEST()
299 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST()
302 doc_hit_info2.UpdateSection(/*section_id=*/1, /*hit_term_frequency=*/2); in TEST()
[all …]
Ddoc-hit-info-iterator-section-restrict_test.cc125 doc_hit_info1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
126 doc_hit_info1.UpdateSection(/*section_id=*/2, /*hit_term_frequency=*/2); in TEST_F()
/external/icing/icing/scoring/
Dscoring-processor_test.cc286 doc_hit_info1.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
288 doc_hit_info2.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
290 doc_hit_info3.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
355 doc_hit_info1.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
357 doc_hit_info2.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
359 doc_hit_info3.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
424 doc_hit_info1.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/5); in TEST_F()
427 doc_hit_info2.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
430 doc_hit_info3.UpdateSection(/*section_id*/ 0, /*hit_term_frequency=*/1); in TEST_F()
431 doc_hit_info3.UpdateSection(/*section_id*/ 1, /*hit_term_frequency=*/2); in TEST_F()
/external/icing/icing/index/main/
Ddoc-hit-info-iterator-term-main.cc117 cached_doc_hit_infos_.back().UpdateSection(hit.section_id(), in RetrieveMoreHits()
166 cached_doc_hit_infos_.back().UpdateSection(hit.section_id(), in RetrieveMoreHits()
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DELF_x86_64.cpp384 auto UpdateSection = Obj.getSection(SecRef.sh_info); in addRelocations() local
385 if (!UpdateSection) in addRelocations()
386 return UpdateSection.takeError(); in addRelocations()
388 auto UpdateSectionName = Obj.getSectionName(**UpdateSection); in addRelocations()
428 (*UpdateSection)->sh_addr + Rela.r_offset; in addRelocations()
/external/icing/icing/query/
Dquery-processor_test.cc1369 expectedDocHitInfo.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
1445 expectedDocHitInfo1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
1447 expectedDocHitInfo2.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
1523 expectedDocHitInfo.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
1598 expectedDocHitInfo1.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
1600 expectedDocHitInfo2.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
1910 expectedDocHitInfo1.UpdateSection(/*section_id=*/0, in TEST_F()
1913 expectedDocHitInfo2.UpdateSection(/*section_id=*/0, in TEST_F()
1989 expectedDocHitInfo.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
2063 expectedDocHitInfo.UpdateSection(/*section_id=*/0, /*hit_term_frequency=*/1); in TEST_F()
[all …]
/external/icing/icing/index/lite/
Dlite-index.cc366 hits_out->back().UpdateSection(hit.section_id(), hit.term_frequency()); in AppendHits()