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

Function ResizePoolBuffer

cpp/src/arrow/memory_pool.cc:1002–1006  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1000// a PoolBuffer.
1001template <typename BufferPtr, typename PoolBufferPtr>
1002inline Result<BufferPtr> ResizePoolBuffer(PoolBufferPtr&& buffer, const int64_t size) {
1003 RETURN_NOT_OK(buffer->Resize(size));
1004 buffer->ZeroPadding();
1005 return std::move(buffer);
1006}
1007
1008} // namespace
1009

Callers

nothing calls this directly

Calls 1

ResizeMethod · 0.45

Tested by

no test coverage detected