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

Method _send

Lib/multiprocessing/connection.py:381–388  ·  view source on GitHub ↗
(self, buf, write=_write)

Source from the content-addressed store, hash-verified

379 _read = os.read
380
381 def _send(self, buf, write=_write):
382 remaining = len(buf)
383 while True:
384 n = write(self._handle, buf)
385 remaining -= n
386 if remaining == 0:
387 break
388 buf = buf[n:]
389
390 def _recv(self, size, read=_read):
391 buf = io.BytesIO()

Callers 1

_send_bytesMethod · 0.95

Calls 2

lenFunction · 0.85
writeFunction · 0.50

Tested by

no test coverage detected