Home
last modified time | relevance | path

Searched refs:starmap (Results 1 - 5 of 5) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_itertools.py1238 self.assertEqual(list(starmap(operator.pow, zip(range(3), range(1,7)))),
1240 self.assertEqual(take(3, starmap(operator.pow, zip(count(), count(1)))),
1242 self.assertEqual(list(starmap(operator.pow, [])), [])
1243 self.assertEqual(list(starmap(operator.pow, [iter([4,5])])), [4**5])
1244 self.assertRaises(TypeError, list, starmap(operator.pow, [None]))
1245 self.assertRaises(TypeError, starmap)
1246 self.assertRaises(TypeError, starmap, operator.pow, [(4,5)], 'extra')
1247 self.assertRaises(TypeError, next, starmap(10, [(4,5)]))
1248 self.assertRaises(ValueError, next, starmap(errfunc, [(4,5)]))
1249 self.assertRaises(TypeError, next, starmap(onear
[all...]
H A D_test_multiprocessing.py2439 psmap = self.pool.starmap
2442 list(itertools.starmap(mul, tuples)))
2445 list(itertools.starmap(mul, tuples)))
2450 list(itertools.starmap(mul, tuples)))
/third_party/python/Lib/importlib/metadata/
H A D__init__.py26 from itertools import starmap namespace
659 return list(starmap(make_file, csv.reader(lines)))
/third_party/python/Lib/multiprocessing/
H A Dpool.py51 return list(itertools.starmap(args[0], args[1]))
369 def starmap(self, func, iterable, chunksize=None): member in Pool
380 Asynchronous version of `starmap()` method.
474 Helper function to implement map, starmap and their async counterparts.
/third_party/python/Lib/collections/
H A D__init__.py34 from itertools import starmap as _starmap

Completed in 17 milliseconds