Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
TLFUCache
Class · 0.80
FindLeastFrequentlyUsed
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