MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / isOwnPtr

Method isOwnPtr

src/simulate/heap.cpp:158–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 uint64_t PersistentHeapAllocator::totalAlignedMemoryAllocated() const { return model.totalAlignedMemoryAllocated(); }
157
158 bool PersistentHeapAllocator::isOwnPtr ( char * ptr, uint64_t size ) { return model.isOwnPtr(ptr,size); }
159 bool PersistentHeapAllocator::isValidPtr ( char * ptr, uint64_t size ) { return model.isAllocatedPtr(ptr,size); }
160 void PersistentHeapAllocator::setInitialSize ( uint64_t size ) { model.setInitialSize(size); }
161 int64_t PersistentHeapAllocator::getInitialSize() const { return model.initialSize; }

Callers 8

markRangeMethod · 0.45
describe_ptrMethod · 0.45
StringMethod · 0.45
markAndPushRangeMethod · 0.45
StringMethod · 0.45
freeMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.36