Searched refs:mGlobalCounters (Results 1 – 2 of 2) sorted by relevance
138 mGlobalCounters(buffers[GLOBAL_COUNTERS_BUFFER_INDEX]), in LanguageModelDictContent()142 : mTrieMap(), mGlobalCounters(), mHasHistoricalInfo(hasHistoricalInfo) {} in LanguageModelDictContent()145 return mTrieMap.isNearSizeLimit() || mGlobalCounters.needsToHalveCounters(); in isNearSizeLimit()161 mGlobalCounters.addToTotalCount(probabilityEntry->getHistoricalInfo()->getCount()); in setProbabilityEntry()185 0 /* prevWordCount */, headerPolicy, mGlobalCounters.needsToHalveCounters(), in updateAllProbabilityEntriesForGC()189 if (mGlobalCounters.needsToHalveCounters()) { in updateAllProbabilityEntriesForGC()190 mGlobalCounters.halveCounters(); in updateAllProbabilityEntriesForGC()235 LanguageModelDictContentGlobalCounters mGlobalCounters; variable
32 return mTrieMap.save(file) && mGlobalCounters.save(file); in save()79 contextCount = mGlobalCounters.getTotalCount(); in getWordAttributes()233 mGlobalCounters.incrementTotalCount(); in updateAllEntriesOnInputWord()234 mGlobalCounters.updateMaxValueOfCounters( in updateAllEntriesOnInputWord()249 mGlobalCounters.updateMaxValueOfCounters( in updateAllEntriesOnInputWord()