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

Function _get_cache_size

Lib/dis.py:340–341  ·  view source on GitHub ↗
(opname)

Source from the content-addressed store, hash-verified

338_OPARG_WIDTH = 5
339
340def _get_cache_size(opname):
341 return _inline_cache_entries.get(opname, 0)
342
343def _get_jump_target(op, arg, offset):
344 """Gets the bytecode offset of the jump target if this is a jump instruction.

Callers 6

_get_jump_targetFunction · 0.85
end_offsetMethod · 0.85
offset_from_jump_argMethod · 0.85
_get_instructions_bytesFunction · 0.85
print_instructionsFunction · 0.85
_unpack_opargsFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…