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

Method GetOldest

library/cpp/cache/cache.h:110–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108 }
109
110 TItem* GetOldest() {
111 typename TListType::TIterator it = List.Begin();
112 Y_ASSERT(it != List.End());
113 return &*it;
114 }
115
116 void Erase(TItem* item) {
117 item->Unlink();

Callers 3

TLRUCacheClass · 0.80
FindOldestMethod · 0.80
Y_UNIT_TESTFunction · 0.80

Calls 2

BeginMethod · 0.45
EndMethod · 0.45

Tested by

no test coverage detected