MCPcopy Index your code
hub / github.com/RustPython/RustPython / valid_read

Method valid_read

crates/vm/src/stdlib/_io.rs:857–859  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

855
856 #[inline]
857 const fn valid_read(&self) -> bool {
858 self.readable() && self.read_end != -1
859 }
860
861 #[inline]
862 const fn valid_write(&self) -> bool {

Callers 5

raw_offsetMethod · 0.80
readaheadMethod · 0.80
writeMethod · 0.80
fill_bufferMethod · 0.80
adjust_positionMethod · 0.80

Calls 1

readableMethod · 0.45

Tested by

no test coverage detected