MCPcopy Create free account
hub / github.com/bslatkin/effectivepython / recv

Method recv

example_code/item_099.py:139–140  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

137class FakeSocket:
138
139 def recv(self, size):
140 return video_view[byte_offset : byte_offset + size]
141
142 def recv_into(self, buffer):
143 source_data = video_view[byte_offset : byte_offset + size]

Callers 7

game_logicFunction · 0.80
count_neighborsFunction · 0.80
item_099.pyFile · 0.80
run_testFunction · 0.80
game_logicFunction · 0.80
game_logicFunction · 0.80
game_logicFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected