MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / malloc

Method malloc

benchmarks/tbb/memory_pool.h:55–55  ·  view source on GitHub ↗

The "malloc" analogue to allocate block of memory of size bytes

Source from the content-addressed store, hash-verified

53
54 //! The "malloc" analogue to allocate block of memory of size bytes
55 void *malloc(size_t size) { return rml::pool_malloc(my_pool, size); }
56
57 //! The "free" analogue to discard a previously allocated piece of memory.
58 void free(void* ptr) { rml::pool_free(my_pool, ptr); }

Callers 1

allocateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected