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

Method Exec

cpp/src/arrow/util/byte_size.cc:400–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398 }
399
400 static Result<std::shared_ptr<Array>> Exec(const ArrayData& input) {
401 UInt64Builder range_starts, range_offsets, range_lengths;
402 GetByteRangesArray self{input, input.offset, input.length,
403 &range_starts, &range_offsets, &range_lengths};
404 RETURN_NOT_OK(VisitTypeInline(*input.type, &self));
405 return self.MakeRanges();
406 }
407};
408
409int64_t RangesToLengthSum(const Array& ranges) {

Callers

nothing calls this directly

Calls 2

MakeRangesMethod · 0.95
VisitTypeInlineFunction · 0.85

Tested by

no test coverage detected