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

Method UpdateBufferPointers

cpp/src/arrow/compute/row/row_internal.cc:251–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void RowTableImpl::UpdateBufferPointers() {
252 buffers_[0] = null_masks_.get();
253 if (metadata_.is_fixed_length) {
254 buffers_[1] = rows_.get();
255 buffers_[2] = nullptr;
256 } else {
257 buffers_[1] = offsets_.get();
258 buffers_[2] = rows_.get();
259 }
260}
261
262Status RowTableImpl::ResizeFixedLengthBuffers(int64_t num_extra_rows) {
263 if (rows_capacity_ >= num_rows_ + num_extra_rows) {

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected