HomeSort by relevance Sort by last modified time
    Searched refs:encodedEntry (Results 1 - 2 of 2) sorted by null

  /packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
probability_entry_test.cpp 31 const uint64_t encodedEntry = entry.encode(false /* hasHistoricalInfo */);
33 ProbabilityEntry::decode(encodedEntry, false /* hasHistoricalInfo */);
34 EXPECT_EQ(0xFF0Aull, encodedEntry);
47 const uint64_t encodedEntry = entry.encode(true /* hasHistoricalInfo */);
48 EXPECT_EQ(0xF03FFFFFFFABCDull, encodedEntry);
50 ProbabilityEntry::decode(encodedEntry, true /* hasHistoricalInfo */);
  /packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
probability_entry.h 101 uint64_t encodedEntry = static_cast<uint8_t>(mFlags);
103 encodedEntry = (encodedEntry << (Ver4DictConstants::TIME_STAMP_FIELD_SIZE * CHAR_BIT))
105 encodedEntry = (encodedEntry << (Ver4DictConstants::WORD_LEVEL_FIELD_SIZE * CHAR_BIT))
107 encodedEntry = (encodedEntry << (Ver4DictConstants::WORD_COUNT_FIELD_SIZE * CHAR_BIT))
110 encodedEntry = (encodedEntry << (Ver4DictConstants::PROBABILITY_SIZE * CHAR_BIT))
113 return encodedEntry;
    [all...]

Completed in 76 milliseconds