HomeSort by relevance Sort by last modified time
    Searched full:heapreplace (Results 1 - 4 of 4) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_heapq.py 15 'heapreplace', '_nlargest', '_nsmallest']
103 self.module.heapreplace(heap, item)
106 self.assertRaises(TypeError, self.module.heapreplace, None)
107 self.assertRaises(TypeError, self.module.heapreplace, None, None)
108 self.assertRaises(IndexError, self.module.heapreplace, [], None)
334 for f in (self.module.heappush, self.module.heapreplace,
341 for f in (self.module.heappush, self.module.heapreplace):
350 for f in (self.module.heappush, self.module.heapreplace):
357 self.module.heappush, self.module.heapreplace,
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_heapq.py 15 'heapreplace', '_nlargest', '_nsmallest']
103 self.module.heapreplace(heap, item)
106 self.assertRaises(TypeError, self.module.heapreplace, None)
107 self.assertRaises(TypeError, self.module.heapreplace, None, None)
108 self.assertRaises(IndexError, self.module.heapreplace, [], None)
334 for f in (self.module.heappush, self.module.heapreplace,
341 for f in (self.module.heappush, self.module.heapreplace):
350 for f in (self.module.heappush, self.module.heapreplace):
357 self.module.heappush, self.module.heapreplace,
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
heapq.py 17 item = heapreplace(heap, item) # pops and returns smallest item, and adds
129 __all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',
156 def heapreplace(heap, item): function
165 item = heapreplace(heap, item)
368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
heapq.py 17 item = heapreplace(heap, item) # pops and returns smallest item, and adds
129 __all__ = ['heappush', 'heappop', 'heapify', 'heapreplace', 'merge',
156 def heapreplace(heap, item): function
165 item = heapreplace(heap, item)
368 _heappop, _heapreplace, _StopIteration = heappop, heapreplace, StopIteration

Completed in 3123 milliseconds