/external/python/cachetools/src/cachetools/ |
D | __init__.py | 77 self.popitem() 160 def popitem(self): member in FIFOCache 191 def popitem(self): member in LFUCache 222 def popitem(self): member in LRUCache 259 def popitem(self): member in MRUCache 287 def popitem(self): member in RRCache 480 def popitem(self): member in TTLCache
|
/external/python/cpython3/Lib/test/ |
D | test_ordered_dict.py | 226 self.assertEqual(od.popitem(), pairs.pop()) 228 od.popitem() 237 obj.popitem(True) 238 obj.popitem(True) 239 obj.popitem(last=True) 563 od.popitem() 584 od.popitem(last=False) 627 dict.popitem(od) 857 self.assertRaises(KeyError, d.popitem) 869 self.assertRaises(KeyError, d.popitem) [all …]
|
D | test_iterlen.py | 120 self.mutate = d.popitem 127 self.mutate = d.popitem 134 self.mutate = d.popitem
|
D | mapping_tests.py | 35 key, value = self.reference.popitem() 39 key, value = self.reference.popitem() 127 key, value = d.popitem() 131 self.assertRaises(KeyError, p.popitem) 290 self.assertRaises(KeyError, d.popitem) 291 self.assertRaises(TypeError, d.popitem, 42) 516 ka, va = ta = a.popitem() 518 kb, vb = tb = b.popitem()
|
D | test_dict_version.py | 154 self.check_version_changed(d, d.popitem) 158 d.popitem)
|
D | test_userdict.py | 141 self.assertEqual(t.popitem(), ("x", 42)) 142 self.assertRaises(KeyError, t.popitem)
|
/external/python/dateutil/dateutil/tz/ |
D | _factories.py | 45 cls.__strong_cache.popitem(last=False) 70 cls.__strong_cache.popitem(last=False)
|
/external/bcc/tests/python/ |
D | test_stat1.py | 56 x = self.stats.popitem() 60 (_, x) = self.stats.popitem()
|
/external/python/cpython2/Lib/ |
D | UserDict.py | 101 def popitem(self): member in UserDict 102 return self.data.popitem() 177 def popitem(self): member in DictMixin
|
D | weakref.py | 216 def popitem(self): member in WeakValueDictionary 220 key, wr = self.data.popitem() 470 def popitem(self): member in WeakKeyDictionary 472 key, value = self.data.popitem()
|
/external/python/cpython2/Lib/test/ |
D | test_iterlen.py | 135 self.mutate = d.popitem 142 self.mutate = d.popitem 149 self.mutate = d.popitem
|
D | mapping_tests.py | 36 key, value = self.reference.popitem() 40 key, value = self.reference.popitem() 131 key, value = d.popitem() 135 self.assertRaises(KeyError, p.popitem) 297 self.assertRaises(KeyError, d.popitem) 298 self.assertRaises(TypeError, d.popitem, 42) 535 ka, va = ta = a.popitem() 537 kb, vb = tb = b.popitem()
|
D | test_ordered_dict.py | 123 self.assertEqual(od.popitem(), pairs.pop()) 125 od.popitem() 297 self.assertRaises(KeyError, d.popitem) 307 self.assertRaises(KeyError, d.popitem)
|
D | test_userdict.py | 151 self.assertEqual(t.popitem(), ("x", 42)) 152 self.assertRaises(KeyError, t.popitem) 353 k, v = s.popitem() 362 self.assertRaises(KeyError, s.popitem)
|
/external/python/cachetools/docs/ |
D | index.rst | 44 :meth:`self.popitem()` repeatedly until there is enough room for the 72 This class discards arbitrary items using :meth:`popitem` to make 73 space when necessary. Derived classes may override :meth:`popitem` 80 :members: popitem 86 :members: popitem 92 :members: popitem 98 :members: popitem 104 :members: choice, popitem 115 :members: popitem, timer, ttl 154 all cache implementations call :meth:`popitem` to evict items from the [all …]
|
/external/starlark-go/starlark/testdata/ |
D | dict.star | 30 # dict.popitem 32 assert.eq([x7.popitem(), x7.popitem()], [("a", 1), ("b", 2)]) 33 assert.fails(x7.popitem, "empty dict")
|
/external/python/cpython3/Lib/ |
D | weakref.py | 253 def popitem(self): member in WeakValueDictionary 257 key, wr = self.data.popitem() 496 def popitem(self): member in WeakKeyDictionary 499 key, value = self.data.popitem()
|
/external/python/cachetools/tests/ |
D | __init__.py | 109 cache.popitem() 117 self.Cache(maxsize=2).popitem() 213 self.assertEqual((1, 1), cache.popitem())
|
/external/fonttools/Lib/fontTools/misc/ |
D | dictTools.py | 50 def popitem(self, *args, **kwargs): member in hashdict
|
/external/tensorflow/tensorflow/core/function/polymorphism/ |
D | type_dispatch.py | 104 self._dispatch_cache.popitem(last=False)
|
/external/cronet/third_party/protobuf/python/google/protobuf/ |
D | message_factory.py | 184 _AddFile(file_by_name.popitem()[1])
|
/external/python/cachetools/ |
D | CHANGELOG.rst | 54 - Improve ``popitem()`` exception context handling. 159 - Use ``Counter.most_common()`` for ``LFUCache.popitem()``.
|
/external/protobuf/python/google/protobuf/ |
D | message_factory.py | 188 _AddFile(file_by_name.popitem()[1])
|
/external/python/asn1crypto/asn1crypto/ |
D | _ordereddict.py | 77 def popitem(self, last=True): member in OrderedDict
|
/external/mesa3d/scons/ |
D | gallium.py | 275 env.popitem('debug') 276 env.popitem('profile')
|