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

Method Tell

cpp/src/arrow/io/buffered.cc:277–284  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 Result<int64_t> Tell() const {
278 if (raw_pos_ == -1) {
279 ARROW_ASSIGN_OR_RAISE(raw_pos_, raw_->Tell());
280 DCHECK_GE(raw_pos_, 0);
281 }
282 // Shift by bytes_buffered to return semantic stream position
283 return raw_pos_ - bytes_buffered_;
284 }
285
286 // Resize internal read buffer. Note that the internal buffer-size
287 // should not be larger than the raw_read_bound_.

Callers

nothing calls this directly

Calls 2

ARROW_ASSIGN_OR_RAISEFunction · 0.50
TellMethod · 0.45

Tested by

no test coverage detected