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

Method Read

cpp/src/arrow/io/slow.cc:90–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88Result<int64_t> SlowInputStream::Tell() const { return stream_->Tell(); }
89
90Result<int64_t> SlowInputStream::Read(int64_t nbytes, void* out) {
91 latencies_->Sleep();
92 return stream_->Read(nbytes, out);
93}
94
95Result<std::shared_ptr<Buffer>> SlowInputStream::Read(int64_t nbytes) {
96 latencies_->Sleep();

Callers 15

TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45
TestReadsMethod · 0.45
TESTFunction · 0.45
TestBufferReaderLifetimeFunction · 0.45
TestEmptyStreamMethod · 0.45
TestCloseMethod · 0.45
operator()Method · 0.45
TESTFunction · 0.45

Calls 1

SleepMethod · 0.80

Tested by 11

TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_PFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TestReadsMethod · 0.36
TESTFunction · 0.36
TestBufferReaderLifetimeFunction · 0.36
TestEmptyStreamMethod · 0.36
TestCloseMethod · 0.36
TESTFunction · 0.36