Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/CacheLib
/ getKey
Method
getKey
cachelib/interface/tests/InterfaceTest.cpp:52–52 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
return --refCount_ == 0;
51
}
52
Key getKey() const noexcept override { return Key(key_); }
53
void* getMemory() const noexcept override {
54
return const_cast<uint8_t*>(memory_.data());
55
}
Callers
5
insert
Method · 0.45
insertOrReplace
Method · 0.45
remove
Method · 0.45
release
Method · 0.45
checkItemFields
Method · 0.45
Calls
1
Key
Class · 0.50
Tested by
no test coverage detected