Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1a1a11a/libCacheSim
/ swap
Method
swap
libCacheSim/dataStructure/sparsepp/spp_dlalloc.h:114–117 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
112
}
113
114
void swap(spp_allocator &o)
115
{
116
std::swap(_space, o._space);
117
}
118
119
pointer allocate(size_t n, const_pointer /* unused */ = 0)
120
{
Callers
2
can_clear
Method · 0.45
swap
Function · 0.45
Calls
1
swap
Function · 0.70
Tested by
no test coverage detected