MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / owns

Method owns

common/script/scriptheap.cpp:129–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129bool ScriptHeap::owns(void* ptr) const
130{
131 if (!ptr) {
132 return false;
133 }
134 std::lock_guard<std::mutex> lock(mMutex);
135 return mBlocks.find(ptr) != mBlocks.end();
136}
137
138void ScriptHeap::releaseAll(void)
139{

Callers 1

ckpt_delete_directoryFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected