Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
TLRUCache
Class · 0.80
FindOldest
Method · 0.80
Y_UNIT_TEST
Function · 0.80
Calls
2
Begin
Method · 0.45
End
Method · 0.45
Tested by
no test coverage detected