MCPcopy Create free account
hub / github.com/catboost/catboost / GetLeastFrequentlyUsed

Method GetLeastFrequentlyUsed

library/cpp/cache/cache.h:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 TItem* GetLeastFrequentlyUsed() {
248 typename TListType::TIterator it = List.Begin();
249 Y_ASSERT(it != List.End());
250 return &*it;
251 }
252
253 void Erase(TItem* item) {
254 item->Unlink();

Callers 3

TLFUCacheClass · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 2

BeginMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected