MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / read

Method read

tools/python-3.11.9-amd64/Lib/tarfile.py:524–529  ·  view source on GitHub ↗

Return the next size number of bytes from the stream.

(self, size)

Source from the content-addressed store, hash-verified

522 return self.pos
523
524 def read(self, size):
525 """Return the next size number of bytes from the stream."""
526 assert size is not None
527 buf = self._read(size)
528 self.pos += len(buf)
529 return buf
530
531 def _read(self, size):
532 """Return size bytes from the stream.

Callers 14

_init_read_gzMethod · 0.95
seekMethod · 0.95
copyfileobjFunction · 0.45
readMethod · 0.45
_readMethod · 0.45
__readMethod · 0.45
__init__Method · 0.45
readMethod · 0.45
fromtarfileMethod · 0.45
_proc_gnulongMethod · 0.45
_proc_sparseMethod · 0.45
_proc_paxMethod · 0.45

Calls 1

_readMethod · 0.95

Tested by

no test coverage detected