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

Method Resize

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

Source from the content-addressed store, hash-verified

482 }
483
484 Status Resize(int64_t capacity) override {
485 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
486 capacity = std::max(capacity, kMinBuilderCapacity);
487 ARROW_RETURN_NOT_OK(indices_builder_.Resize(capacity));
488 capacity_ = indices_builder_.capacity();
489 return Status::OK();
490 }
491
492 /// \brief Return dictionary indices and a delta dictionary since the last
493 /// 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