MCPcopy 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

GetOrNullMethod · 0.45
EraseMethod · 0.45
GetValueMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected