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

Method GetAllocator

cpp/src/arrow/memory_pool_benchmark.cc:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

mimalloc_memory_poolFunction · 0.85

Tested by

no test coverage detected