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

Method Resize

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

Source from the content-addressed store, hash-verified

322 }
323
324 Status Resize(int64_t capacity) override {
325 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
326 // One more than requested for offsets
327 ARROW_RETURN_NOT_OK(offsets_builder_.Resize(capacity + 1));
328 return ArrayBuilder::Resize(capacity);
329 }
330
331 /// \brief Ensures there is enough allocated capacity to append the indicated
332 /// number of bytes to the value data buffer without additional allocations

Callers 2

builder_binary.hFile · 0.45
ResizeFunction · 0.45

Calls 2

CheckCapacityFunction · 0.85
ResizeFunction · 0.70

Tested by

no test coverage detected