Home
last modified time | relevance | path

Searched refs:WeakKeyDictionary (Results 1 – 25 of 39) sorted by relevance

12

/external/python/cpython3/Lib/multiprocessing/dummy/
D__init__.py39 self._children = weakref.WeakKeyDictionary()
66 current_process()._children = weakref.WeakKeyDictionary()
/external/python/cpython2/Lib/multiprocessing/dummy/
D__init__.py66 self._children = weakref.WeakKeyDictionary()
97 current_process()._children = weakref.WeakKeyDictionary()
/external/python/cpython2/Lib/test/
Dtest_weakref.py822 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 …]
Dtest_copy.py699 self._check_copy_weakdict(weakref.WeakKeyDictionary)
709 u = weakref.WeakKeyDictionary()
/external/python/cpython2/Doc/library/
Dweakref.rst38 :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/
Dtest_weakref.py877 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 …]
Dtest_copy.py826 self._check_copy_weakdict(weakref.WeakKeyDictionary)
836 u = weakref.WeakKeyDictionary()
/external/python/cpython3/Doc/library/
Dweakref.rst39 :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/
Dsignals.py41 _results = weakref.WeakKeyDictionary()
/external/python/cpython3/Lib/unittest/
Dsignals.py41 _results = weakref.WeakKeyDictionary()
/external/python/cpython2/Lib/
Dweakref.py319 class WeakKeyDictionary(UserDict.UserDict): class
372 new = WeakKeyDictionary()
/external/python/futures/concurrent/futures/
Dthread.py37 _threads_queues = weakref.WeakKeyDictionary()
Dprocess.py70 _threads_queues = weakref.WeakKeyDictionary()
/external/tensorflow/tensorflow/python/training/tracking/
Dlayer_utils.py122 cache = weakref.WeakKeyDictionary()
Dtracking.py415 cache = weakref.WeakKeyDictionary()
/external/python/cpython3/Lib/concurrent/futures/
Dthread.py30 _threads_queues = weakref.WeakKeyDictionary()
Dprocess.py77 _threads_wakeups = weakref.WeakKeyDictionary()
/external/python/cpython3/Lib/
Dweakref.py332 class WeakKeyDictionary(_collections_abc.MutableMapping): class
399 new = WeakKeyDictionary()
/external/python/cpython3/Lib/multiprocessing/
Dsharedctypes.py174 class_cache = weakref.WeakKeyDictionary()
/external/python/cpython2/Lib/multiprocessing/
Dsharedctypes.py203 class_cache = weakref.WeakKeyDictionary()
/external/python/cpython3/Lib/unittest/test/
Dtest_break.py23 unittest.signals._results = weakref.WeakKeyDictionary()
/external/tensorflow/tensorflow/python/training/
Dqueue_runner_impl.py116 self._runs_per_session = weakref.WeakKeyDictionary()
/external/python/cpython2/Lib/unittest/test/
Dtest_break.py27 unittest.signals._results = weakref.WeakKeyDictionary()
/external/tensorflow/tensorflow/python/eager/
Ddef_function.py414 self._descriptor_cache = weakref.WeakKeyDictionary()
/external/tensorflow/tensorflow/python/keras/
Dbackend.py104 _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