Home
last modified time | relevance | path

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

123

/external/cldr/tools/java/org/unicode/cldr/util/
DDelegatingIterator.java53 public Iterable<T>[] iterables; field in DelegatingIterator.MyIterable
57 iterables = s; in MyIterable()
62 Iterator<T>[] iterators = new Iterator[iterables.length]; in iterator()
63 for (int i = 0; i < iterables.length; ++i) { in iterator()
64 iterators[i] = iterables[i].iterator(); in iterator()
DWith.java227 public static <V> With<V> in(Iterable<V>... iterables) { in in() argument
228 return new With<V>().and(iterables); in in()
278 public With<V> and(Iterable<V>... iterables) { in and() argument
279 for (Iterable<V> iterable : iterables) { in and()
/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
/external/grpc-grpc/src/python/grpcio/grpc/framework/foundation/
Dlogging_pool.py54 def map(self, func, *iterables, **kwargs): argument
56 _wrap(func), *iterables, timeout=kwargs.get('timeout', None))
/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/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.
520 .. function:: product(*iterables, repeat=1)
522 Cartesian product of input iterables.
529 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 Similar to :func:`map(func, *iterables) <map>` except:
45 * the *iterables* are collected immediately rather than lazily;
59 When using :class:`ProcessPoolExecutor`, this method chops *iterables*
62 setting *chunksize* to a positive integer. For very long iterables,
Dheapq.rst86 .. function:: merge(*iterables, key=None, reverse=False)
92 Similar to ``sorted(itertools.chain(*iterables))`` but returns an iterable, does
104 to ``sorted(itertools.chain(*iterables), reverse=True)``, all iterables must
Dfunctions.rst857 iterables in parallel. With multiple iterables, the iterator stops when the
1494 see :func:`math.fsum`\. To concatenate a series of iterables, consider using
1611 .. function:: zip(*iterables)
1613 Make an iterator that aggregates elements from each of the iterables.
1616 the *i*-th element from each of the argument sequences or iterables. The
1621 def zip(*iterables):
1624 iterators = [iter(it) for it in iterables]
1634 The left-to-right evaluation order of the iterables is guaranteed. This
1641 care about trailing, unmatched values from the longer iterables. If those
/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/python/cpython3/Lib/concurrent/futures/
Dprocess.py173 def _get_chunks(*iterables, chunksize): argument
175 it = zip(*iterables)
619 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
644 _get_chunks(*iterables, chunksize=chunksize),
D_base.py550 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
575 fs = [self.submit(fn, *args) for args in zip(*iterables)]
/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/cpython3/Misc/NEWS.d/
D3.6.3.rst7 Re-allow arbitrary iterables in `concurrent.futures.as_completed()`. Fixes
/external/python/cpython2/Lib/
Dheapq.py357 def merge(*iterables): argument
373 for itnum, it in enumerate(map(iter, iterables)):
/external/perfetto/ui/
Dtsconfig.json22 …"downlevelIteration": true, // Provide full support for iterables in 'for-of', spread, …
/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/six/
DCHANGES259 instead of iterables.
/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.

123