/external/python/setuptools/setuptools/command/ |
D | install_lib.py | 3 from itertools import product, starmap 29 return set(starmap(self._exclude_pkg_path, excl_specs))
|
/external/python/cpython2/Lib/test/ |
D | test_itertools.py | 787 self.assertEqual(list(starmap(operator.pow, zip(range(3), range(1,7)))), 789 self.assertEqual(take(3, starmap(operator.pow, izip(count(), count(1)))), 791 self.assertEqual(list(starmap(operator.pow, [])), []) 792 self.assertEqual(list(starmap(operator.pow, [iter([4,5])])), [4**5]) 793 self.assertRaises(TypeError, list, starmap(operator.pow, [None])) 794 self.assertRaises(TypeError, starmap) 795 self.assertRaises(TypeError, starmap, operator.pow, [(4,5)], 'extra') 796 self.assertRaises(TypeError, starmap(10, [(4,5)]).next) 797 self.assertRaises(ValueError, starmap(errfunc, [(4,5)]).next) 798 self.assertRaises(TypeError, starmap(onearg, [(4,5)]).next) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_itertools.py | 1183 self.assertEqual(list(starmap(operator.pow, zip(range(3), range(1,7)))), 1185 self.assertEqual(take(3, starmap(operator.pow, zip(count(), count(1)))), 1187 self.assertEqual(list(starmap(operator.pow, [])), []) 1188 self.assertEqual(list(starmap(operator.pow, [iter([4,5])])), [4**5]) 1189 self.assertRaises(TypeError, list, starmap(operator.pow, [None])) 1190 self.assertRaises(TypeError, starmap) 1191 self.assertRaises(TypeError, starmap, operator.pow, [(4,5)], 'extra') 1192 self.assertRaises(TypeError, next, starmap(10, [(4,5)])) 1193 self.assertRaises(ValueError, next, starmap(errfunc, [(4,5)])) 1194 self.assertRaises(TypeError, next, starmap(onearg, [(4,5)])) [all …]
|
D | _test_multiprocessing.py | 2361 psmap = self.pool.starmap 2364 list(itertools.starmap(mul, tuples))) 2367 list(itertools.starmap(mul, tuples))) 2372 list(itertools.starmap(mul, tuples)))
|
/external/crosvm/rutabaga_gfx/src/generated/ |
D | generate | 132 results = pool.starmap(generate_module, modules, 1)
|
D | generate.py | 132 results = pool.starmap(generate_module, modules, 1)
|
/external/python/cpython3/Lib/importlib/ |
D | metadata.py | 20 from itertools import starmap 283 return file_lines and list(starmap(make_file, csv.reader(file_lines)))
|
/external/python/cpython2/Doc/library/ |
D | itertools.rst | 59 :func:`starmap` func, seq func(\*seq[0]), func(\*seq[1]), ... … 611 .. function:: starmap(function, iterable) 616 difference between :func:`imap` and :func:`starmap` parallels the distinction 619 def starmap(function, iterable): 620 # starmap(pow, [(2,5), (3,2), (10,3)]) --> 32 9 1000 625 Previously, :func:`starmap` required the function arguments to be tuples. 743 return starmap(func, repeat(args)) 744 return starmap(func, repeat(args, times))
|
/external/fonttools/Lib/fontTools/cu2qu/ |
D | cli.py | 174 pool.starmap(func, zip(options.infiles, output_paths))
|
/external/python/cpython3/Doc/library/ |
D | itertools.rst | 58 :func:`starmap` func, seq func(\*seq[0]), func(\*seq[1]), ...… 594 .. function:: starmap(function, iterable) 599 difference between :func:`map` and :func:`starmap` parallels the distinction 602 def starmap(function, iterable): 603 # starmap(pow, [(2,5), (3,2), (10,3)]) --> 32 9 1000 782 return starmap(func, repeat(args)) 783 return starmap(func, repeat(args, times))
|
D | functions.rst | 926 already arranged into argument tuples, see :func:`itertools.starmap`\.
|
/external/python/cpython3/Lib/multiprocessing/ |
D | pool.py | 51 return list(itertools.starmap(args[0], args[1])) 366 def starmap(self, func, iterable, chunksize=None): member in Pool
|
/external/python/cpython2/Lib/ |
D | collections.py | 25 from itertools import repeat as _repeat, chain as _chain, starmap as _starmap
|
/external/python/setuptools/setuptools/ |
D | dist.py | 171 list(itertools.starmap(_check_extra, value.items()))
|
D | package_index.py | 408 list(itertools.starmap(self.scan_egg_link, egg_links))
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
D | E_B_D_T_.py | 338 rowData = strjoin(itertools.starmap(binaryConv.get, mapParams))
|
/external/python/cpython3/Doc/howto/ |
D | functional.rst | 827 :func:`itertools.starmap(func, iter) <itertools.starmap>` assumes that the 831 itertools.starmap(os.path.join,
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 35 from itertools import starmap as _starmap
|
/external/python/cpython2/Doc/howto/ |
D | functional.rst | 967 ``itertools.starmap(func, iter)`` assumes that the iterable will return a stream 970 itertools.starmap(os.path.join,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1549 New methods :meth:`multiprocessing.pool.Pool.starmap` and 1551 :func:`itertools.starmap` equivalents to the existing
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 4045 itertools.starmap() now accepts any iterable input. Previously, it required
|
/external/python/cpython3/Misc/ |
D | HISTORY | 8907 - Issue #12708: Add starmap() and starmap_async() methods (similar to 8908 itertools.starmap()) to multiprocessing.Pool. Patch by Hynek Schlawack.
|