Searched refs:needsToHalveCounters (Results 1 – 4 of 4) sorted by relevance
29 EXPECT_FALSE(globalCounters.needsToHalveCounters()); in TEST()31 EXPECT_FALSE(globalCounters.needsToHalveCounters()); in TEST()34 EXPECT_TRUE(globalCounters.needsToHalveCounters()); in TEST()36 EXPECT_FALSE(globalCounters.needsToHalveCounters()); in TEST()
145 return mTrieMap.isNearSizeLimit() || mGlobalCounters.needsToHalveCounters(); in isNearSizeLimit()185 0 /* prevWordCount */, headerPolicy, mGlobalCounters.needsToHalveCounters(), in updateAllProbabilityEntriesForGC()189 if (mGlobalCounters.needsToHalveCounters()) { in updateAllProbabilityEntriesForGC()243 const HeaderPolicy *const headerPolicy, const bool needsToHalveCounters,
332 const bool needsToHalveCounters, MutableEntryCounters *const outEntryCounters) { in updateAllProbabilityEntriesForGCInner() argument359 if (needsToHalveCounters) { in updateAllProbabilityEntriesForGCInner()384 prevWordCount + 1, headerPolicy, needsToHalveCounters, outEntryCounters)) { in updateAllProbabilityEntriesForGCInner()
39 bool needsToHalveCounters() const { in needsToHalveCounters() function