Home
last modified time | relevance | path

Searched refs:groupby (Results 1 - 21 of 21) sorted by relevance

/third_party/python/Tools/c-analyzer/cpython/
H A D_capi.py243 groupby = raw.replace(',', ' ').strip().split()
247 if not all(v in GROUPINGS for v in groupby):
248 raise ValueError(f'invalid groupby value {raw!r}')
249 return groupby
252 def _resolve_full_groupby(groupby):
253 if isinstance(groupby, str):
254 groupby = [groupby]
256 for grouping in groupby + list(GROUPINGS):
262 def summarize(items, *, groupby
[all...]
H A D__main__.py252 parser.add_argument('--group-by', dest='groupby',
293 groupby='kind',
319 groupby=groupby,
/third_party/python/Lib/test/
H A Dtest_itertools.py365 noruns = [k for k,v in groupby(c)] # combo without consecutive repeats
744 self.assertEqual([], list(groupby([])))
745 self.assertEqual([], list(groupby([], key=id)))
746 self.assertRaises(TypeError, list, groupby('abc', []))
747 self.assertRaises(TypeError, groupby, None)
748 self.assertRaises(TypeError, groupby, 'abc', lambda x:x, 10)
754 for k, g in groupby(s, lambda r:r[0]):
763 for k, g in pickle.loads(pickle.dumps(groupby(s, testR), proto)):
771 for k, g in groupby(s, testR):
772 for ik, ig in groupby(
[all...]
/third_party/libuv/tools/
H A Dmake_dist_html.py118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)]
/third_party/node/deps/uv/tools/
H A Dmake_dist_html.py118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)]
/third_party/jinja2/
H A Dasyncfilters.py80 for key, values in filters.groupby(
146 "groupby": do_groupby,
H A Dfilters.py9 from itertools import groupby namespace
1183 :func:`itertools.groupby`. The attribute can use dot notation for
1184 nested access, like ``"address.city"``. Unlike Python's ``groupby``,
1194 <ul>{% for city, items in users|groupby("city") %}
1202 ``groupby`` yields namedtuples of ``(grouper, list)``, which
1208 <ul>{% for group in users|groupby("city") %}
1217 <ul>{% for city, items in users|groupby("city", default="NY") %}
1247 for key, values in groupby(sorted(value, key=expr), expr)
1274 for key, values in groupby(sorted(await auto_to_list(value), key=expr), expr)
1816 "groupby"
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Dasyncfilters.py80 for key, values in filters.groupby(
146 "groupby": do_groupby,
H A Dfilters.py9 from itertools import groupby namespace
952 :func:`itertools.groupby`. The attribute can use dot notation for
953 nested access, like ``"address.city"``. Unlike Python's ``groupby``,
963 <ul>{% for city, items in users|groupby("city") %}
971 ``groupby`` yields namedtuples of ``(grouper, list)``, which
977 <ul>{% for group in users|groupby("city") %}
987 for key, values in groupby(sorted(value, key=expr), expr)
1345 "groupby": do_groupby,
/third_party/node/tools/inspector_protocol/jinja2/
H A Dasyncfilters.py73 for key, values in filters.groupby(sorted(
134 'groupby': do_groupby,
H A Dfilters.py16 from itertools import groupby, chain namespace
823 {% for group in persons|groupby('gender') %}
837 {% for grouper, list in persons|groupby('gender') %}
852 in groupby(sorted(value, key=expr), expr)]
1153 'groupby': do_groupby,
/third_party/skia/third_party/externals/jinja2/
H A Dasyncfilters.py80 for key, values in filters.groupby(
146 "groupby": do_groupby,
H A Dfilters.py9 from itertools import groupby namespace
952 :func:`itertools.groupby`. The attribute can use dot notation for
953 nested access, like ``"address.city"``. Unlike Python's ``groupby``,
963 <ul>{% for city, items in users|groupby("city") %}
971 ``groupby`` yields namedtuples of ``(grouper, list)``, which
977 <ul>{% for group in users|groupby("city") %}
987 for key, values in groupby(sorted(value, key=expr), expr)
1345 "groupby": do_groupby,
/third_party/python/Lib/
H A Dstatistics.py137 from itertools import groupby, repeat namespace
191 for typ, values in groupby(data, type):
225 for typ, values in groupby(data, type):
/third_party/mesa3d/src/panfrost/bifrost/
H A Dbifrost_isa.py298 partitions = itertools.groupby(sorted_instrs, key_func)
/third_party/jerryscript/tools/
H A Dgen-unicode.py157 for _, group in itertools.groupby(enumerate(i), lambda q: (q[1] - q[0])):
/third_party/skia/third_party/externals/angle2/src/tests/
H A Drun_perf_tests.py451 merge_histogram_path, groupby=['name'])
/third_party/skia/third_party/externals/harfbuzz/test/shape/
H A Dhb_test_tools.py268 return groupby (f, key=identifier)
/third_party/python/Lib/importlib/metadata/
H A D__init__.py477 grouped = itertools.groupby(ordered, by_group)
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dgen-tag-table.py971 for initial, group in itertools.groupby ((lt_tags for lt_tags in [
/third_party/python/Tools/stringbench/
H A Dstringbench.py1435 for title, group in itertools.groupby(bench_functions,

Completed in 19 milliseconds