Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ GetKey
Method
GetKey
library/cpp/cache/ut/cache_ut.cpp:478–480 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
476
class TCallbacks: public TCache::ICallbacks {
477
public:
478
TKey GetKey(ui32 i) const override {
479
return i;
480
}
481
TValue* CreateObject(ui32 i) const override {
482
Creations++;
483
return new TString(VALS[i]);
Callers
3
GetOrNull
Method · 0.45
Erase
Method · 0.45
GetValue
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected