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

Function PackVariadicBuffers

cpp/src/arrow/array/data.cc:106–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104namespace {
105
106BufferSpan PackVariadicBuffers(std::span<const std::shared_ptr<Buffer>> buffers) {
107 return {const_cast<uint8_t*>(reinterpret_cast<const uint8_t*>(buffers.data())),
108 static_cast<int64_t>(buffers.size() * sizeof(std::shared_ptr<Buffer>))};
109}
110
111} // namespace
112

Callers 2

SetMembersMethod · 0.85
FillFromScalarMethod · 0.85

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected