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

Method Allocate

cpp/src/arrow/memory_pool.cc:776–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

774 explicit ProxyMemoryPoolImpl(MemoryPool* pool) : pool_(pool) {}
775
776 Status Allocate(int64_t size, int64_t alignment, uint8_t** out) {
777 RETURN_NOT_OK(pool_->Allocate(size, alignment, out));
778 stats_.DidAllocateBytes(size);
779 return Status::OK();
780 }
781
782 Status Reallocate(int64_t old_size, int64_t new_size, int64_t alignment,
783 uint8_t** ptr) {

Callers

nothing calls this directly

Calls 3

DidAllocateBytesMethod · 0.80
OKFunction · 0.70
AllocateMethod · 0.45

Tested by

no test coverage detected