MCPcopy Index your code
hub / github.com/RustPython/RustPython / read_varint

Function read_varint

Lib/test/test_code.py:1293–1301  ·  view source on GitHub ↗
(it)

Source from the content-addressed store, hash-verified

1291 return next(it)
1292
1293def read_varint(it):
1294 b = read(it)
1295 val = b & 63;
1296 shift = 0;
1297 while b & 64:
1298 b = read(it)
1299 shift += 6
1300 val |= (b&63) << shift
1301 return val
1302
1303def read_signed_varint(it):
1304 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