/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_itertools.py | 202 noruns = [k for k,v in groupby(c)] # combo without consecutive repeats 414 self.assertEqual([], list(groupby([]))) 415 self.assertEqual([], list(groupby([], key=id))) 416 self.assertRaises(TypeError, list, groupby('abc', [])) 417 self.assertRaises(TypeError, groupby, None) 418 self.assertRaises(TypeError, groupby, 'abc', lambda x:x, 10) 424 for k, g in groupby(s, lambda r:r[0]): 432 for k, g in groupby(s, lambda r:r[0]): 433 for ik, ig in groupby(g, lambda r:r[2]): 441 keys = [k for k, g in groupby(s, lambda r:r[0]) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_itertools.py | 202 noruns = [k for k,v in groupby(c)] # combo without consecutive repeats 414 self.assertEqual([], list(groupby([]))) 415 self.assertEqual([], list(groupby([], key=id))) 416 self.assertRaises(TypeError, list, groupby('abc', [])) 417 self.assertRaises(TypeError, groupby, None) 418 self.assertRaises(TypeError, groupby, 'abc', lambda x:x, 10) 424 for k, g in groupby(s, lambda r:r[0]): 432 for k, g in groupby(s, lambda r:r[0]): 433 for ik, ig in groupby(g, lambda r:r[2]): 441 keys = [k for k, g in groupby(s, lambda r:r[0]) [all...] |
/external/chromium_org/third_party/jinja2/ |
filters.py | 15 from itertools import imap, groupby namespace 633 {% for group in persons|groupby('gender') %} 647 {% for grouper, list in persons|groupby('gender') %} 661 return sorted(map(_GroupTuple, groupby(sorted(value, key=expr), expr))) 798 'groupby': do_groupby,
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
link_error_detector.py | 7 from itertools import groupby namespace 286 for target, links in groupby(sorted(broken_links, key=target), target):
|
/external/chromium_org/third_party/WebKit/Source/core/scripts/ |
make_token_matcher.py | 63 return -sum([len(list(count)) ** 2 for _, count in itertools.groupby(sorted(alternatives))])
|
/external/harfbuzz_ng/test/shaping/ |
hb_test_tools.py | 292 return groupby (f, key=identifier)
|
/system/media/camera/docs/ |
metadata_model.py | 482 group_entry_by_kind = itertools.groupby(section._leafs, lambda x: x.kind) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/ |
string-unpack-code.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/ |
string-unpack-code.js | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/ |
string-unpack-code.js | [all...] |