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

Function ReservePhysical

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

\brief Ensure that there is enough space allocated to append the indicated number of run without any further reallocation. Overallocation is used in order to minimize the impact of incremental ReservePhysical() calls. Note that additional_capacity is relative to the current number of elements rather than to the current capacity, so calls to Reserve() which are not interspersed with addition of new

Source from the content-addressed store, hash-verified

226 /// \param[in] additional_capacity the number of additional runs
227 /// \return Status
228 Status ReservePhysical(int64_t additional_capacity) {
229 return Reserve(additional_capacity);
230 }
231
232 void Reset() override;
233

Callers 1

DoAppendArraySliceMethod · 0.85

Calls 1

ReserveFunction · 0.70

Tested by

no test coverage detected