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

Method eof

crates/stdlib/src/openssl.rs:3615–3618  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

3613
3614 #[pygetset]
3615 fn eof(&self) -> bool {
3616 let pending = unsafe { BIO_ctrl_pending(self.bio) };
3617 pending == 0 && self.eof_written.load()
3618 }
3619
3620 #[pymethod]
3621 fn read(&self, size: OptionalArg<i32>, vm: &VirtualMachine) -> PyResult<Vec<u8>> {

Callers

nothing calls this directly

Calls 2

BIO_ctrl_pendingFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected