Searched refs:WeakKeyDictionary (Results 1 – 25 of 39) sorted by relevance
12
/external/python/cpython3/Lib/multiprocessing/dummy/ |
D | __init__.py | 39 self._children = weakref.WeakKeyDictionary() 66 current_process()._children = weakref.WeakKeyDictionary()
|
/external/python/cpython2/Lib/multiprocessing/dummy/ |
D | __init__.py | 66 self._children = weakref.WeakKeyDictionary() 97 current_process()._children = weakref.WeakKeyDictionary()
|
/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 …]
|
D | test_copy.py | 699 self._check_copy_weakdict(weakref.WeakKeyDictionary) 709 u = weakref.WeakKeyDictionary()
|
/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.
|
/external/python/cpython3/Lib/test/ |
D | test_weakref.py | 877 d = weakref.WeakKeyDictionary() 1179 self.check_len_cycles(weakref.WeakKeyDictionary, lambda k: (k, 1)) 1209 self.check_len_race(weakref.WeakKeyDictionary, lambda k: (k, 1)) 1473 dict = weakref.WeakKeyDictionary({o:364}) 1478 dict = weakref.WeakKeyDictionary({o:364}) 1479 dict2 = weakref.WeakKeyDictionary(dict) 1483 dict = weakref.WeakKeyDictionary() 1542 self.check_popitem(weakref.WeakKeyDictionary, 1567 self.check_setdefault(weakref.WeakKeyDictionary, 1607 self.check_update(weakref.WeakKeyDictionary, [all …]
|
D | test_copy.py | 826 self._check_copy_weakdict(weakref.WeakKeyDictionary) 836 u = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Doc/library/ |
D | weakref.rst | 39 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 48 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 53 :class:`WeakKeyDictionary` does. 158 .. class:: WeakKeyDictionary([dict]) 168 Caution: Because a :class:`WeakKeyDictionary` is built on top of a Python 170 difficult to ensure for a :class:`WeakKeyDictionary` because actions 174 :class:`WeakKeyDictionary` objects have an additional method that 182 .. method:: WeakKeyDictionary.keyrefs() 201 same issues as the :meth:`keyrefs` method of :class:`WeakKeyDictionary`
|
/external/python/cpython2/Lib/unittest/ |
D | signals.py | 41 _results = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Lib/unittest/ |
D | signals.py | 41 _results = weakref.WeakKeyDictionary()
|
/external/python/cpython2/Lib/ |
D | weakref.py | 319 class WeakKeyDictionary(UserDict.UserDict): class 372 new = WeakKeyDictionary()
|
/external/python/futures/concurrent/futures/ |
D | thread.py | 37 _threads_queues = weakref.WeakKeyDictionary()
|
D | process.py | 70 _threads_queues = weakref.WeakKeyDictionary()
|
/external/tensorflow/tensorflow/python/training/tracking/ |
D | layer_utils.py | 122 cache = weakref.WeakKeyDictionary()
|
D | tracking.py | 415 cache = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Lib/concurrent/futures/ |
D | thread.py | 30 _threads_queues = weakref.WeakKeyDictionary()
|
D | process.py | 77 _threads_wakeups = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Lib/ |
D | weakref.py | 332 class WeakKeyDictionary(_collections_abc.MutableMapping): class 399 new = WeakKeyDictionary()
|
/external/python/cpython3/Lib/multiprocessing/ |
D | sharedctypes.py | 174 class_cache = weakref.WeakKeyDictionary()
|
/external/python/cpython2/Lib/multiprocessing/ |
D | sharedctypes.py | 203 class_cache = weakref.WeakKeyDictionary()
|
/external/python/cpython3/Lib/unittest/test/ |
D | test_break.py | 23 unittest.signals._results = weakref.WeakKeyDictionary()
|
/external/tensorflow/tensorflow/python/training/ |
D | queue_runner_impl.py | 116 self._runs_per_session = weakref.WeakKeyDictionary()
|
/external/python/cpython2/Lib/unittest/test/ |
D | test_break.py | 27 unittest.signals._results = weakref.WeakKeyDictionary()
|
/external/tensorflow/tensorflow/python/eager/ |
D | def_function.py | 414 self._descriptor_cache = weakref.WeakKeyDictionary()
|
/external/tensorflow/tensorflow/python/keras/ |
D | backend.py | 104 _GRAPH_LEARNING_PHASES = weakref.WeakKeyDictionary() 108 _FREEZABLE_VARS = weakref.WeakKeyDictionary() 159 _GRAPH_VARIABLES = weakref.WeakKeyDictionary() 163 _GRAPH_TF_OPTIMIZERS = weakref.WeakKeyDictionary() 221 PER_GRAPH_OBJECT_NAME_UIDS = weakref.WeakKeyDictionary()
|
12