MCPcopy Create free account
hub / github.com/christophhart/HISE / validMemoryAccess

Method validMemoryAccess

hi_scripting/scripting/api/FixLayoutObjects.cpp:145–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145bool Allocator::validMemoryAccess(uint8* ptr)
146{
147 bool found = false;
148
149 for (auto b : allocatedBlocks)
150 found |= b->contains(ptr);
151
152 return found;
153}
154
155Allocator::Block::Block(size_t numBytes_):
156 numBytes(numBytes_)

Callers 4

writeArrayElementMethod · 0.80
getDataMethod · 0.80
writeMethod · 0.80
initMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by

no test coverage detected