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

Method load_long4

tools/python-3.11.9-amd64/Lib/pickle.py:1305–1311  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1303 dispatch[LONG1[0]] = load_long1
1304
1305 def load_long4(self):
1306 n, = unpack('<i', self.read(4))
1307 if n < 0:
1308 # Corrupt or hostile pickle -- we never write one like this
1309 raise UnpicklingError("LONG pickle has negative byte count")
1310 data = self.read(n)
1311 self.append(decode_long(data))
1312 dispatch[LONG4[0]] = load_long4
1313
1314 def load_float(self):

Callers

nothing calls this directly

Calls 5

UnpicklingErrorClass · 0.85
decode_longFunction · 0.85
unpackFunction · 0.50
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected