/aosp_15_r20/external/python/cpython3/Lib/ |
D | reprlib.py | 12 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__', {})
|
D | functools.py | 510 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 …]
|
D | dataclasses.py | 228 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/ |
D | reprlib.py | 12 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__', {})
|
D | functools.py | 510 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 …]
|
D | dataclasses.py | 228 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/ |
D | reprlib.py | 12 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__', {})
|
D | functools.py | 510 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/ |
D | reprlib.py | 12 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__', {})
|
D | functools.py | 510 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 …]
|
D | dataclasses.py | 228 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 D | reprlib.py | 12 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 D | functools.py | 510 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/ |
D | reprlib.py | 12 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__', {})
|
D | functools.py | 510 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 …]
|
D | dataclasses.py | 228 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 D | test_skip_non_tensor.py | 14 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/ |
D | compat.py | 494 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/ |
D | compat.py | 494 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/ |
D | compat.py | 494 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/ |
D | compat.py | 494 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 D | py3compat.py | 60 def fake_wrapper(user_function): argument 61 return user_function
|
/aosp_15_r20/external/python/cachetools/docs/ |
D | index.rst | 465 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 D | retain-comments-from-system-headers.c | 9 int user_function(int a);
|
/aosp_15_r20/external/pytorch/torch/distributed/tensor/ |
H A D | _sharding_prop.py | 42 def __init__(self, user_function: Callable) -> None: 43 self.cache = lru_cache(None)(user_function)
|