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

Function SetBuffer

cpp/src/arrow/array/data.h:578–582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

576 void SetMembers(const ArrayData& data);
577
578 void SetBuffer(int index, const std::shared_ptr<Buffer>& buffer) {
579 this->buffers[index].data = const_cast<uint8_t*>(buffer->data());
580 this->buffers[index].size = buffer->size();
581 this->buffers[index].owner = &buffer;
582 }
583
584 const ArraySpan& dictionary() const { return child_data[0]; }
585

Callers 1

SetMembersMethod · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected