Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1a1a11a/libCacheSim
/ set_lock
Method
set_lock
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:1167–1167 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1165
bool use_lock() const { return false; }
1166
void enable_lock() {}
1167
void set_lock(int) {}
1168
void disable_lock() {}
1169
1170
bool use_mmap() const { return !!(_mflags & USE_MMAP_BIT); }
Callers
2
create_mspace
Function · 0.80
create_mspace_with_base
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected