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

Function _get_cache_size

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

Source from the content-addressed store, hash-verified

337_OPARG_WIDTH = 5
338
339def _get_cache_size(opname):
340 return _inline_cache_entries.get(opname, 0)
341
342def _get_jump_target(op, arg, offset):
343 """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