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

Method Resize

cpp/src/arrow/array/builder_primitive.h:154–159  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152 }
153
154 Status Resize(int64_t capacity) override {
155 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
156 capacity = std::max(capacity, kMinBuilderCapacity);
157 ARROW_RETURN_NOT_OK(data_builder_.Resize(capacity));
158 return ArrayBuilder::Resize(capacity);
159 }
160
161 value_type operator[](int64_t index) const { return GetValue(index); }
162

Callers

nothing calls this directly

Calls 2

CheckCapacityFunction · 0.85
ResizeFunction · 0.70

Tested by

no test coverage detected