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

Method Reallocate

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

Source from the content-addressed store, hash-verified

780 }
781
782 Status Reallocate(int64_t old_size, int64_t new_size, int64_t alignment,
783 uint8_t** ptr) {
784 RETURN_NOT_OK(pool_->Reallocate(old_size, new_size, alignment, ptr));
785 stats_.DidReallocateBytes(old_size, new_size);
786 return Status::OK();
787 }
788
789 void Free(uint8_t* buffer, int64_t size, int64_t alignment) {
790 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