Home
last modified time | relevance | path

Searched refs:zip_longest (Results 1 – 25 of 39) sorted by relevance

12

/external/rust/crates/itertools/tests/
Dzip.rs12 .zip_longest(b.iter().cloned()); in zip_longest_fused()
23 assert_eq!(c.zip_longest(v.iter()).size_hint(), (std::usize::MAX, None)); in test_zip_longest_size_hint()
25 assert_eq!(v.iter().zip_longest(v2.iter()).size_hint(), (10, Some(10))); in test_zip_longest_size_hint()
34 let mut it = a.zip_longest(b); in test_double_ended_zip_longest()
Dquick.rs606 correct_size_hint(filt.zip_longest(b.clone())) &&
607 correct_size_hint(a.clone().zip_longest(filt2)) &&
608 exact_size(a.zip_longest(b))
611 let it = a.clone().zip_longest(b.clone());
612 let jt = a.clone().zip_longest(b.clone());
/external/chromium-trace/catapult/common/py_utils/py_utils/refactor/annotated_symbol/
Dreference.py13 from six.moves import zip_longest # pylint: disable=redefined-builtin
71 for child, value_part in zip_longest(self._children, value_parts):
Dimport_statement.py13 from six.moves import zip_longest # pylint: disable=redefined-builtin
51 for child, value_part in zip_longest(self._children[::2], value_parts):
/external/chromium-trace/catapult/devil/devil/android/
Dlogcat_monitor_test.py29 def zip_longest(expected, actual): function
34 return itertools.zip_longest(expected, actual)
56 for expected, actual in zip_longest(expected_iter, actual_iter):
/external/python/cpython3/Lib/test/
Dtest_itertools.py929 self.assertEqual(list(zip_longest(*args)), target)
930 self.assertEqual(list(zip_longest(*args, **{})), target)
932 self.assertEqual(list(zip_longest(*args, **dict(fillvalue='X'))), target)
934 …self.assertEqual(take(3,zip_longest('abcdef', count())), list(zip('abcdef', range(3)))) # take 3 f…
936 self.assertEqual(list(zip_longest()), list(zip()))
937 self.assertEqual(list(zip_longest([])), list(zip([])))
938 self.assertEqual(list(zip_longest('abcdef')), list(zip('abcdef')))
940 self.assertEqual(list(zip_longest('abc', 'defg', **{})),
942 self.assertRaises(TypeError, zip_longest, 3)
943 self.assertRaises(TypeError, zip_longest, range(3), 3)
[all …]
Dtest_range.py32 pairs = itertools.zip_longest(xs, ys, fillvalue=sentinel)
/external/python/cpython3/Tools/msi/
Dcsv_to_wxs.py24 from itertools import chain, zip_longest
116 if all(x.rstrip('\r\n') == y for x, y in zip_longest(f, lines)):
/external/tensorflow/tensorflow/python/kernel_tests/
Dctc_decoder_ops_test.py24 from six.moves import zip_longest
38 return zip_longest(fillvalue=fillvalue, *args)
/external/tensorflow/tensorflow/python/framework/
Dcommon_shapes.py38 broadcasted_dims = reversed(list(six.moves.zip_longest(
Derror_interpolation.py543 itertools.chain(*six.moves.zip_longest(seps, subs, fillvalue="")))
/external/rust/crates/itertools/src/
Dzip_longest.rs23 pub fn zip_longest<T, U>(a: T, b: U) -> ZipLongest<T, U> in zip_longest() function
Dlib.rs154 pub use crate::zip_longest::ZipLongest;
235 mod zip_longest; module
468 fn zip_longest<J>(self, other: J) -> ZipLongest<Self, J::IntoIter> in zip_longest() method
472 zip_longest::zip_longest(self, other.into_iter()) in zip_longest()
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py310 for expected_response, response in moves.zip_longest(
410 for expected_response, response in moves.zip_longest(
465 for expected_response, response in moves.zip_longest(
Dbeta_python_plugin_test.py436 for expected_response, response in moves.zip_longest(
562 for expected_response, response in moves.zip_longest(
623 for check in moves.zip_longest(expected_responses, responses):
/external/bcc/tools/
Dsyscount.py25 izip_longest = itertools.zip_longest
/external/llvm-project/llvm/unittests/ADT/
DIteratorTest.cpp342 for (auto tup : zip_longest(pi, e)) { in TEST()
356 for (auto tup : zip_longest(e, pi)) { in TEST()
/external/python/six/
DCHANGES205 - Add six.moves.zip_longest and six.moves.filterfalse, which correspond
207 and itertools.zip_longest and itertools.filterfalse on Python 3.
Dtest_six.py248 from six.moves import zip_longest
249 it = zip_longest(range(2), range(1))
/external/python/cpython3/Doc/library/
Ditertools.rst61 :func:`zip_longest` p, q, ... (p[0], q[0]), (p[1], q[1]), ... …
661 .. function:: zip_longest(*iterables, fillvalue=None)
667 def zip_longest(*args, fillvalue=None):
668 # zip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-
687 If one of the iterables is potentially infinite, then the :func:`zip_longest`
795 return zip_longest(*args, fillvalue=fillvalue)
/external/autotest/server/cros/update_engine/
Dupdate_engine_test.py16 from six.moves import zip_longest
732 for expected, actual in zip_longest(expected_events, hostlog_events):
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparallel_interleave_test.py26 from six.moves import zip_longest
157 zip_longest(expected_elements,
/external/scapy/scapy/
Dmain.py465 logo + banner for logo, banner in six.moves.zip_longest(
/external/rust/crates/itertools/
DCHANGELOG.md70 …lements yielded from the [`.zip_longest()`](https://docs.rs/itertools/0.8.1/itertools/trait.Iterto…
/external/autotest/client/common_lib/
Dutils.py39 from six.moves import zip_longest
818 for (command, nickname) in zip_longest(commands, nicknames):

12