Searched refs:nlargest (Results 1 – 13 of 13) sorted by relevance
/third_party/python/Lib/test/ |
D | test_heapq.py | 240 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/ |
D | bytecode_dispatches_report.py | 70 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/ |
D | heapq.py | 521 def nlargest(n, iterable, key=None): function
|
D | difflib.py | 33 from heapq import nlargest as _nlargest
|
/third_party/python/Doc/library/ |
D | heapq.rst | 111 .. function:: nlargest(n, iterable, key=None)
|
D | functools.rst | 117 :func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
|
D | functions.rst | 1020 ``heapq.nlargest(1, iterable, key=keyfunc)``.
|
/third_party/python/Lib/collections/ |
D | __init__.py | 602 return heapq.nlargest(n, self.items(), key=_itemgetter(1))
|
/third_party/python/Doc/ |
D | glossary.rst | 686 :func:`heapq.nsmallest`, :func:`heapq.nlargest`, and
|
/third_party/python/Doc/whatsnew/ |
D | 2.4.rst | 1079 data. In addition, the module has two new functions :func:`nlargest` and
|
D | 2.5.rst | 1361 * The :func:`nsmallest` and :func:`nlargest` functions in the :mod:`heapq`
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 3674 Simplified and optimized heaqp.nlargest() and nmsmallest() to make fewer
|
/third_party/python/Misc/ |
D | HISTORY | 15773 - 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().
|