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

Function SetBuffer

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

Source from the content-addressed store, hash-verified

537 void SetMembers(const ArrayData& data);
538
539 void SetBuffer(int index, const std::shared_ptr<Buffer>& buffer) {
540 this->buffers[index].data = const_cast<uint8_t*>(buffer->data());
541 this->buffers[index].size = buffer->size();
542 this->buffers[index].owner = &buffer;
543 }
544
545 const ArraySpan& dictionary() const { return child_data[0]; }
546

Callers 1

SetMembersMethod · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected