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

Function CoalesceReadRanges

cpp/src/arrow/io/interfaces.cc:542–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

540}; // namespace
541
542Result<std::vector<ReadRange>> CoalesceReadRanges(std::vector<ReadRange> ranges,
543 int64_t hole_size_limit,
544 int64_t range_size_limit) {
545 DCHECK_GT(range_size_limit, hole_size_limit);
546
547 ReadRangeCombiner combiner{hole_size_limit, range_size_limit};
548 return combiner.Coalesce(std::move(ranges));
549}
550
551} // namespace internal
552} // namespace io

Callers 3

CacheMethod · 0.85
TESTFunction · 0.85
GetReadRangesMethod · 0.85

Calls 1

CoalesceMethod · 0.45

Tested by 1

TESTFunction · 0.68