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

Function CoalesceReadRanges

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

Source from the content-addressed store, hash-verified

505}; // namespace
506
507Result<std::vector<ReadRange>> CoalesceReadRanges(std::vector<ReadRange> ranges,
508 int64_t hole_size_limit,
509 int64_t range_size_limit) {
510 DCHECK_GT(range_size_limit, hole_size_limit);
511
512 ReadRangeCombiner combiner{hole_size_limit, range_size_limit};
513 return combiner.Coalesce(std::move(ranges));
514}
515
516} // namespace internal
517} // namespace io

Callers 3

CacheMethod · 0.85
TESTFunction · 0.85
GetReadRangesMethod · 0.85

Calls 1

CoalesceMethod · 0.45

Tested by 1

TESTFunction · 0.68