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

Function ReferencedBufferSize

cpp/src/arrow/util/byte_size.cc:426–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

424}
425
426Result<int64_t> ReferencedBufferSize(const ArrayData& array_data) {
427 ARROW_ASSIGN_OR_RAISE(const std::shared_ptr<Array> ranges,
428 GetByteRangesArray::Exec(array_data));
429 return RangesToLengthSum(*ranges);
430}
431
432Result<int64_t> ReferencedBufferSize(const Array& array) {
433 ARROW_ASSIGN_OR_RAISE(const std::shared_ptr<Array> ranges,

Callers 5

TESTFunction · 0.85

Calls 3

RangesToLengthSumFunction · 0.85
columnsMethod · 0.80
chunksMethod · 0.45

Tested by 1

TESTFunction · 0.68