MCPcopy Index your code
hub / github.com/facebook/CacheLib / getKey

Method getKey

cachelib/interface/components/RAMCacheComponent.cpp:100–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 return item()->decRef() == 0;
99 }
100 Key getKey() const noexcept override { return item()->getKey(); }
101 void* getMemory() const noexcept override {
102 return const_cast<RAMCacheItem*>(this) + 1;
103 }

Callers 4

iteratorMethod · 0.45
CO_TEST_FFunction · 0.45
CO_TYPED_TESTFunction · 0.45
CO_TYPED_TESTFunction · 0.45

Calls

no outgoing calls

Tested by 3

CO_TEST_FFunction · 0.36
CO_TYPED_TESTFunction · 0.36
CO_TYPED_TESTFunction · 0.36