Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_heapq.py240 self.assertEqual(list(self.module.nlargest(n, data)),
242 self.assertEqual(list(self.module.nlargest(n, data, key=f)),
384 self.module.nlargest, self.module.nsmallest):
392 for f in (self.module.nlargest, self.module.nsmallest):
401 for f in (self.module.nlargest, self.module.nsmallest):
407 self.module.nlargest, self.module.nsmallest):
411 for f in (self.module.nlargest, self.module.nsmallest):
/third_party/node/deps/v8/tools/ignition/
Dbytecode_dispatches_report.py70 return heapq.nlargest(top_count, flattened_counters_generator(),
113 return (heapq.nlargest(top_count, sources,
115 heapq.nlargest(top_count, destinations, key=lambda x: x[1]))
/third_party/python/Lib/
Dheapq.py521 def nlargest(n, iterable, key=None): function
Ddifflib.py33 from heapq import nlargest as _nlargest
/third_party/python/Doc/library/
Dheapq.rst111 .. function:: nlargest(n, iterable, key=None)
Dfunctools.rst117 :func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
Dfunctions.rst1020 ``heapq.nlargest(1, iterable, key=keyfunc)``.
/third_party/python/Lib/collections/
D__init__.py602 return heapq.nlargest(n, self.items(), key=_itemgetter(1))
/third_party/python/Doc/
Dglossary.rst686 :func:`heapq.nsmallest`, :func:`heapq.nlargest`, and
/third_party/python/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`
/third_party/python/Misc/NEWS.d/
D3.5.0a1.rst3674 Simplified and optimized heaqp.nlargest() and nmsmallest() to make fewer
/third_party/python/Misc/
DHISTORY15773 - Issue #4790: The nsmallest() and nlargest() functions in the heapq module
19334 - heapq.nsmallest() and heapq.nlargest() now support key= arguments with
20854 - heapq.py has two new functions, nsmallest() and nlargest().