Searched refs:heappop (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_heapq.py | 43 item = self.module.heappop(heap) 55 self.assertRaises(TypeError, self.module.heappop, None) 80 self.module.heappop(heap) 88 yield self.module.heappop(heap) 150 heap_sorted = [self.module.heappop(heap) for i in range(size)] 207 return [self.module.heappop(data).x for i in range(len(data))] 341 for f in (self.module.heapify, self.module.heappop): 348 for f in (self.module.heapify, self.module.heappop): 357 for f in (self.module.heapify, self.module.heappop): 365 for f in (self.module.heapify, self.module.heappop, [all …]
|
/external/python/cpython2/Lib/ |
D | sched.py | 106 pop = heapq.heappop 134 return map(heapq.heappop, [events]*len(events))
|
D | Queue.py | 227 def _get(self, heappop=heapq.heappop): argument 228 return heappop(self.queue)
|
D | heapq.py | 145 def heappop(heap): function 368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration 481 sort.append(heappop(heap))
|
/external/autotest/site_utils/rpm_control_system/ |
D | frontend_server.py | 258 heap_entry = heapq.heappop(self._dispatcher_minheap) 334 heapq.heappop(self._dispatcher_minheap)
|
/external/python/cpython2/Doc/library/ |
D | heapq.rst | 49 .. function:: heappop(heap) 59 followed by a separate call to :func:`heappop`. 73 This one step operation is more efficient than a :func:`heappop` followed by 144 ... return [heappop(h) for i in range(len(h))] 160 >>> heappop(h) 219 priority, count, task = heappop(pq)
|
D | itertools.rst | 796 heapiter = iter_except(functools.partial(heappop, h), IndexError)
|
/external/python/cpython2/Modules/ |
D | _heapqmodule.c | 146 heappop(PyObject *self, PyObject *heap) in heappop() function 553 {"heappop", (PyCFunction)heappop,
|
/external/python/cpython2/Doc/tutorial/ |
D | stdlib2.rst | 342 >>> from heapq import heapify, heappop, heappush 346 >>> [heappop(data) for i in range(3)] # fetch the three smallest entries
|
/external/autotest/scheduler/ |
D | drone_manager.py | 658 drone = heapq.heappop(self._drone_queue).drone
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 1314 The :mod:`heapq` module provides :func:`heappush` and :func:`heappop` functions 1325 >>> heapq.heappop(heap) 1327 >>> heapq.heappop(heap)
|
D | 2.6.rst | 1982 :func:`heappop`.
|
/external/python/cpython2/Misc/ |
D | NEWS | 3355 - Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when
|