Home
last modified time | relevance | path

Searched refs:iterables (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/input/
DCompoundDirectoryInputFileGenerator.java37 List<Iterable<? extends File>> iterables = new ArrayList<>(generators.size()); in generate() local
39 iterables.add(generator.generate()); in generate()
41 return Iterables.concat(iterables); in generate()
/external/python/cpython2/Doc/library/
Ditertools.rst92 .. function:: chain(*iterables)
95 exhausted, then proceeds to the next iterable, until all of the iterables are
99 def chain(*iterables):
101 for it in iterables:
111 def from_iterable(iterables):
113 for it in iterables:
221 Stops when either the *data* or *selectors* iterables has been exhausted.
374 .. function:: imap(function, *iterables)
377 iterables. If *function* is set to ``None``, then :func:`imap` returns the
379 exhausted instead of filling in ``None`` for shorter iterables. The reason for
[all …]
Dfuture_builtins.rst64 .. function:: zip(*iterables)
Dheapq.rst87 .. function:: merge(*iterables)
93 Similar to ``sorted(itertools.chain(*iterables))`` but returns an iterable, does
Dfunctions.rst788 arguments and is applied to the items from all iterables in parallel. If one
792 containing the corresponding items from all iterables (a kind of transpose
1390 see :func:`math.fsum`\. To concatenate a series of iterables, consider using
1588 *i*-th element from each of the argument sequences or iterables. The returned
1595 The left-to-right evaluation order of the iterables is guaranteed. This
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/
DIterablesTest.java1189 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1192 verifyMergeSorted(iterables, ImmutableList.<Integer>of());
1198 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1201 verifyMergeSorted(iterables, iterable0);
1205 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1215 iterables.add(Ordering.natural().sortedCopy(list));
1218 verifyMergeSorted(iterables, allIntegers);
1223 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1232 iterables.add(Ordering.natural().sortedCopy(list));
1235 verifyMergeSorted(iterables, allIntegers);
[all …]
/external/python/cpython3/Lib/concurrent/futures/
Dprocess.py135 def _get_chunks(*iterables, chunksize): argument
137 it = zip(*iterables)
458 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
483 _get_chunks(*iterables, chunksize=chunksize),
D_base.py523 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
548 fs = [self.submit(fn, *args) for args in zip(*iterables)]
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java1293 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1296 verifyMergeSorted(iterables, ImmutableList.<Integer>of());
1302 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1305 verifyMergeSorted(iterables, iterable0);
1309 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1319 iterables.add(Ordering.natural().sortedCopy(list));
1322 verifyMergeSorted(iterables, allIntegers);
1327 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1336 iterables.add(Ordering.natural().sortedCopy(list));
1339 verifyMergeSorted(iterables, allIntegers);
[all …]
/external/python/cpython3/Doc/library/
Ditertools.rst155 .. function:: chain(*iterables)
158 exhausted, then proceeds to the next iterable, until all of the iterables are
162 def chain(*iterables):
164 for it in iterables:
174 def from_iterable(iterables):
176 for it in iterables:
281 Stops when either the *data* or *selectors* iterables has been exhausted.
510 .. function:: product(*iterables, repeat=1)
512 Cartesian product of input iterables.
519 the input's iterables are sorted, the product tuples are emitted in sorted
[all …]
Dconcurrent.futures.rst41 .. method:: map(func, *iterables, timeout=None, chunksize=1)
43 Equivalent to :func:`map(func, *iterables) <map>` except *func* is executed
52 method chops *iterables* into a number of chunks which it submits to the
55 iterables, using a large value for *chunksize* can significantly improve
Dfunctions.rst792 iterables in parallel. With multiple iterables, the iterator stops when the
1386 see :func:`math.fsum`\. To concatenate a series of iterables, consider using
1503 .. function:: zip(*iterables)
1505 Make an iterator that aggregates elements from each of the iterables.
1508 the *i*-th element from each of the argument sequences or iterables. The
1513 def zip(*iterables):
1516 iterators = [iter(it) for it in iterables]
1526 The left-to-right evaluation order of the iterables is guaranteed. This
1533 care about trailing, unmatched values from the longer iterables. If those
Dheapq.rst86 .. function:: merge(*iterables, key=None, reverse=False)
92 Similar to ``sorted(itertools.chain(*iterables))`` but returns an iterable, does
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterables.java490 Iterable<? extends Iterable<? extends T>> iterables) {
492 iterables.iterator()) {
977 final Iterable<? extends Iterable<? extends T>> iterables,
979 checkNotNull(iterables, "iterables");
985 Iterables.transform(iterables, Iterables.<T>toIterator()),
/external/guava/guava/src/com/google/common/collect/
DIterables.java507 Iterable<? extends Iterable<? extends T>> iterables) {
509 iterables.iterator()) {
1018 final Iterable<? extends Iterable<? extends T>> iterables,
1020 checkNotNull(iterables, "iterables");
1026 Iterables.transform(iterables, Iterables.<T>toIterator()),
/external/python/cpython3/Lib/
Dheapq.py314 def merge(*iterables, key=None, reverse=False): argument
347 for order, it in enumerate(map(iter, iterables)):
370 for order, it in enumerate(map(iter, iterables)):
/external/python/cpython2/Lib/
Dheapq.py357 def merge(*iterables): argument
373 for itnum, it in enumerate(map(iter, iterables)):
/external/python/futures/concurrent/futures/
D_base.py608 def map(self, fn, *iterables, **kwargs): argument
630 fs = [self.submit(fn, *args) for args in itertools.izip(*iterables)]
/external/python/futures/docs/
Dindex.rst33 .. method:: Executor.map(func, *iterables, timeout=None)
35 Equivalent to map(*func*, *\*iterables*) but func is executed asynchronously
/external/python/cpython3/Doc/tutorial/
Dcontrolflow.rst146 is another; it creates lists from iterables::
152 Later we will see more functions that return iterables and take iterables as argument.
/external/python/cpython3/Doc/howto/
Dfunctional.rst721 This iterator is intended to be used with iterables that are all of the same
722 length. If the iterables are of different lengths, the resulting stream will be
775 number of iterables as input, and returns all the elements of the first
777 iterables have been exhausted. ::
1017 therefore, can't be applied to infinite iterables. *func* must be a function
/external/python/cpython2/Doc/howto/
Dfunctional.rst666 iterable's elements and therefore can't be applied to infinite iterables.
889 ``itertools.chain(iterA, iterB, ...)`` takes an arbitrary number of iterables as
891 of the second, and so on, until all of the iterables have been exhausted. ::
908 This iterator is intended to be used with iterables that are all of the same
909 length. If the iterables are of different lengths, the resulting stream will be
/external/python/cpython2/Doc/
Dglossary.rst403 iterables include all sequence types (such as :class:`list`, :class:`str`,
411 of values. When using iterables, it is usually not necessary to call
425 places where other iterables are accepted. One notable exception is code
/external/python/cpython2/Doc/whatsnew/
D2.6.rst1578 * Several methods of the built-in set types now accept multiple iterables:
1972 takes any number of iterables returning data in sorted
2008 each of the elements; if some of the iterables are shorter than
2015 of the supplied iterables, a set of tuples containing
2024 product of an iterable or a set of iterables with themselves,
2032 With two iterables, *2N*-tuples are returned. ::
2061 ``itertools.chain(*iterables)`` is an existing function in
2064 iterable that should return other iterables. :func:`chain` will
/external/python/cpython3/Doc/whatsnew/
D2.6.rst1582 * Several methods of the built-in set types now accept multiple iterables:
1976 takes any number of iterables returning data in sorted
2012 each of the elements; if some of the iterables are shorter than
2019 of the supplied iterables, a set of tuples containing
2028 product of an iterable or a set of iterables with themselves,
2036 With two iterables, *2N*-tuples are returned. ::
2065 ``itertools.chain(*iterables)`` is an existing function in
2068 iterable that should return other iterables. :func:`chain` will

12