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

Method _unpack_cookie

Lib/_pyio.py:2392–2397  ·  view source on GitHub ↗
(self, bigint)

Source from the content-addressed store, hash-verified

2390 (chars_to_skip<<192) | bool(need_eof)<<256)
2391
2392 def _unpack_cookie(self, bigint):
2393 rest, position = divmod(bigint, 1<<64)
2394 rest, dec_flags = divmod(rest, 1<<64)
2395 rest, bytes_to_feed = divmod(rest, 1<<64)
2396 need_eof, chars_to_skip = divmod(rest, 1<<64)
2397 return position, dec_flags, bytes_to_feed, bool(need_eof), chars_to_skip
2398
2399 def tell(self):
2400 if not self._seekable:

Callers 1

seekMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected