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

Function SumBufferSizesInBytes

cpp/src/arrow/array/concatenate.cc:130–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130int64_t SumBufferSizesInBytes(const BufferVector& buffers) {
131 int64_t size = 0;
132 for (const auto& buffer : buffers) {
133 size += buffer->size();
134 }
135 return size;
136}
137
138// Write offsets in src into dst, adjusting them such that first_offset
139// will be the first offset written.

Callers 2

ConcatenateOffsetsFunction · 0.85

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected