Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_heapq.py62 item = self.module.heappop(heap)
74 self.assertRaises(TypeError, self.module.heappop, None)
99 self.module.heappop(heap)
107 yield self.module.heappop(heap)
176 heap_sorted = [self.module.heappop(heap) for i in range(size)]
251 return [self.module.heappop(data).x for i in range(len(data))]
381 for f in (self.module.heapify, self.module.heappop):
388 for f in (self.module.heapify, self.module.heappop):
397 for f in (self.module.heapify, self.module.heappop):
405 for f in (self.module.heapify, self.module.heappop,
[all …]
/third_party/python/Lib/asyncio/
Dqueues.py231 def _get(self, heappop=heapq.heappop): argument
232 return heappop(self._queue)
Dbase_events.py1834 handle = heapq.heappop(self._scheduled)
1854 handle = heapq.heappop(self._scheduled)
/third_party/python/Lib/
Dsched.py133 pop = heapq.heappop
167 return list(map(heapq.heappop, [events]*len(events)))
Dqueue.py6 from heapq import heappush, heappop
239 return heappop(self.queue)
Dheapq.py135 def heappop(heap): function
342 _heappop = heappop
/third_party/python/Doc/library/
Dheapq.rst48 .. function:: heappop(heap)
59 followed by a separate call to :func:`heappop`.
72 This one step operation is more efficient than a :func:`heappop` followed by
146 ... return [heappop(h) for i in range(len(h))]
162 >>> heappop(h)
231 priority, count, task = heappop(pq)
Ditertools.rst923 iter_except(functools.partial(heappop, h), IndexError) # priority queue iterator
/third_party/cef/tools/yapf/yapf/yapflib/
Dreformatter.py321 heapq.heappop(p_queue)
340 _ReconstructPath(initial_state, heapq.heappop(p_queue).state_node)
/third_party/python/Doc/tutorial/
Dstdlib2.rst344 >>> from heapq import heapify, heappop, heappush
348 >>> [heappop(data) for i in range(3)] # fetch the three smallest entries
/third_party/python/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.rst1986 :func:`heappop`.
/third_party/python/Misc/
DHISTORY5269 - Issue #17278: Fix a crash in heapq.heappush() and heapq.heappop() when