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

Function read

crates/common/src/crt_fd.rs:390–392  ·  view source on GitHub ↗
(fd: Borrowed<'_>, buf: &mut [u8])

Source from the content-addressed store, hash-verified

388}
389
390pub fn read(fd: Borrowed<'_>, buf: &mut [u8]) -> io::Result<usize> {
391 _read(fd.as_raw(), buf)
392}
393
394macro_rules! impl_rw {
395 ($t:ty) => {

Callers 13

popMethod · 0.70
nextMethod · 0.70
next_backMethod · 0.70
get_prevMethod · 0.70
get_nextMethod · 0.70
load_cert_chainMethod · 0.50
close_filetable_fdsFunction · 0.50
load_crl_from_fileMethod · 0.50
_test_decode_certFunction · 0.50
_test_decode_certFunction · 0.50
load_from_fileMethod · 0.50
load_from_dirMethod · 0.50

Calls 2

_readFunction · 0.70
as_rawMethod · 0.45

Tested by

no test coverage detected