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

Function ResizePoolBuffer

cpp/src/arrow/memory_pool.cc:997–1001  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995// a PoolBuffer.
996template <typename BufferPtr, typename PoolBufferPtr>
997inline Result<BufferPtr> ResizePoolBuffer(PoolBufferPtr&& buffer, const int64_t size) {
998 RETURN_NOT_OK(buffer->Resize(size));
999 buffer->ZeroPadding();
1000 return std::move(buffer);
1001}
1002
1003} // namespace
1004

Callers

nothing calls this directly

Calls 1

ResizeMethod · 0.45

Tested by

no test coverage detected