MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / UnlockObject

Function UnlockObject

src/commons/allocators.h:174–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172}
173
174template<typename T> void UnlockObject(const T &t) {
175 OPENSSL_cleanse((void*)(&t), sizeof(T));
176 LockedPageManager::Instance().UnlockRange((void*)(&t), sizeof(T));
177}
178
179//
180// Allocator that locks its contents from being paged

Callers 2

~CKeyMethod · 0.85
SetMasterMethod · 0.85

Calls 1

UnlockRangeMethod · 0.80

Tested by

no test coverage detected