MCPcopy Create free account
hub / github.com/creatale/node-dv / SystemAlloc

Function SystemAlloc

deps/opencv/modules/core/src/alloc.cpp:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117};
118
119void* SystemAlloc(size_t size)
120{
121 void* ptr = malloc(size);
122 return ptr ? ptr : OutOfMemoryError(size);
123}
124
125void SystemFree(void* ptr, size_t)
126{

Callers 2

allocMethod · 0.85
fastMallocFunction · 0.85

Calls 1

OutOfMemoryErrorFunction · 0.85

Tested by

no test coverage detected