MCPcopy Index your code
hub / github.com/python/cpython / load_long4

Method load_long4

Lib/pickle.py:1444–1450  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1442 dispatch[LONG1[0]] = load_long1
1443
1444 def load_long4(self):
1445 n, = unpack('<i', self.read(4))
1446 if n < 0:
1447 # Corrupt or hostile pickle -- we never write one like this
1448 raise UnpicklingError("LONG pickle has negative byte count")
1449 data = self.read(n)
1450 self.append(decode_long(data))
1451 dispatch[LONG4[0]] = load_long4
1452
1453 def load_float(self):

Callers

nothing calls this directly

Calls 4

UnpicklingErrorClass · 0.85
decode_longFunction · 0.85
readMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected