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

Method doRecvmsg

Lib/test/test_socket.py:3208–3216  ·  view source on GitHub ↗
(self, sock, bufsize, *args)

Source from the content-addressed store, hash-verified

3206 *(args + self.sendmsg_to_server_defaults[len(args):]))
3207
3208 def doRecvmsg(self, sock, bufsize, *args):
3209 # Call recvmsg() on sock with given arguments and return its
3210 # result. Should be used for tests which can use either
3211 # recvmsg() or recvmsg_into() - RecvmsgIntoMixin overrides
3212 # this method with one which emulates it using recvmsg_into(),
3213 # thus allowing the same test to be used for both methods.
3214 result = sock.recvmsg(bufsize, *args)
3215 self.registerRecvmsgResult(result)
3216 return result
3217
3218 def registerRecvmsgResult(self, result):
3219 # Called by doRecvmsg() with the return value of recvmsg() or

Callers 15

testRecvmsgMethod · 0.45
testRecvmsgShorterMethod · 0.45
testRecvmsgTruncMethod · 0.45
testRecvmsgPeekMethod · 0.45
testRecvmsgEOFMethod · 0.45
testRecvmsgOverflowMethod · 0.45
testFDPassSimpleMethod · 0.45
testMultipleFDPassMethod · 0.45

Calls 2

registerRecvmsgResultMethod · 0.95
recvmsgMethod · 0.45

Tested by

no test coverage detected