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

Function read_varint

Tools/gdb/libpython.py:657–665  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

655 return ord(next(it))
656
657def read_varint(it):
658 b = read(it)
659 val = b & 63;
660 shift = 0;
661 while b & 64:
662 b = read(it)
663 shift += 6
664 val |= (b&63) << shift
665 return val
666
667def read_signed_varint(it):
668 uval = read_varint(it)

Callers 2

read_signed_varintFunction · 0.70
parse_location_tableFunction · 0.70

Calls 1

readFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…