Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/CacheLib
/ CacheEntry
Method
CacheEntry
cachelib/navy/block_cache/tests/BlockCacheTest.cpp:112–112 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
110
class CacheEntry {
111
public:
112
CacheEntry(Buffer k, Buffer v) : key_{std::move(k)}, value_{std::move(v)} {}
113
CacheEntry(HashedKey k, Buffer v)
114
: key_{makeView(k.key())}, value_{std::move(v)} {}
115
CacheEntry(CacheEntry&&) = default;
Callers
nothing calls this directly
Calls
2
makeView
Function · 0.85
key
Method · 0.45
Tested by
no test coverage detected