Searched refs:WeakValueDictionary (Results 1 – 25 of 43) sorted by relevance
12
/external/python/cpython3/Lib/test/ |
D | test_weakref.py | 1208 self.check_len_cycles(weakref.WeakValueDictionary, lambda k: (1, k)) 1238 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k)) 1264 dict = weakref.WeakValueDictionary() 1517 dict = weakref.WeakValueDictionary({364:o}) 1522 dict = weakref.WeakValueDictionary({364:o}) 1523 dict2 = weakref.WeakValueDictionary(dict) 1528 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__) 1529 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {}) 1530 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ()) 1534 d = weakref.WeakValueDictionary(**{kw: o}) [all …]
|
D | test_copy.py | 829 self._check_copy_weakdict(weakref.WeakValueDictionary) 855 u = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/test/ |
D | test_weakref.py | 966 self.check_len_cycles(weakref.WeakValueDictionary, lambda n, k: (n, k)) 996 self.check_len_race(weakref.WeakValueDictionary, lambda k: (1, k)) 1023 dict = weakref.WeakValueDictionary() 1234 self.assertRaises(TypeError, weakref.WeakValueDictionary.__init__) 1235 self.assertRaises(TypeError, weakref.WeakValueDictionary, {}, {}) 1236 self.assertRaises(TypeError, weakref.WeakValueDictionary, (), ()) 1240 d = weakref.WeakValueDictionary(**{kw: o}) 1245 dict = weakref.WeakValueDictionary() 1270 self.check_popitem(weakref.WeakValueDictionary, 1295 self.check_setdefault(weakref.WeakValueDictionary, [all …]
|
D | test_copy.py | 702 self._check_copy_weakdict(weakref.WeakValueDictionary) 728 u = weakref.WeakValueDictionary()
|
/external/python/cpython2/Doc/library/ |
D | weakref.rst | 38 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 42 :class:`WeakValueDictionary`, then when the last remaining references to that 47 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 178 .. class:: WeakValueDictionary([dict]) 185 Caution: Because a :class:`WeakValueDictionary` is built on top of a Python 187 difficult to ensure for a :class:`WeakValueDictionary` because actions performed 191 :class:`WeakValueDictionary` objects have the following additional methods. 196 .. method:: WeakValueDictionary.itervaluerefs() 203 .. method:: WeakValueDictionary.valuerefs() 297 This is used in the implementation of the :class:`WeakValueDictionary` to reduce [all …]
|
/external/python/dateutil/dateutil/tz/ |
D | _factories.py | 25 cls.__instances = weakref.WeakValueDictionary() 52 cls.__instances = weakref.WeakValueDictionary()
|
D | tz.py | 1541 self.__instances = weakref.WeakValueDictionary() 1581 self.__instances = weakref.WeakValueDictionary()
|
/external/python/cpython3/Doc/library/ |
D | weakref.rst | 39 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` classes supplied by 43 :class:`WeakValueDictionary`, then when the last remaining references to that 48 :class:`WeakKeyDictionary` and :class:`WeakValueDictionary` use weak references 182 .. class:: WeakValueDictionary([dict]) 190 :class:`WeakValueDictionary` objects have an additional method that has the 195 .. method:: WeakValueDictionary.valuerefs() 372 This is used in the implementation of the :class:`WeakValueDictionary` to reduce 417 _id2obj_dict = weakref.WeakValueDictionary()
|
/external/tensorflow/tensorflow/python/distribute/parallel_device/ |
D | parallel_device.py | 36 _all_parallel_devices = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/ |
D | weakref.py | 36 class WeakValueDictionary(UserDict.UserDict): class 128 new = WeakValueDictionary()
|
D | symtable.py | 18 self.__memo = weakref.WeakValueDictionary()
|
/external/python/cffi/cffi/ |
D | model.py | 573 _typecache_cffi_backend = weakref.WeakValueDictionary() 583 type(backend).__typecache = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/ |
D | weakref.py | 93 class WeakValueDictionary(_collections_abc.MutableMapping): class 170 new = WeakValueDictionary()
|
D | symtable.py | 18 self.__memo = weakref.WeakValueDictionary()
|
/external/python/cpython2/Lib/multiprocessing/ |
D | util.py | 149 _afterfork_registry = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/zoneinfo/ |
D | _zoneinfo.py | 33 _weak_cache = weakref.WeakValueDictionary() 38 cls._weak_cache = weakref.WeakValueDictionary()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.1rc1.rst | 557 old keys should not remove new values from WeakValueDictionary when 595 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
D | 3.5.3rc1.rst | 478 old keys should not remove new values from WeakValueDictionary when 506 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
D | 3.8.0a2.rst | 312 WeakValueDictionary, due to some keys or values disappearing while
|
/external/python/cpython3/Lib/multiprocessing/ |
D | util.py | 159 _afterfork_registry = weakref.WeakValueDictionary()
|
/external/tensorflow/tensorflow/python/ops/ |
D | script_ops.py | 171 self._funcs = weakref.WeakValueDictionary()
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | utils.py | 353 self._transports = weakref.WeakValueDictionary()
|
/external/tensorflow/tensorflow/python/keras/saving/saved_model/ |
D | save_impl.py | 355 self._functions = weakref.WeakValueDictionary()
|
/external/python/pyopenssl/src/OpenSSL/ |
D | SSL.py | 6 from weakref import WeakValueDictionary 1462 _reverse_mapping = WeakValueDictionary()
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.7.15rc1.rst | 1184 old keys should not remove new values from WeakValueDictionary when 1223 Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()
|
12