Searched defs:_T (Results 1 – 9 of 9) sorted by relevance
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/ |
| H A D | _clang.py | 123 _T = TypeVar('_T') variable 134 def __call__(*args: _T) -> _U: ... 146 def __init__(self, function: CTypesCallable[_T, _U]) -> None: 206 def get_clang_function(name: str, arg_types: Sequence[type[_T]]) -> ClangFunction[_T, ctypes.c_uint… 210 def get_clang_function(name: str, arg_types: Sequence[type[_T]], ret_type: type[_U]) -> ClangFuncti… 213 def get_clang_function(name: str, arg_types: Sequence[type[_T]], ret_type: Optional[type[_U]] = Non…
|
| H A D | _timeout.py | 20 _T = TypeVar('_T') variable 45 def decorator(func: Callable[_P, _T]) -> Callable[_P, _T]: argument
|
| H A D | _utility.py | 43 _T = TypeVar('_T') variable 45 def subprocess_check_returncode(ret: subprocess.CompletedProcess[_T]) -> subprocess.CompletedProces…
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/checks/ |
| H A D | _register.py | 12 _T = TypeVar('_T') variable 41 def __register_base(key: _T, value: _U, target_map: dict[_T, _U], exist_ok: bool) -> None:
|
| /petsc/lib/petsc/bin/maint/petsclinter/petsclinter/classes/ |
| H A D | _attr_cache.py | 10 _T = TypeVar('_T') variable 41 def _get_cached(self, attr: str, func: Callable[..., _T], *args, **kwargs) -> _T: argument
|
| H A D | _weak_list.py | 10 _T = TypeVar('_T') variable
|
| H A D | _diag.py | 15 _T = TypeVar('_T') variable 214 def _inject_diag_map(cls, symbol: _T, diag_pairs: Iterable[tuple[str, str]]) -> _T: 270 def decorator(symbol: _T) -> _T:
|
| H A D | _pool.py | 23 _T = TypeVar('_T') variable 187 def prune(container: list[_T]) -> list[_T]:
|
| /petsc/lib/petsc/bin/maint/ |
| H A D | check_header_guard.py | 294 _T = TypeVar('_T', bound=Replacer) variable 296 def do_replacement(replacer: _T, lines: Iterable[str]) -> list[str]: 345 def replace_in_file(path: pathlib.Path, opts: argparse.Namespace, ReplacerCls: type[_T]) -> list[st…
|