Lines Matching defs:self
25 def __init__(self): argument
28 def init(self, tag: int = 0, free: bool = True): argument
35 def __str__(self) -> str: argument
63 self, argument
107 def read(self, addr: int) -> None: argument
122 def write(self, addr: int) -> None: argument
136 def flush(self) -> None: argument
141 def _select_evicted_index(self, lines_in_set: list) -> int: argument
153 def _load(self, addr: int) -> None: argument
180 def _addr_get_tag(self, addr: int) -> int: argument
185 def _addr_get_set(self, addr: int) -> int: argument
190 def _addr_get_offset(self, addr: int) -> int: argument
195 def _get_lines_in_set(self, set_index: int) -> List[CacheLine]: argument
202 def _line_lookup(self, addr: int) -> CacheLine | None: argument
207 def printd(self, *args, **kwargs): argument
211 def print_addr_info(self, addr: int, format: str = 'hex') -> None: argument
218 def print_cache_info(self) -> None: argument
237 def print_hmr(self) -> None: argument
244 def print_debug_lines(self, include_empty_tags: bool = False) -> None: argument