Home
last modified time | relevance | path

Searched defs:_T (Results 1 – 9 of 9) sorted by relevance

/petsc/lib/petsc/bin/maint/petsclinter/petsclinter/util/
H A D_clang.py123 _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.py20 _T = TypeVar('_T') variable
45 def decorator(func: Callable[_P, _T]) -> Callable[_P, _T]: argument
H A D_utility.py43 _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.py12 _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.py10 _T = TypeVar('_T') variable
41 def _get_cached(self, attr: str, func: Callable[..., _T], *args, **kwargs) -> _T: argument
H A D_weak_list.py10 _T = TypeVar('_T') variable
H A D_diag.py15 _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.py23 _T = TypeVar('_T') variable
187 def prune(container: list[_T]) -> list[_T]:
/petsc/lib/petsc/bin/maint/
H A Dcheck_header_guard.py294 _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…