Home
last modified time | relevance | path

Searched refs:heappop (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_heapq.py43 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/
Dsched.py106 pop = heapq.heappop
134 return map(heapq.heappop, [events]*len(events))
DQueue.py227 def _get(self, heappop=heapq.heappop): argument
228 return heappop(self.queue)
Dheapq.py145 def heappop(heap): function
368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration
481 sort.append(heappop(heap))
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server.py258 heap_entry = heapq.heappop(self._dispatcher_minheap)
334 heapq.heappop(self._dispatcher_minheap)
/external/python/cpython2/Doc/library/
Dheapq.rst49 .. 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)
Ditertools.rst796 heapiter = iter_except(functools.partial(heappop, h), IndexError)
/external/python/cpython2/Modules/
D_heapqmodule.c146 heappop(PyObject *self, PyObject *heap) in heappop() function
553 {"heappop", (PyCFunction)heappop,
/external/python/cpython2/Doc/tutorial/
Dstdlib2.rst342 >>> from heapq import heapify, heappop, heappush
346 >>> [heappop(data) for i in range(3)] # fetch the three smallest entries
/external/autotest/scheduler/
Ddrone_manager.py658 drone = heapq.heappop(self._drone_queue).drone
/external/python/cpython2/Doc/whatsnew/
D2.3.rst1314 The :mod:`heapq` module provides :func:`heappush` and :func:`heappop` functions
1325 >>> heapq.heappop(heap)
1327 >>> heapq.heappop(heap)
D2.6.rst1982 :func:`heappop`.
/external/python/cpython2/Misc/
DNEWS3355 - Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when