/external/tensorflow/tensorflow/python/kernel_tests/ |
D | ctc_decoder_ops_test.py | 34 def grouper(iterable, n, fillvalue=None): argument 38 return zip_longest(fillvalue=fillvalue, *args)
|
/external/python/cpython2/Modules/ |
D | itertoolsmodule.c | 3824 PyObject *fillvalue; member 3836 PyObject *fillvalue = Py_None; in izip_longest_new() local 3840 fillvalue = PyDict_GetItemString(kwds, "fillvalue"); in izip_longest_new() 3841 if (fillvalue == NULL || PyDict_Size(kwds) > 1) { in izip_longest_new() 3891 Py_INCREF(fillvalue); in izip_longest_new() 3892 lz->fillvalue = fillvalue; in izip_longest_new() 3902 Py_XDECREF(lz->fillvalue); in izip_longest_dealloc() 3911 Py_VISIT(lz->fillvalue); in izip_longest_traverse() 3934 Py_INCREF(lz->fillvalue); in izip_longest_next() 3935 item = lz->fillvalue; in izip_longest_next() [all …]
|
/external/v8/tools/clusterfuzz/ |
D | v8_suppressions.py | 146 lines, itertools.islice(lines, 1, None), fillvalue=None) 201 line_pairs(lines1), line_pairs(lines2), fillvalue=(None, None)):
|
/external/python/cpython3/Lib/ |
D | reprlib.py | 9 def recursive_repr(fillvalue='...'): argument 18 return fillvalue
|
D | inspect.py | 2056 iter = itertools.zip_longest(args, defaults, fillvalue=None)
|
/external/python/cpython3/Modules/ |
D | itertoolsmodule.c | 4342 PyObject *fillvalue; member 4354 PyObject *fillvalue = Py_None; in zip_longest_new() local 4358 fillvalue = PyDict_GetItemString(kwds, "fillvalue"); in zip_longest_new() 4359 if (fillvalue == NULL || PyDict_GET_SIZE(kwds) > 1) { in zip_longest_new() 4410 Py_INCREF(fillvalue); in zip_longest_new() 4411 lz->fillvalue = fillvalue; in zip_longest_new() 4421 Py_XDECREF(lz->fillvalue); in zip_longest_dealloc() 4430 Py_VISIT(lz->fillvalue); in zip_longest_traverse() 4453 Py_INCREF(lz->fillvalue); in zip_longest_next() 4454 item = lz->fillvalue; in zip_longest_next() [all …]
|
/external/python/cpython2/Doc/library/ |
D | itertools.rst | 63 …0]), (p[1], q[1]), ... ``izip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C… 465 .. function:: izip_longest(*iterables[, fillvalue]) 468 iterables are of uneven length, missing values are filled-in with *fillvalue*. 475 # izip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D- 476 fillvalue = kwds.get('fillvalue') 482 yield fillvalue 483 fillers = repeat(fillvalue) 494 not specified, *fillvalue* defaults to ``None``. 752 def grouper(iterable, n, fillvalue=None): 756 return izip_longest(fillvalue=fillvalue, *args)
|
/external/v8/tools/testrunner/outproc/ |
D | message.py | 39 expected_lines, actual_lines, fillvalue=''):
|
D | base.py | 140 fillvalue=''
|
/external/python/cpython3/Doc/library/ |
D | itertools.rst | 61 …[0]), (p[1], q[1]), ... ``zip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C… 637 .. function:: zip_longest(*iterables, fillvalue=None) 640 iterables are of uneven length, missing values are filled-in with *fillvalue*. 643 def zip_longest(*args, fillvalue=None): 644 # zip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D- 658 iterators[i] = repeat(fillvalue) 659 value = fillvalue 666 *fillvalue* defaults to ``None``. 761 def grouper(iterable, n, fillvalue=None): 765 return zip_longest(*args, fillvalue=fillvalue)
|
D | reprlib.rst | 48 .. decorator:: recursive_repr(fillvalue="...") 51 same thread. If a recursive call is made, the *fillvalue* is returned,
|
/external/nos/test/system-test-harness/src/test-data/NIST-CAVP/ |
D | nist2h.py | 96 words = [''.join(b) for b in itertools.izip_longest(fillvalue='', *args)]
|
/external/python/cpython2/Lib/test/ |
D | test_xrange.py | 35 pairs = itertools.izip_longest(xs, ys, fillvalue=sentinel)
|
D | test_itertools.py | 599 self.assertEqual(list(izip_longest(*args, **dict(fillvalue='X'))), target) 658 for i, j in izip_longest(r1, r2, fillvalue=0): 669 it = izip_longest(r1, r2, fillvalue=0) 1065 self.assertEqual(list(izip_longest('ABCD', 'xy', fillvalue='-')), 1201 self.makecycle(izip_longest([a]*2, [a]*3, fillvalue=b), a)
|
/external/tensorflow/tensorflow/python/framework/ |
D | error_interpolation.py | 441 itertools.chain(*six.moves.zip_longest(seps, subs, fillvalue="")))
|
D | common_shapes.py | 530 fillvalue=tensor_shape.Dimension(1))))
|
/external/scapy/scapy/ |
D | main.py | 468 fillvalue=""
|
/external/python/cpython3/Lib/test/ |
D | test_itertools.py | 925 self.assertEqual(list(zip_longest(*args, **dict(fillvalue='X'))), target) 965 self.pickletest(proto, zip_longest("abc", "defgh", fillvalue=1)) 991 for i, j in zip_longest(r1, r2, fillvalue=0): 1002 it = zip_longest(r1, r2, fillvalue=0) 1585 self.assertEqual(list(zip_longest('ABCD', 'xy', fillvalue='-')), 1725 self.makecycle(zip_longest([a]*2, [a]*3, fillvalue=b), a)
|
D | test_range.py | 31 pairs = itertools.zip_longest(xs, ys, fillvalue=sentinel)
|
/external/python/cpython3/Tools/clinic/ |
D | clinic.py | 301 …erator = itertools.zip_longest(version_splitter(version1), version_splitter(version2), fillvalue=0)
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.6.rst | 2007 ``izip_longest(iter1, iter2, ...[, fillvalue])`` makes tuples from 2009 others, the missing values are set to *fillvalue*. For example::
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.6.rst | 2011 ``izip_longest(iter1, iter2, ...[, fillvalue])`` makes tuples from 2013 others, the missing values are set to *fillvalue*. For example::
|