Home
last modified time | relevance | path

Searched refs:c_default (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Tools/clinic/
Dclinic.py2419 c_default = None variable in CConverter
2489 …def __init__(self, name, py_name, function, default=unspecified, *, c_default=None, py_default=Non… argument
2503 if c_default:
2504 self.c_default = c_default
2636 default = self.c_default
2748 self.c_default = str(int(self.default))
2804 self.c_default = repr(bytes(self.default))[1:]
2805 if self.c_default == '"\'"':
2806 self.c_default = r"'\''"
3290 self.c_default = "NULL"
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dparse_single_example_op_test.py133 c_default = np.random.rand(2).astype(np.float32)
144 c_name: np.array(c_default),
160 (2,), dtypes.float32, default_value=c_default),
Dparsing_ops_test.py124 c_default = np.random.rand(2).astype(np.float32)
135 c_name: np.array(2 * [c_default]),
153 (2,), dtypes.float32, default_value=c_default),
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py119 c_default = np.random.rand(2).astype(np.float32)
130 c_name: np.array(2 * [c_default]),
145 (2,), dtypes.float32, default_value=c_default),
/external/python/cpython3/Lib/test/
Dtest_clinic.py323 self.assertEqual("MAXSIZE", p.converter.c_default)
Dclinic.test3216 co_lnotab: PyBytesObject(c_default="(PyBytesObject *)self->co_lnotab") = None
/external/python/cpython3/Doc/howto/
Dclinic.rst759 ``c_default``
1003 in C, using the ``c_default`` parameter to the converter:
1007 foo: Py_ssize_t(c_default="PY_SSIZE_T_MAX - 1") = sys.maxsize - 1
1249 ``c_default``
/external/python/cpython3/Misc/
DHISTORY2758 c_default is also specified, providing a nice failure message for
2776 value of c_default and py_default with a class member.