/third_party/python/Tools/c-analyzer/cpython/ |
H A D | _capi.py | 243 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__.py | 252 parser.add_argument('--group-by', dest='groupby', 293 groupby='kind', 319 groupby=groupby,
|
/third_party/python/Lib/test/ |
H A D | test_itertools.py | 365 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 D | make_dist_html.py | 118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)]
|
/third_party/node/deps/uv/tools/ |
H A D | make_dist_html.py | 118 groups = [group_for(list(g)) for _, g in itertools.groupby(tags, major_minor)]
|
/third_party/jinja2/ |
H A D | asyncfilters.py | 80 for key, values in filters.groupby( 146 "groupby": do_groupby,
|
H A D | filters.py | 9 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 D | asyncfilters.py | 80 for key, values in filters.groupby( 146 "groupby": do_groupby,
|
H A D | filters.py | 9 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 D | asyncfilters.py | 73 for key, values in filters.groupby(sorted( 134 'groupby': do_groupby,
|
H A D | filters.py | 16 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 D | asyncfilters.py | 80 for key, values in filters.groupby( 146 "groupby": do_groupby,
|
H A D | filters.py | 9 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 D | statistics.py | 137 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 D | bifrost_isa.py | 298 partitions = itertools.groupby(sorted_instrs, key_func)
|
/third_party/jerryscript/tools/ |
H A D | gen-unicode.py | 157 for _, group in itertools.groupby(enumerate(i), lambda q: (q[1] - q[0])):
|
/third_party/skia/third_party/externals/angle2/src/tests/ |
H A D | run_perf_tests.py | 451 merge_histogram_path, groupby=['name'])
|
/third_party/skia/third_party/externals/harfbuzz/test/shape/ |
H A D | hb_test_tools.py | 268 return groupby (f, key=identifier)
|
/third_party/python/Lib/importlib/metadata/ |
H A D | __init__.py | 477 grouped = itertools.groupby(ordered, by_group)
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | gen-tag-table.py | 971 for initial, group in itertools.groupby ((lt_tags for lt_tags in [
|
/third_party/python/Tools/stringbench/ |
H A D | stringbench.py | 1435 for title, group in itertools.groupby(bench_functions,
|