/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_weakref.py | 931 d = weakref.WeakKeyDictionary() 1237 self.check_len_cycles(weakref.WeakKeyDictionary, lambda k: (k, 1)) 1267 self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1)) 1536 dict = weakref.WeakKeyDictionary({o:364}) 1541 dict = weakref.WeakKeyDictionary({o:364}) 1542 dict2 = weakref.WeakKeyDictionary(dict) 1546 dict = weakref.WeakKeyDictionary() 1605 self.check_popitem(weakref.WeakKeyDictionary, 1630 self.check_setdefault(weakref.WeakKeyDictionary, 1707 self.check_update(weakref.WeakKeyDictionary, [all …]
|
/aosp_15_r20/external/pytorch/torch/jit/ |
H A D | _state.py | 98 _jit_caching_layer: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary() 99 _jit_function_overload_caching: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/python/cpython2/Lib/test/ |
D | test_weakref.py | 822 d = weakref.WeakKeyDictionary() 963 self.check_len_cycles(weakref.WeakKeyDictionary, lambda n, k: (k, n)) 993 self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1)) 1216 dict = weakref.WeakKeyDictionary({o:364}) 1221 dict = weakref.WeakKeyDictionary({o:364}) 1222 dict2 = weakref.WeakKeyDictionary(dict) 1226 dict = weakref.WeakKeyDictionary() 1274 self.check_popitem(weakref.WeakKeyDictionary, 1299 self.check_setdefault(weakref.WeakKeyDictionary, 1341 self.check_update(weakref.WeakKeyDictionary, [all …]
|
/aosp_15_r20/external/python/cpython2/Doc/library/ |
D | weakref.rst | 38 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 47 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 140 .. class:: WeakKeyDictionary([dict]) 150 Caution: Because a :class:`WeakKeyDictionary` is built on top of a Python 152 difficult to ensure for a :class:`WeakKeyDictionary` because actions 156 :class:`WeakKeyDictionary` objects have the following additional methods. These 164 .. method:: WeakKeyDictionary.iterkeyrefs() 171 .. method:: WeakKeyDictionary.keyrefs() 193 :meth:`keyrefs` methods of :class:`WeakKeyDictionary` objects.
|
/aosp_15_r20/external/pytorch/torch/autograd/ |
H A D | graph.py | 652 self.cloned: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary() 653 self.original: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | weakref.rst | 41 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 50 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 55 :class:`WeakKeyDictionary` does. 167 .. class:: WeakKeyDictionary([dict]) 183 >>> d = weakref.WeakKeyDictionary() 193 >>> d = weakref.WeakKeyDictionary() 202 :class:`WeakKeyDictionary` objects have an additional method that 210 .. method:: WeakKeyDictionary.keyrefs() 224 same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary`
|
/aosp_15_r20/external/python/cpython3/Lib/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/multiprocessing/dummy/ |
H A D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/python/cpython2/Lib/multiprocessing/dummy/ |
D | __init__.py | 66 self._children = weakref.WeakKeyDictionary() 97 current_process()._children = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/pytorch/torch/utils/ |
H A D | module_tracker.py | 61 self._known_modules: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/pytorch/torch/distributed/_tools/ |
H A D | mod_tracker.py | 59 self._known_modules: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/pytorch/torch/fx/experimental/ |
H A D | proxy_tensor.py | 40 from weakref import WeakKeyDictionary 1397 self.symnode_tracker = weakref.WeakKeyDictionary() 1523 self.proxy_paths: WeakKeyDictionary[_AttrProxy, str] = WeakKeyDictionary() 1524 self.attr_proxy_map: WeakKeyDictionary[Module, _AttrProxy] = WeakKeyDictionary() 1525 self.proxy_modules: WeakKeyDictionary[_AttrProxy, Module] = WeakKeyDictionary()
|
/aosp_15_r20/external/pytorch/torch/_higher_order_ops/ |
H A D | effects.py | 5 from weakref import WeakKeyDictionary 27 SIDE_EFFECTS: "WeakKeyDictionary[OpType, _EffectType]" = WeakKeyDictionary(
|
/aosp_15_r20/external/tensorflow/tensorflow/python/distribute/ |
H A D | mirrored_run.py | 72 _cfer_fn_cache[strategy] = weakref.WeakKeyDictionary() 105 _cfer_fn_cache = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/python/cpython2/Lib/ |
D | weakref.py | 319 class WeakKeyDictionary(UserDict.UserDict): class 372 new = WeakKeyDictionary()
|
/aosp_15_r20/external/pytorch/torch/distributed/fsdp/ |
H A D | _common_utils.py | 65 _MODULE_TO_INP_DTYPE: weakref.WeakKeyDictionary = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/eager/ |
H A D | def_function.py | 176 self._detectors = weakref.WeakKeyDictionary() # GUARDED_BY(self._lock) 603 self._descriptor_cache = weakref.WeakKeyDictionary() 625 self._descriptor_cache = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/autograph/pyct/ |
H A D | cache.py | 34 self._cache = weakref.WeakKeyDictionary()
|
/aosp_15_r20/external/tensorflow/tensorflow/python/framework/ |
H A D | random_seed.py | 31 _graph_to_seed_dict = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/unittest/ |
H A D | signals.py | 41 _results = weakref.WeakKeyDictionary()
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/unittest/ |
D | signals.py | 41 _results = weakref.WeakKeyDictionary()
|