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

Function Resize

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

Source from the content-addressed store, hash-verified

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

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