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

Method ReadAsync

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

Source from the content-addressed store, hash-verified

716}
717
718Future<std::shared_ptr<Buffer>> MemoryMappedFile::ReadAsync(const IOContext&,
719 int64_t position,
720 int64_t nbytes) {
721 return Future<std::shared_ptr<Buffer>>::MakeFinished(ReadAt(position, nbytes));
722}
723
724Status MemoryMappedFile::WillNeed(const std::vector<ReadRange>& ranges) {
725 using ::arrow::internal::MemoryRegion;

Callers 6

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

Calls 1

ReadAtFunction · 0.85

Tested by 1

TEST_FFunction · 0.36