MCPcopy Create free account
hub / github.com/apache/arrow / GetAllocator

Method GetAllocator

cpp/src/arrow/memory_pool_benchmark.cc:44–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42#ifdef ARROW_MIMALLOC
43struct Mimalloc {
44 static Result<MemoryPool*> GetAllocator() {
45 MemoryPool* pool;
46 RETURN_NOT_OK(mimalloc_memory_pool(&pool));
47 return pool;
48 }
49};
50#endif
51

Callers

nothing calls this directly

Calls 1

mimalloc_memory_poolFunction · 0.85

Tested by

no test coverage detected