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

Function Resize

cpp/src/arrow/array/builder_run_end.h:214–214  ·  view source on GitHub ↗

\brief Allocate enough memory for a given number of array elements. NOTE: Conservatively resizing an REE for a given number of logical elements is not possible, since the physical length will vary depending on the values to be appended in the future. But we can pessimistically assume that each run will contain a single value and allocate that number of runs.

Source from the content-addressed store, hash-verified

212 /// that each run will contain a single value and allocate that number of
213 /// runs.
214 Status Resize(int64_t capacity) override { return ResizePhysical(capacity); }
215
216 /// \brief Allocate enough memory for a given number of runs.
217 Status ResizePhysical(int64_t capacity);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected