Home
last modified time | relevance | path

Searched refs:nlargest (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython2/Lib/test/
Dtest_heapq.py197 self.assertEqual(self.module.nlargest(n, data),
199 self.assertEqual(self.module.nlargest(n, data, key=f),
344 self.module.nlargest, self.module.nsmallest):
352 for f in (self.module.nlargest, self.module.nsmallest):
361 for f in (self.module.nlargest, self.module.nsmallest):
367 self.module.nlargest, self.module.nsmallest):
371 for f in (self.module.nlargest, self.module.nsmallest):
/external/python/cpython3/Lib/test/
Dtest_heapq.py239 self.assertEqual(list(self.module.nlargest(n, data)),
241 self.assertEqual(list(self.module.nlargest(n, data, key=f)),
383 self.module.nlargest, self.module.nsmallest):
391 for f in (self.module.nlargest, self.module.nsmallest):
400 for f in (self.module.nlargest, self.module.nsmallest):
406 self.module.nlargest, self.module.nsmallest):
410 for f in (self.module.nlargest, self.module.nsmallest):
/external/python/cpython2/Lib/
Dheapq.py203 def nlargest(n, iterable): function
435 _nlargest = nlargest
436 def nlargest(n, iterable, key=None): function
Dcollections.py495 return _heapq.nlargest(n, self.iteritems(), key=_itemgetter(1))
Ddifflib.py745 result = heapq.nlargest(n, result)
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dmemory_debug.py75 sorted_pinfo_groups = heapq.nlargest(
/external/python/cpython2/Modules/
D_heapqmodule.c296 nlargest(PyObject *self, PyObject *args) in nlargest() function
559 {"nlargest", (PyCFunction)nlargest,
/external/python/cpython3/Lib/
Dheapq.py521 def nlargest(n, iterable, key=None): function
Ddifflib.py33 from heapq import nlargest as _nlargest
/external/python/cpython2/Doc/library/
Dfunctools.rst27 :func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
Dheapq.rst100 .. function:: nlargest(n, iterable[, key])
/external/python/cpython3/Doc/library/
Dheapq.rst111 .. function:: nlargest(n, iterable, key=None)
Dfunctools.rst107 :func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
Dfunctions.rst949 ``heapq.nlargest(1, iterable, key=keyfunc)``.
/external/python/cpython3/Lib/collections/
D__init__.py611 return _heapq.nlargest(n, self.items(), key=_itemgetter(1))
/external/toolchain-utils/crosperf/
Dresults_cache.py718 'top5_cpu_use': heapq.nlargest(5, cmd_top5_cpu_use[consumer]),
/external/python/cpython2/Doc/
Dglossary.rst444 :func:`heapq.nlargest`, and :func:`itertools.groupby`.
/external/python/cpython3/Doc/
Dglossary.rst644 :func:`heapq.nsmallest`, :func:`heapq.nlargest`, and
/external/python/cpython2/Doc/whatsnew/
D2.4.rst1079 data. In addition, the module has two new functions :func:`nlargest` and
D2.5.rst1360 * The :func:`nsmallest` and :func:`nlargest` functions in the :mod:`heapq`
/external/python/cpython3/Doc/whatsnew/
D2.4.rst1079 data. In addition, the module has two new functions :func:`nlargest` and
D2.5.rst1361 * The :func:`nsmallest` and :func:`nlargest` functions in the :mod:`heapq`
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst3674 Simplified and optimized heaqp.nlargest() and nmsmallest() to make fewer
/external/python/cpython2/Misc/NEWS.d/
D2.7a1.rst4329 The nsmallest() and nlargest() functions in the heapq module did unnecessary
/external/python/cpython2/Misc/
DHISTORY1950 - heapq.nsmallest() and heapq.nlargest() now support key= arguments with
3470 - heapq.py has two new functions, nsmallest() and nlargest().

12