Home
last modified time | relevance | path

Searched defs:Callable (Results 1 – 25 of 59) sorted by relevance

123

/external/llvm-project/llvm/unittests/ADT/
DScopeExitTest.cpp17 struct Callable { in TEST() struct
18 bool &Called; in TEST()
19 Callable(bool &Called) : Called(Called) {} in TEST() function
20 Callable(Callable &&RHS) : Called(RHS.Called) {} in TEST() function
21 void operator()() { Called = true; } in TEST()
DIteratorTest.cpp183 struct Callable { in TEST() struct
184 int &Counter; in TEST()
186 Callable(int &Counter) : Counter(Counter) {} in TEST() function
188 bool operator()(int N) { in TEST()
/external/pigweed/pw_rpc/py/pw_rpc/console_tools/
Dwatchdog.py27 on_reset: Callable[[], Any],
28 on_expiration: Callable[[], Any],
29 while_expired: Callable[[], Any] = lambda: None,
Dfunctions.py66 def format_function_help(function: Callable) -> str:
75 def help_as_repr(function: Callable) -> Callable:
/external/tensorflow/tensorflow/python/tpu/
Dtraining_loop.py34 def while_loop(condition: Callable[..., Any],
35 body: Callable[..., Any],
191 body: Callable[..., Union[core_types.TensorLike, Iterable]], # pylint:disable=g-bare-generic
Dtpu.py731 computation: Callable[..., Any], *args, **kwargs
882 computation: Callable[..., Any],
1175 computation: Callable[..., Any],
1710 computation: Callable[..., Any],
1867 computation: Callable[..., Any],
1953 computation: Callable[..., Any],
2015 computation: Callable[..., Any],
2172 computation: Callable[..., Any],
Dtpu_embedding_v2_utils.py55 learning_rate: Union[float, Callable[[], float]], argument
216 learning_rate: Union[float, Callable[[], float]] = 0.01, argument
433 learning_rate: Union[float, Callable[[], float]] = 0.001, argument
Dtpu_embedding_v2.py1461 load: Callable[[], Any],
1462 retrieve: Callable[[], Any]):
1711 next_creator: Callable[..., tf_variables.Variable], *args, **kwargs):
/external/openscreen/third_party/abseil/src/absl/strings/internal/
Dstring_constant_test.cc25 struct Callable { struct
26 constexpr absl::string_view operator()() const { in operator ()()
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dstring_constant_test.cc25 struct Callable { struct
26 constexpr absl::string_view operator()() const { in operator ()()
/external/pigweed/pw_presubmit/py/pw_presubmit/
Dpresubmit.py130 def __init__(self, name: str, steps: Iterable[Callable]):
253 self, program: Sequence[Callable]
389 def run(program: Sequence[Callable],
471 check_function: Callable,
533 def _required_args(function: Callable) -> Iterable[Parameter]:
542 def _ensure_is_valid_presubmit_check_function(check: Callable) -> None:
580 def filter_paths_for_function(function: Callable):
Dcli.py141 program: Sequence[Callable],
/external/toolchain-utils/rust_tools/
Drust_uprev.py460 step_fn: Callable[[], T],
492 skip_compile: bool, run_step: Callable[[], T]) -> None:
551 run_step: Callable[[], T]) -> None:
648 step_fn: Callable[[], T],
/external/llvm-project/libc/utils/UnitTest/
DTest.h117 struct Callable : public testutils::FunctionCaller { in createCallable() struct
118 Func f; in createCallable()
119 Callable(Func f) : f(f) {} in createCallable() function
120 void operator()() override { f(); } in createCallable()
/external/pigweed/pw_hdlc/py/pw_hdlc/
Drpc.py68 def read_and_process_data(read: Callable[[], bytes],
125 read: Callable[[], bytes],
/external/python/cpython3/Lib/asyncio/
Dstaggered.py15 coro_fns: typing.Iterable[typing.Callable[[], typing.Awaitable]],
/external/starlark-go/starlark/
Ddebug.go31 Callable() Callable // returns the frame's function methodSpec
Dprofile.go385 func profFuncAddr(fn Callable) uintptr {
/external/python/cpython3/Tools/peg_generator/pegen/
Dparser.py222 def positive_lookahead(self, func: Callable[..., T], *args: object) -> T:
228 def negative_lookahead(self, func: Callable[..., object], *args: object) -> bool:
Dgrammar_visualizer.py28 def print_grammar_ast(self, grammar: Grammar, printer: Callable[..., None] = print) -> None:
/external/llvm-project/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/
Dp4.cpp154 struct Callable { void operator()(S); }; struct
155 static struct Callable Callable; variable
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session.h371 struct Callable { struct
374 ~Callable(); argument
/external/pigweed/pw_cli/py/pw_cli/
Dplugins.py369 function: Callable = None,
373 def decorator(function: Callable) -> Callable:
/external/python/cpython3/Doc/library/
Dtyping.rst151 Callable chapter
/external/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
DPythonDataObjects.h109 Callable, enumerator

123