Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/facebook/CacheLib
/ setReceiver
Method
setReceiver
cachelib/allocator/memory/Slab.h:358–358 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
356
bool zeroOnRelease_;
357
358
void setReceiver(ClassId receiver) noexcept { receiver_ = receiver; }
359
360
void setZeroOnRelease(bool zeroOnRelease) noexcept {
361
zeroOnRelease_ = zeroOnRelease;
Callers
2
startSlabRelease
Method · 0.80
TEST_F
Function · 0.80
Calls
no outgoing calls
Tested by
1
TEST_F
Function · 0.64