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

Function OffsetsAndSizesForScalar

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

Source from the content-addressed store, hash-verified

344}
345
346std::pair<BufferSpan, BufferSpan> OffsetsAndSizesForScalar(uint8_t* scratch_space,
347 int64_t offset_width) {
348 auto* offsets = scratch_space;
349 auto* sizes = scratch_space + offset_width;
350 return {BufferSpan{offsets, offset_width}, BufferSpan{sizes, offset_width}};
351}
352
353int GetNumBuffers(const DataType& type) {
354 switch (type.id()) {

Callers 1

FillFromScalarMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected