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

Method PoolBuffer

cpp/src/arrow/memory_pool.cc:900–902  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

898class PoolBuffer final : public ResizableBuffer {
899 public:
900 explicit PoolBuffer(std::shared_ptr<MemoryManager> mm, MemoryPool* pool,
901 int64_t alignment)
902 : ResizableBuffer(nullptr, 0, std::move(mm)), pool_(pool), alignment_(alignment) {}
903
904 ~PoolBuffer() override {
905 // Avoid calling pool_->Free if the global pools are destroyed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected