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

Function Resize

cpp/src/arrow/buffer.h:552–554  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550 /// @param shrink_to_fit Whether to shrink the capacity if new size < current size
551 virtual Status Resize(const int64_t new_size, bool shrink_to_fit) = 0;
552 Status Resize(const int64_t new_size) {
553 return Resize(new_size, /*shrink_to_fit=*/true);
554 }
555
556 /// Ensure that buffer has enough memory allocated to fit the indicated
557 /// capacity (and meets the 64 byte padding requirement in Layout.md).

Callers 1

TypedResizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected