Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/test/
Dtest_heapq.py208 self.assertEqual(list(self.module.nlargest(n, data)),
210 self.assertEqual(list(self.module.nlargest(n, data, key=f)),
357 self.module.nlargest, self.module.nsmallest):
365 for f in (self.module.nlargest, self.module.nsmallest):
373 for f in (self.module.nlargest, self.module.nsmallest):
382 for f in (self.module.nlargest, self.module.nsmallest):
388 self.module.nlargest, self.module.nsmallest):
392 for f in (self.module.nlargest, self.module.nsmallest):
/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/autotest/client/cros/image_comparison/
Drgb_image_comparer.py70 logging.debug(heapq.nlargest(max_debug_count, colorstuples))
80 logging.debug(heapq.nlargest(max_debug_count, above_thres_tuples))
/external/v8/tools/ignition/
Dbytecode_dispatches_report.py67 return heapq.nlargest(top_count, flattened_counters_generator(),
110 return (heapq.nlargest(top_count, sources,
112 heapq.nlargest(top_count, destinations, key=lambda x: x[1]))
/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/tensorflow/tensorflow/contrib/session_bundle/
Dgc.py95 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)]
/external/tensorflow/tensorflow/contrib/learn/python/learn/utils/
Dgc.py100 keepers = [paths[i] for _, i in heapq.nlargest(n, heap)]
/external/python/cpython2/Modules/
D_heapqmodule.c296 nlargest(PyObject *self, PyObject *args) in nlargest() function
559 {"nlargest", (PyCFunction)nlargest,
/external/python/cpython3/Lib/
Dheapq.py524 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.rst27 :func:`max`, :func:`heapq.nlargest`, :func:`heapq.nsmallest`,
Dfunctions.rst882 ``heapq.nlargest(1, iterable, key=keyfunc)``.
/external/python/cpython3/Lib/collections/
D__init__.py584 return _heapq.nlargest(n, self.items(), key=_itemgetter(1))
/external/python/cpython2/Doc/
Dglossary.rst444 :func:`heapq.nlargest`, and :func:`itertools.groupby`.
/external/python/cpython3/Doc/
Dglossary.rst611 :func:`heapq.nsmallest`, :func:`heapq.nlargest`, and
/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/cpython2/Doc/whatsnew/
D2.4.rst1079 data. In addition, the module has two new functions :func:`nlargest` and
/external/python/cpython3/Misc/NEWS.d/
D3.5.0a1.rst3674 Simplified and optimized heaqp.nlargest() and nmsmallest() to make fewer

12