Home
last modified time | relevance | path

Searched refs:kMaxSectionId (Results 1 – 19 of 19) sorted by relevance

/external/icing/icing/schema/
Dsection.h35 inline constexpr SectionId kMaxSectionId = kInvalidSectionId - 1; variable
38 return section_id >= kMinSectionId && section_id <= kMaxSectionId; in IsSectionIdValid()
46 kMaxSectionId < 8 * sizeof(SectionIdMask),
Dsection-manager.cc116 kMaxSectionId - kMinSectionId + 1)); in AssignSections()
254 kMaxSectionId)); in GetStringSectionContent()
274 kMaxSectionId)); in GetSectionMetadata()
Dschema-store.cc477 if (sections_list_or.ValueOrDie()->size() == kMaxSectionId + 1) { in GetStorageInfo()
Dsection-manager_test.cc169 int max_num_sections_allowed = kMaxSectionId - kMinSectionId + 1; in TEST_F()
/external/icing/icing/index/lite/
Ddoc-hit-info-iterator-term-lite.cc33 std::string mask(kMaxSectionId + 1, '0'); in SectionIdMaskToString()
34 for (SectionId i = kMaxSectionId; i >= 0; --i) { in SectionIdMaskToString()
36 mask[kMaxSectionId - i] = '1'; in SectionIdMaskToString()
Ddoc-hit-info-iterator-term-lite.h62 std::array<Hit::TermFrequency, kMaxSectionId> section_term_frequencies = {
/external/icing/icing/index/iterator/
Ddoc-hit-info-iterator-or_test.cc186 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST()
189 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2{ in TEST()
238 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST()
277 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST()
280 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2{ in TEST()
480 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hi{ in TEST()
488 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2_hi{ in TEST()
496 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hello{ in TEST()
503 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2_hello{ in TEST()
511 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_ciao{ in TEST()
[all …]
Ddoc-hit-info-iterator.h43 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies;
47 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies) in TermMatchInfo()
Ddoc-hit-info-iterator-and_test.cc206 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST()
209 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies2{ in TEST()
259 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1{ in TEST()
474 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hi{ in TEST()
487 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_hello{ in TEST()
499 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies1_ciao{ in TEST()
Ddoc-hit-info-iterator-test-util.h68 std::array<Hit::TermFrequency, kMaxSectionId> section_term_frequencies = {
Ddoc-hit-info-iterator-section-restrict_test.cc155 std::array<Hit::TermFrequency, kMaxSectionId> expected_term_frequencies{ in TEST_F()
/external/icing/icing/index/main/
Ddoc-hit-info-iterator-term-main.cc37 std::string mask(kMaxSectionId + 1, '0'); in SectionIdMaskToString()
38 for (SectionId i = kMaxSectionId; i >= 0; --i) { in SectionIdMaskToString()
40 mask[kMaxSectionId - i] = '1'; in SectionIdMaskToString()
Ddoc-hit-info-iterator-term-main.h62 std::array<Hit::TermFrequency, kMaxSectionId> section_term_frequencies = {
/external/icing/icing/testing/
Dhit-test-utils.cc23 ? Hit(kMaxSectionId, last_hit.document_id() + 1, in CreateHit()
31 ? Hit(kMaxSectionId, hit.document_id() + 1, hit.term_frequency()) in CreateHit()
/external/icing/icing/index/hit/
Ddoc-hit-info.h79 Hit::TermFrequency hit_term_frequency_[kMaxSectionId + 1];
Ddoc-hit-info_test.cc36 for (SectionId i = 0; i <= kMaxSectionId; ++i) { in TEST()
Dhit_test.cc95 Hit maximum_section_id_hit(kMaxSectionId, kSomeDocumentId, in TEST()
/external/icing/icing/query/
Dquery-processor_test.cc303 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
379 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
447 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
515 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
585 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
660 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
729 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
805 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
886 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
975 std::array<Hit::TermFrequency, kMaxSectionId> term_frequencies{ in TEST_F()
[all …]
/external/icing/icing/result/
Dresult-retriever_test.cc138 for (SectionId section_id = 0; section_id <= kMaxSectionId; ++section_id) { in GetSectionId()