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

Method Resize

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

Source from the content-addressed store, hash-verified

320 }
321
322 Status Resize(int64_t capacity) override {
323 ARROW_RETURN_NOT_OK(CheckCapacity(capacity));
324 // One more than requested for offsets
325 ARROW_RETURN_NOT_OK(offsets_builder_.Resize(capacity + 1));
326 return ArrayBuilder::Resize(capacity);
327 }
328
329 /// \brief Ensures there is enough allocated capacity to append the indicated
330 /// 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