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

Method read_count_signaled

Lib/test/test_os.py:4311–4314  ·  view source on GitHub ↗
(self, fd)

Source from the content-addressed store, hash-verified

4309 return fd
4310
4311 def read_count_signaled(self, fd):
4312 # read 8 bytes
4313 data = os.read(fd, 8)
4314 return int.from_bytes(data, byteorder=sys.byteorder)
4315
4316 def test_timerfd_initval(self):
4317 fd = self.timerfd_create(time.CLOCK_REALTIME)

Calls 2

readMethod · 0.45
from_bytesMethod · 0.45

Tested by

no test coverage detected