Home
last modified time | relevance | path

Searched refs:heappush (Results 1 – 25 of 28) sorted by relevance

12

/external/python/cpython3/Lib/test/
Dtest_heapq.py39 self.module.heappush(heap, item)
52 self.assertRaises(TypeError, self.module.heappush, [])
54 self.assertRaises(TypeError, self.module.heappush, None, None)
78 self.module.heappush(heap, item)
149 self.module.heappush(heap, item)
356 for f in (self.module.heappush, self.module.heapreplace,
363 for f in (self.module.heappush, self.module.heapreplace):
371 for f in (self.module.heappush, self.module.heapreplace):
380 for f in (self.module.heappush, self.module.heapreplace):
387 self.module.heappush, self.module.heapreplace,
[all …]
/external/python/cpython2/Lib/test/
Dtest_heapq.py39 self.module.heappush(heap, item)
52 self.assertRaises(TypeError, self.module.heappush, [])
54 self.assertRaises(TypeError, self.module.heappush, None, None)
78 self.module.heappush(heap, item)
149 self.module.heappush(heap, item)
343 for f in (self.module.heappush, self.module.heapreplace,
350 for f in (self.module.heappush, self.module.heapreplace):
359 for f in (self.module.heappush, self.module.heapreplace):
366 self.module.heappush, self.module.heapreplace,
390 self.module.heappush(heap, SideEffectLT(5, heap))
/external/python/cpython3/Lib/asyncio/
Dqueues.py228 def _put(self, item, heappush=heapq.heappush): argument
229 heappush(self._queue, item)
Dbase_events.py674 heapq.heappush(self._scheduled, timer)
/external/python/cpython2/Lib/
DQueue.py224 def _put(self, item, heappush=heapq.heappush): argument
225 heappush(self.queue, item)
Dsched.py54 heapq.heappush(self._queue, event)
120 heapq.heappush(q, event)
Dheapq.py140 def heappush(heap, item): function
478 heappush(heap, item)
/external/python/cpython2/Doc/library/
Dheapq.rst44 .. function:: heappush(heap, item)
58 *heap*. The combined action runs more efficiently than :func:`heappush`
74 :func:`heappush` and can be more appropriate when using a fixed-size heap.
143 ... heappush(h, value)
156 >>> heappush(h, (5, 'write code'))
157 >>> heappush(h, (7, 'release product'))
158 >>> heappush(h, (1, 'write spec'))
159 >>> heappush(h, (3, 'create tests'))
209 heappush(pq, entry)
/external/python/cpython3/Doc/library/
Dheapq.rst43 .. function:: heappush(heap, item)
58 *heap*. The combined action runs more efficiently than :func:`heappush`
73 :func:`heappush` and can be more appropriate when using a fixed-size heap.
145 ... heappush(h, value)
158 >>> heappush(h, (5, 'write code'))
159 >>> heappush(h, (7, 'release product'))
160 >>> heappush(h, (1, 'write spec'))
161 >>> heappush(h, (3, 'create tests'))
221 heappush(pq, entry)
/external/libaom/libaom/tools/
Dgen_constrained_tokenset.py82 heapq.heappush(v, (adj_err, i))
92 heapq.heappush(v, (adj_err, i))
/external/python/cpython3/Lib/
Dqueue.py5 from heapq import heappush, heappop
233 heappush(self.queue, item)
Dsched.py76 heapq.heappush(self._queue, event)
Dheapq.py130 def heappush(heap, item): function
/external/autotest/site_utils/rpm_control_system/
Dfrontend_server.py382 heapq.heappush(self._dispatcher_minheap, heap_entry)
401 heapq.heappush(self._dispatcher_minheap, heap_entry)
/external/tensorflow/tensorflow/contrib/session_bundle/
Dgc.py94 heapq.heappush(heap, (path.export_version, idx))
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dgc.py99 heapq.heappush(heap, (path.export_version, idx))
/external/python/cpython3/Modules/
D_heapqmodule.c100 heappush(PyObject *self, PyObject *args) in heappush() function
478 {"heappush", (PyCFunction)heappush,
/external/python/cpython2/Modules/
D_heapqmodule.c121 heappush(PyObject *self, PyObject *args) in heappush() function
549 {"heappush", (PyCFunction)heappush,
/external/yapf/yapf/yapflib/
Dreformatter.py329 heapq.heappush(p_queue, _QueueItem(_OrderedPenalty(0, count), node))
389 heapq.heappush(p_queue, _QueueItem(_OrderedPenalty(penalty, count), node))
/external/python/cpython2/Doc/tutorial/
Dstdlib2.rst342 >>> from heapq import heapify, heappop, heappush
345 >>> heappush(data, -5) # add a new entry
/external/python/cpython3/Doc/tutorial/
Dstdlib2.rst344 >>> from heapq import heapify, heappop, heappush
347 >>> heappush(data, -5) # add a new entry
/external/autotest/scheduler/
Ddrone_manager.py432 heapq.heappush(self._drone_queue, _DroneHeapWrapper(drone))
/external/python/cpython2/Doc/whatsnew/
D2.3.rst1314 The :mod:`heapq` module provides :func:`heappush` and :func:`heappop` functions
1321 ... heapq.heappush(heap, item)
/external/python/cpython3/Doc/whatsnew/
D2.3.rst1314 The :mod:`heapq` module provides :func:`heappush` and :func:`heappop` functions
1321 ... heapq.heappush(heap, item)
/external/python/cpython2/Misc/NEWS.d/
D2.7.4rc1.rst746 Fix a crash in heapq.heappush() and heapq.heappop() when the list is being

12