MCPcopy Index your code
hub / github.com/python/cpython / _send

Method _send

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

Source from the content-addressed store, hash-verified

396 _read = os.read
397
398 def _send(self, buf, write=_write):
399 remaining = len(buf)
400 while True:
401 n = write(self._handle, buf)
402 remaining -= n
403 if remaining == 0:
404 break
405 buf = buf[n:]
406
407 def _recv(self, size, read=_read):
408 buf = io.BytesIO()

Callers 1

_send_bytesMethod · 0.95

Calls 1

writeFunction · 0.50

Tested by

no test coverage detected