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

Method send

Lib/test/test_asyncio/test_ssl.py:1562–1565  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

1560 return getattr(self.sock, name)
1561
1562 def send(self, data):
1563 # Fake that our write buffer is full, send only half
1564 to_send = len(data)//2
1565 return self.sock.send(data[:to_send])
1566
1567 def _fake_full_write_buffer(data):
1568 if socket_transport._read_ready_cb is None and not isinstance(socket_transport._sock, SocketWrapper):

Callers 5

progMethod · 0.45
serverMethod · 0.45
doMethod · 0.45
eof_serverMethod · 0.45
stopMethod · 0.45

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected