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

Function Resize

cpp/src/arrow/array/builder_binary.h:703–708  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701 void Reset() override;
702
703 Status Resize(int64_t capacity) override {
704 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
705 capacity = std::max(capacity, kMinBuilderCapacity);
706 ARROW_RETURN_NOT_OK(data_builder_.Resize(capacity));
707 return ArrayBuilder::Resize(capacity);
708 }
709
710 Status FinishInternal(std::shared_ptr<ArrayData>* out) override;
711

Callers 10

ResizeMethod · 0.70
ResizeMethod · 0.70
ResizeMethod · 0.70
ResizeMethod · 0.70
ResizeMethod · 0.70
ExpandIntSizeInternalMethod · 0.70
ReserveFunction · 0.70
ResizeMethod · 0.70
ResizeMethod · 0.70
ResizeMethod · 0.70

Calls 2

CheckCapacityFunction · 0.85
ResizeMethod · 0.45

Tested by

no test coverage detected