Searched refs:nsmallest (Results 1 - 8 of 8) sorted by relevance

/prebuilts/gdb/darwin-x86/lib/python2.7/
H A Dheapq.py130 'nlargest', 'nsmallest', 'heappushpop']
221 def nsmallest(n, iterable): function
392 # Extend the implementations of nsmallest and nlargest to use a key= argument
393 _nsmallest = nsmallest
394 def nsmallest(n, iterable, key=None): function
/prebuilts/gdb/linux-x86/lib/python2.7/
H A Dheapq.py130 'nlargest', 'nsmallest', 'heappushpop']
221 def nsmallest(n, iterable): function
392 # Extend the implementations of nsmallest and nlargest to use a key= argument
393 _nsmallest = nsmallest
394 def nsmallest(n, iterable, key=None): function
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A Dheapq.py130 'nlargest', 'nsmallest', 'heappushpop']
221 def nsmallest(n, iterable): function
392 # Extend the implementations of nsmallest and nlargest to use a key= argument
393 _nsmallest = nsmallest
394 def nsmallest(n, iterable, key=None): function
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A Dheapq.py130 'nlargest', 'nsmallest', 'heappushpop']
221 def nsmallest(n, iterable): function
392 # Extend the implementations of nsmallest and nlargest to use a key= argument
393 _nsmallest = nsmallest
394 def nsmallest(n, iterable, key=None): function
/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_heapq.py12 # _heapq.nlargest/nsmallest are saved in heapq._nlargest/_smallest when
180 self.assertEqual(self.module.nsmallest(n, data), sorted(data)[:n])
181 self.assertEqual(self.module.nsmallest(n, data, key=f),
335 self.module.nlargest, self.module.nsmallest):
343 for f in (self.module.nlargest, self.module.nsmallest):
352 for f in (self.module.nlargest, self.module.nsmallest):
358 self.module.nlargest, self.module.nsmallest):
362 for f in (self.module.nlargest, self.module.nsmallest):
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_heapq.py12 # _heapq.nlargest/nsmallest are saved in heapq._nlargest/_smallest when
180 self.assertEqual(self.module.nsmallest(n, data), sorted(data)[:n])
181 self.assertEqual(self.module.nsmallest(n, data, key=f),
335 self.module.nlargest, self.module.nsmallest):
343 for f in (self.module.nlargest, self.module.nsmallest):
352 for f in (self.module.nlargest, self.module.nsmallest):
358 self.module.nlargest, self.module.nsmallest):
362 for f in (self.module.nlargest, self.module.nsmallest):
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_heapq.py12 # _heapq.nlargest/nsmallest are saved in heapq._nlargest/_smallest when
180 self.assertEqual(self.module.nsmallest(n, data), sorted(data)[:n])
181 self.assertEqual(self.module.nsmallest(n, data, key=f),
335 self.module.nlargest, self.module.nsmallest):
343 for f in (self.module.nlargest, self.module.nsmallest):
352 for f in (self.module.nlargest, self.module.nsmallest):
358 self.module.nlargest, self.module.nsmallest):
362 for f in (self.module.nlargest, self.module.nsmallest):
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_heapq.py12 # _heapq.nlargest/nsmallest are saved in heapq._nlargest/_smallest when
180 self.assertEqual(self.module.nsmallest(n, data), sorted(data)[:n])
181 self.assertEqual(self.module.nsmallest(n, data, key=f),
335 self.module.nlargest, self.module.nsmallest):
343 for f in (self.module.nlargest, self.module.nsmallest):
352 for f in (self.module.nlargest, self.module.nsmallest):
358 self.module.nlargest, self.module.nsmallest):
362 for f in (self.module.nlargest, self.module.nsmallest):

Completed in 179 milliseconds