MCPcopy Create free account
hub / github.com/ElementsProject/elements / FreeLocked

Method FreeLocked

src/support/lockedpool.cpp:199–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197 return addr;
198}
199void Win32LockedPageAllocator::FreeLocked(void* addr, size_t len)
200{
201 len = align_up(len, page_size);
202 memory_cleanse(addr, len);
203 VirtualUnlock(const_cast<void*>(addr), len);
204}
205
206size_t Win32LockedPageAllocator::GetLimit()
207{

Callers 2

new_arenaMethod · 0.45
~LockedPageArenaMethod · 0.45

Calls 2

align_upFunction · 0.85
memory_cleanseFunction · 0.85

Tested by

no test coverage detected