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

Method Resize

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

Source from the content-addressed store, hash-verified

471 }
472
473 Status Resize(int64_t capacity) override {
474 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
475 capacity = std::max(capacity, kMinBuilderCapacity);
476 ARROW_RETURN_NOT_OK(indices_builder_.Resize(capacity));
477 capacity_ = indices_builder_.capacity();
478 return Status::OK();
479 }
480
481 /// \brief Return dictionary indices and a delta dictionary since the last
482 /// 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