Home
last modified time | relevance | path

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

123

/external/tensorflow/tensorflow/python/autograph/operators/
Dpy_builtins.py367 def zip_(*iterables): argument
368 if all(isinstance(x, dataset_ops.DatasetV2) for x in iterables):
369 return _tf_dataset_zip(*iterables)
370 return _py_zip(*iterables)
373 def _tf_dataset_zip(*iterables): argument
374 return dataset_ops.DatasetV2.zip(iterables)
377 def _py_zip(*iterables): argument
378 return zip(*iterables)
381 def map_(fn, *iterables): argument
382 if all(isinstance(x, dataset_ops.DatasetV2) for x in iterables):
[all …]
/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/python/cpython3/Doc/library/
Ditertools.rst172 .. function:: chain(*iterables)
175 exhausted, then proceeds to the next iterable, until all of the iterables are
179 def chain(*iterables):
181 for it in iterables:
191 def from_iterable(iterables):
193 for it in iterables:
298 Stops when either the *data* or *selectors* iterables has been exhausted.
537 .. function:: product(*iterables, repeat=1)
539 Cartesian product of input iterables.
546 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.rst918 iterables in parallel. With multiple iterables, the iterator stops when the
1586 see :func:`math.fsum`\. To concatenate a series of iterables, consider using
1717 .. function:: zip(*iterables)
1719 Make an iterator that aggregates elements from each of the iterables.
1722 the *i*-th element from each of the argument sequences or iterables. The
1727 def zip(*iterables):
1730 iterators = [iter(it) for it in iterables]
1740 The left-to-right evaluation order of the iterables is guaranteed. This
1747 care about trailing, unmatched values from the longer iterables. If those
/external/guava/guava-tests/test/com/google/common/collect/
DIterablesTest.java1386 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1389 verifyMergeSorted(iterables, ImmutableList.<Integer>of());
1395 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1398 verifyMergeSorted(iterables, iterable0);
1402 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1412 iterables.add(Ordering.natural().sortedCopy(list));
1415 verifyMergeSorted(iterables, allIntegers);
1420 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1429 iterables.add(Ordering.natural().sortedCopy(list));
1432 verifyMergeSorted(iterables, allIntegers);
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DIterablesTest.java1349 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1352 verifyMergeSorted(iterables, ImmutableList.<Integer>of());
1358 Iterable<Iterable<Integer>> iterables = ImmutableList.of(iterable0);
1361 verifyMergeSorted(iterables, iterable0);
1365 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1375 iterables.add(Ordering.natural().sortedCopy(list));
1378 verifyMergeSorted(iterables, allIntegers);
1383 List<Iterable<Integer>> iterables = Lists.newLinkedList();
1392 iterables.add(Ordering.natural().sortedCopy(list));
1395 verifyMergeSorted(iterables, allIntegers);
[all …]
/external/python/cpython3/Lib/concurrent/futures/
Dprocess.py180 def _get_chunks(*iterables, chunksize): argument
182 it = zip(*iterables)
650 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
675 _get_chunks(*iterables, chunksize=chunksize),
D_base.py575 def map(self, fn, *iterables, timeout=None, chunksize=1): argument
600 fs = [self.submit(fn, *args) for args in zip(*iterables)]
/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/perfetto/ui/
Dtsconfig.base.json14 …"downlevelIteration": true, // Provide full support for iterables in 'for-of', spread, …
/external/python/cpython2/Lib/
Dheapq.py357 def merge(*iterables): argument
373 for itnum, it in enumerate(map(iter, iterables)):
/external/guava/guava/src/com/google/common/collect/
DIterables.java1005 final Iterable<? extends Iterable<? extends T>> iterables,
1007 checkNotNull(iterables, "iterables");
1014 Iterables.transform(iterables, Iterables.<T>toIterator()), comparator);
/external/guava/android/guava/src/com/google/common/collect/
DIterables.java1001 final Iterable<? extends Iterable<? extends T>> iterables,
1003 checkNotNull(iterables, "iterables");
1010 Iterables.transform(iterables, Iterables.<T>toIterator()), comparator);
/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/v8/src/builtins/
Dtyped-array-from.tq80 // iterables before applying the mapping.

123