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

Method initiate_send

Lib/test/support/asyncore.py:528–531  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

526 self.out_buffer = b''
527
528 def initiate_send(self):
529 num_sent = 0
530 num_sent = dispatcher.send(self, self.out_buffer[:65536])
531 self.out_buffer = self.out_buffer[num_sent:]
532
533 def handle_write(self):
534 self.initiate_send()

Callers 2

handle_writeMethod · 0.95
sendMethod · 0.95

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected