/external/yapf/yapf/yapflib/ |
D | format_token.py | 231 @py3compat.lru_cache() 260 @py3compat.lru_cache() 268 @py3compat.lru_cache() 274 @py3compat.lru_cache() 288 @py3compat.lru_cache() 293 @py3compat.lru_cache() 306 @py3compat.lru_cache() 322 @py3compat.lru_cache() 327 @py3compat.lru_cache()
|
D | py3compat.py | 33 lru_cache = functools.lru_cache variable 55 def lru_cache(maxsize=128, typed=False): function
|
/external/tensorflow/tensorflow/core/util/ |
D | mkl_util_test.cc | 91 LRUCache<int> lru_cache(capacity); in TEST() local 95 lru_cache.SetOp(std::to_string(k), new int(k)); in TEST() 101 EXPECT_EQ(nullptr, lru_cache.GetOp(std::to_string(k))); in TEST() 107 int* int_ptr = lru_cache.GetOp(std::to_string(k)); in TEST() 113 lru_cache.Clear(); in TEST() 117 EXPECT_EQ(nullptr, lru_cache.GetOp(std::to_string(k))); in TEST()
|
D | mkl_util.h | 2176 auto& lru_cache = MklPrimitiveFactory<T>::GetLRUCache(); in GetOp() local 2177 return lru_cache.GetOp(key); in GetOp() 2181 auto& lru_cache = MklPrimitiveFactory<T>::GetLRUCache(); in SetOp() local 2182 lru_cache.SetOp(key, op); in SetOp()
|
/external/python/cpython3/Lib/test/ |
D | test_functools.py | 1143 f = self.module.lru_cache(maxsize=20)(orig) 1181 @self.module.lru_cache(0) 1197 @self.module.lru_cache(1) 1213 @self.module.lru_cache(2) 1238 @self.module.lru_cache(maxsize=10) 1262 @self.module.lru_cache(maxsize=1) 1297 builtins.len = self.module.lru_cache(4)(len) 1305 @functools.lru_cache() 1317 @functools.lru_cache(maxsize=None) 1321 @functools.lru_cache(maxsize=10) [all …]
|
D | test_timeout.py | 15 @functools.lru_cache()
|
/external/python/cpython3/Lib/ |
D | fnmatch.py | 38 @functools.lru_cache(maxsize=256, typed=True)
|
D | ipaddress.py | 1320 @functools.lru_cache() 1332 @functools.lru_cache() 1545 @functools.lru_cache() 1971 @functools.lru_cache()
|
D | re.py | 297 @functools.lru_cache(_MAXCACHE)
|
D | functools.py | 445 def lru_cache(maxsize=128, typed=False): function
|
D | typing.py | 242 cached = functools.lru_cache()(func)
|
D | pathlib.py | 460 _make_selector = functools.lru_cache()(_make_selector)
|
/external/python/cpython3/Doc/library/ |
D | functools.rst | 46 .. decorator:: lru_cache(maxsize=128, typed=False) 95 @lru_cache(maxsize=32) 118 @lru_cache(maxsize=None) 410 (e.g. bypassing a caching decorator such as :func:`lru_cache`), this function
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 172 functools.lru_cache() was susceptible to an obscure reentrancy bug 436 Fixed race condition in C implementation of functools.lru_cache. KeyError 468 functools.lru_cache() now respects PEP 468 and preserves the order of
|
D | 3.5.0b4.rst | 104 lru_cache (C implementation).
|
D | 3.5.0b3.rst | 170 C implementation of functools.lru_cache() now can be used with methods.
|
D | 3.6.0b4.rst | 243 Fix a refleak in functools.lru_cache.
|
D | 3.5.1rc1.rst | 352 The lru_cache() wrapper objects now can be copied and pickled (by returning 501 C implementation of functools.lru_cache() now calculates key's hash only
|
D | 3.5.0b1.rst | 184 Added C implementation of functools.lru_cache(). Based on patches by Matt
|
D | 3.7.0a4.rst | 293 ``functools.lru_cache`` uses less memory (3 words for each cached key) and
|
D | 3.5.3rc1.rst | 64 functools.lru_cache() was susceptible to an obscure reentrancy bug caused by 1672 Fix a refleak in functools.lru_cache.
|
D | 3.5.4rc1.rst | 915 Fixed race condition in C implementation of functools.lru_cache. KeyError
|
/external/google-fruit/extras/scripts/ |
D | analyze_template_instantiations_clang_diagnostics.py | 24 from functools import lru_cache as memoize
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_noinline.c | 181 struct bpf_map_def __attribute__ ((section("maps"), used)) lru_cache = { variable 711 void *lru_map = &lru_cache; in process_packet()
|
/external/google-fruit/extras/benchmark/ |
D | run_benchmarks.py | 36 from functools import lru_cache as memoize
|