1 inline void NoMemoryMarking::markAllocation(
void*,
size_t)
const {}
2 inline void NoMemoryMarking::markDeallocation(
void*,
size_t)
const {}
4 inline void SimpleMemoryMarking::markAllocation(
void* ptr,
size_t size)
const {
5 std::memset(ptr, SimpleMemoryMarking::AllocationMagic, size);
8 inline void SimpleMemoryMarking::markDeallocation(
void* ptr,
size_t size)
const {
9 std::memset(ptr, SimpleMemoryMarking::DeallocationMagic, size);