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

Method Resize

cpp/src/arrow/array/builder_dict.h:465–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

463 }
464
465 Status Resize(int64_t capacity) override {
466 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
467 capacity = std::max(capacity, kMinBuilderCapacity);
468 ARROW_RETURN_NOT_OK(indices_builder_.Resize(capacity));
469 capacity_ = indices_builder_.capacity();
470 return Status::OK();
471 }
472
473 /// \brief Return dictionary indices and a delta dictionary since the last
474 /// time that Finish or FinishDelta were called, and reset state of builder

Callers 1

ResizeMethod · 0.45

Calls 3

CheckCapacityFunction · 0.85
OKFunction · 0.50
capacityMethod · 0.45

Tested by

no test coverage detected