/external/rust/crates/itertools/tests/ |
D | zip.rs | 12 .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()
|
D | quick.rs | 606 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/ |
D | reference.py | 13 from six.moves import zip_longest # pylint: disable=redefined-builtin 71 for child, value_part in zip_longest(self._children, value_parts):
|
D | import_statement.py | 13 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/ |
D | logcat_monitor_test.py | 29 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/ |
D | test_itertools.py | 929 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 …]
|
D | test_range.py | 32 pairs = itertools.zip_longest(xs, ys, fillvalue=sentinel)
|
/external/python/cpython3/Tools/msi/ |
D | csv_to_wxs.py | 24 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/ |
D | ctc_decoder_ops_test.py | 24 from six.moves import zip_longest 38 return zip_longest(fillvalue=fillvalue, *args)
|
/external/tensorflow/tensorflow/python/framework/ |
D | common_shapes.py | 38 broadcasted_dims = reversed(list(six.moves.zip_longest(
|
D | error_interpolation.py | 543 itertools.chain(*six.moves.zip_longest(seps, subs, fillvalue="")))
|
/external/rust/crates/itertools/src/ |
D | zip_longest.rs | 23 pub fn zip_longest<T, U>(a: T, b: U) -> ZipLongest<T, U> in zip_longest() function
|
D | lib.rs | 154 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.py | 310 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(
|
D | beta_python_plugin_test.py | 436 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/ |
D | syscount.py | 25 izip_longest = itertools.zip_longest
|
/external/llvm-project/llvm/unittests/ADT/ |
D | IteratorTest.cpp | 342 for (auto tup : zip_longest(pi, e)) { in TEST() 356 for (auto tup : zip_longest(e, pi)) { in TEST()
|
/external/python/six/ |
D | CHANGES | 205 - Add six.moves.zip_longest and six.moves.filterfalse, which correspond 207 and itertools.zip_longest and itertools.filterfalse on Python 3.
|
D | test_six.py | 248 from six.moves import zip_longest 249 it = zip_longest(range(2), range(1))
|
/external/python/cpython3/Doc/library/ |
D | itertools.rst | 61 :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/ |
D | update_engine_test.py | 16 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/ |
D | parallel_interleave_test.py | 26 from six.moves import zip_longest 157 zip_longest(expected_elements,
|
/external/scapy/scapy/ |
D | main.py | 465 logo + banner for logo, banner in six.moves.zip_longest(
|
/external/rust/crates/itertools/ |
D | CHANGELOG.md | 70 …lements yielded from the [`.zip_longest()`](https://docs.rs/itertools/0.8.1/itertools/trait.Iterto…
|
/external/autotest/client/common_lib/ |
D | utils.py | 39 from six.moves import zip_longest 818 for (command, nickname) in zip_longest(commands, nicknames):
|