MCPcopy Create free account
hub / github.com/apache/arrow-rs / fill_buf

Method fill_buf

arrow-csv/src/reader/mod.rs:2635–2640  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

2633
2634 impl<R: BufRead> BufRead for InstrumentedRead<R> {
2635 fn fill_buf(&mut self) -> std::io::Result<&[u8]> {
2636 self.fill_count += 1;
2637 let buf = self.r.fill_buf()?;
2638 self.fill_sizes.push(buf.len());
2639 Ok(buf)
2640 }
2641
2642 fn consume(&mut self, amt: usize) {
2643 self.r.consume(amt)

Callers 5

readMethod · 0.45
read_headerFunction · 0.45
readMethod · 0.45
test_basicFunction · 0.45
readMethod · 0.45

Calls 2

pushMethod · 0.45
lenMethod · 0.45

Tested by 1

test_basicFunction · 0.36