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

Method Allocate

cpp/src/arrow/memory_pool.cc:771–775  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

769 explicit ProxyMemoryPoolImpl(MemoryPool* pool) : pool_(pool) {}
770
771 Status Allocate(int64_t size, int64_t alignment, uint8_t** out) {
772 RETURN_NOT_OK(pool_->Allocate(size, alignment, out));
773 stats_.DidAllocateBytes(size);
774 return Status::OK();
775 }
776
777 Status Reallocate(int64_t old_size, int64_t new_size, int64_t alignment,
778 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