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

Method recv

Lib/test/mock_socket.py:52–54  ·  view source on GitHub ↗
(self, bufsize, flags=None)

Source from the content-addressed store, hash-verified

50 self.lines.append(line)
51
52 def recv(self, bufsize, flags=None):
53 data = self.lines.pop(0) + b'\r\n'
54 return data
55
56 def fileno(self):
57 return 0

Callers 15

handleMethod · 0.45
_wait_for_ready_signalFunction · 0.45
_wait_for_signalFunction · 0.45
_wait_for_n_signalsFunction · 0.45
_run_scenario_processMethod · 0.45
_run_remote_exec_testMethod · 0.45
test_read_write_zeroMethod · 0.45
ssl_io_loopMethod · 0.45

Calls 1

popMethod · 0.45

Tested by 15

_wait_for_signalFunction · 0.36
_wait_for_n_signalsFunction · 0.36
_run_scenario_processMethod · 0.36
_run_remote_exec_testMethod · 0.36
test_read_write_zeroMethod · 0.36
ssl_io_loopMethod · 0.36
readMethod · 0.36
handle_readMethod · 0.36