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

Method Reallocate

cpp/src/arrow/memory_pool.cc:777–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

775 }
776
777 Status Reallocate(int64_t old_size, int64_t new_size, int64_t alignment,
778 uint8_t** ptr) {
779 RETURN_NOT_OK(pool_->Reallocate(old_size, new_size, alignment, ptr));
780 stats_.DidReallocateBytes(old_size, new_size);
781 return Status::OK();
782 }
783
784 void Free(uint8_t* buffer, int64_t size, int64_t alignment) {
785 pool_->Free(buffer, size, alignment);

Callers

nothing calls this directly

Calls 3

DidReallocateBytesMethod · 0.80
OKFunction · 0.70
ReallocateMethod · 0.45

Tested by

no test coverage detected