MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / r_long

Method r_long

tools/python-3.11.9-amd64/Tools/scripts/umarshal.py:113–120  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 return x
112
113 def r_long(self) -> int:
114 buf = self.r_string(4)
115 x = buf[0]
116 x |= buf[1] << 8
117 x |= buf[2] << 16
118 x |= buf[3] << 24
119 x |= -(x & (1<<31)) # Sign-extend
120 return x
121
122 def r_long64(self) -> int:
123 buf = self.r_string(8)

Callers 2

r_PyLongMethod · 0.95
_r_objectMethod · 0.95

Calls 1

r_stringMethod · 0.95

Tested by

no test coverage detected