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

Method allocator

cpp/src/arrow/stl_allocator.h:61–61  ·  view source on GitHub ↗

\brief Construct an allocator from the default MemoryPool

Source from the content-addressed store, hash-verified

59
60 /// \brief Construct an allocator from the default MemoryPool
61 allocator() noexcept : pool_(default_memory_pool()) {}
62 /// \brief Construct an allocator from the given MemoryPool
63 allocator(MemoryPool* pool) noexcept : pool_(pool) {} // NOLINT: runtime/explicit
64

Callers

nothing calls this directly

Calls 2

default_memory_poolFunction · 0.85
poolMethod · 0.45

Tested by

no test coverage detected