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

Method Resize

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

\brief Allocate enough memory for a given number of array elements. NOTE: Conservatively resizing a run-length compressed array 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

96 /// pessimistically assume that each run will contain a single value and
97 /// allocate that number of runs.
98 Status Resize(int64_t capacity) override { return ResizePhysical(capacity); }
99
100 /// \brief Allocate enough memory for a given number of runs.
101 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected