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

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_heapq.py 12 # _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/
test_heapq.py 12 # _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/
heapq.py 130 '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/
heapq.py 130 '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/lib-dynload/
_heapq.so 

Completed in 148 milliseconds