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

Method ReadAsync

cpp/src/arrow/io/file.cc:710–714  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

708}
709
710Future<std::shared_ptr<Buffer>> MemoryMappedFile::ReadAsync(const IOContext&,
711 int64_t position,
712 int64_t nbytes) {
713 return Future<std::shared_ptr<Buffer>>::MakeFinished(ReadAt(position, nbytes));
714}
715
716Status MemoryMappedFile::WillNeed(const std::vector<ReadRange>& ranges) {
717 using ::arrow::internal::MemoryRegion;

Callers 6

TEST_FFunction · 0.45
MakeCacheEntriesMethod · 0.45
ReadMethod · 0.45
MaybeReadMethod · 0.45
ParseMetaDataAsyncMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36