Home
last modified time | relevance | path

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

12

/aosp_15_r20/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)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/
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)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/
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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/
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)
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/
H A 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__', {})
H A 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 …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/
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)
/aosp_15_r20/external/pytorch/test/dynamo/
H A Dtest_skip_non_tensor.py14 def user_function(): function
32 if user_function():
46 if user_function():
59 if user_function():
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dcompat.py494 def decorating_function(user_function): argument
503 result = user_function(self)
509 wrapper.__module__ = getattr(user_function, '__module__')
510 wrapper.__doc__ = getattr(user_function, '__doc__')
511 wrapper.__name__ = getattr(user_function, '__name__')
512 wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dcompat.py494 def decorating_function(user_function): argument
503 result = user_function(self)
509 wrapper.__module__ = getattr(user_function, '__module__')
510 wrapper.__doc__ = getattr(user_function, '__doc__')
511 wrapper.__name__ = getattr(user_function, '__name__')
512 wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dcompat.py494 def decorating_function(user_function): argument
503 result = user_function(self)
509 wrapper.__module__ = getattr(user_function, '__module__')
510 wrapper.__doc__ = getattr(user_function, '__doc__')
511 wrapper.__name__ = getattr(user_function, '__name__')
512 wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/site-packages/pip/_vendor/distlib/
Dcompat.py494 def decorating_function(user_function): argument
503 result = user_function(self)
509 wrapper.__module__ = getattr(user_function, '__module__')
510 wrapper.__doc__ = getattr(user_function, '__doc__')
511 wrapper.__name__ = getattr(user_function, '__name__')
512 wrapper.__annotations__ = getattr(user_function, '__annotations__', {})
/aosp_15_r20/external/yapf/yapf/yapflib/
H A Dpy3compat.py60 def fake_wrapper(user_function): argument
61 return user_function
/aosp_15_r20/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)
/aosp_15_r20/external/clang/test/Index/
H A Dretain-comments-from-system-headers.c9 int user_function(int a);
/aosp_15_r20/external/pytorch/torch/distributed/tensor/
H A D_sharding_prop.py42 def __init__(self, user_function: Callable) -> None:
43 self.cache = lru_cache(None)(user_function)

12