Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
iterator
Method · 0.45
CO_TEST_F
Function · 0.45
CO_TYPED_TEST
Function · 0.45
CO_TYPED_TEST
Function · 0.45
Calls
no outgoing calls
Tested by
3
CO_TEST_F
Function · 0.36
CO_TYPED_TEST
Function · 0.36
CO_TYPED_TEST
Function · 0.36