Home
last modified time | relevance | path

Searched refs:user_function (Results 1 – 17 of 17) sorted by relevance

/external/python/cpython3/Lib/
Dreprlib.py12 def decorating_function(user_function): argument
21 result = user_function(self)
27 wrapper.__module__ = getattr(user_function, '__module__')
28 wrapper.__doc__ = getattr(user_function, '__doc__')
29 wrapper.__name__ = getattr(user_function, '__name__')
30 wrapper.__qualname__ = getattr(user_function, '__qualname__')
31 wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
Dfunctools.py510 user_function, maxsize = maxsize, 128
511 wrapper = _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo)
513 return update_wrapper(wrapper, user_function)
518 def decorating_function(user_function): argument
519 wrapper = _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo)
521 return update_wrapper(wrapper, user_function)
525 def _lru_cache_wrapper(user_function, maxsize, typed, _CacheInfo): argument
546 result = user_function(*args, **kwds)
560 result = user_function(*args, **kwds)
584 result = user_function(*args, **kwds)
[all …]
Ddataclasses.py228 def _recursive_repr(user_function): argument
233 @functools.wraps(user_function)
240 result = user_function(self)
Dssl.py678 return inner.user_function
716 inner.user_function = callback
/external/yapf/yapf/yapflib/
Dpy3compat.py60 def fake_wrapper(user_function): argument
61 return user_function
/external/clang/test/Index/
Dretain-comments-from-system-headers.c9 int user_function(int a);
/external/python/cachetools/docs/
Dindex.rst465 If a `user_function` is specified instead, it must be a callable.
486 .. decorator:: fifo_cache(user_function)
493 .. decorator:: lfu_cache(user_function)
500 .. decorator:: lru_cache(user_function)
507 .. decorator:: mru_cache(user_function)
514 .. decorator:: rr_cache(user_function)
521 .. decorator:: ttl_cache(user_function)
/external/python/cachetools/
DCHANGELOG.rst64 - Support ``user_function`` with ``cachetools.func`` decorators
/external/python/cpython3/Doc/library/
Dfunctools.rst29 .. decorator:: cache(user_function)
136 .. decorator:: lru_cache(user_function)
159 If *user_function* is specified, it must be a callable. This allows the
260 Added the *user_function* option.
/external/llvm/test/Bindings/OCaml/
Dcore.ml604 let fn = define_function "user_function" ty m in
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h93755 acpi_walk_callback user_function; member
/external/bcc/libbpf-tools/loongarch/
Dvmlinux_602.h37691 acpi_walk_callback user_function; member
Dvmlinux.h37691 acpi_walk_callback user_function; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_518.h86565 acpi_walk_callback user_function; member
Dvmlinux.h86565 acpi_walk_callback user_function; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h41136 acpi_walk_callback user_function; member
Dvmlinux_608.h41136 acpi_walk_callback user_function; member