Home
last modified time | relevance | path

Searched refs:num_defaults (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/contrib/labeled_tensor/python/ops/
D_typecheck.py242 num_defaults = len(spec.defaults)
243 for (name, a, t) in zip(spec.args[-num_defaults:],
245 types[-num_defaults:]):
/external/libcups/cups/
Dcups-private.h206 int num_defaults; /* Number of default options */ member
Ddest-options.c354 if (!dinfo->num_defaults) in cupsCopyDestConflicts()
1492 dinfo->num_defaults = cupsAddOption(name, value, dinfo->num_defaults, in cups_create_defaults()
2129 value = cupsGetOption(attr->name, dinfo->num_defaults, dinfo->defaults); in cups_test_constraints()
/external/python/cpython2/Lib/
Dinspect.py935 num_defaults = len(defaults) if defaults else 0
964 for arg, value in zip(args[-num_defaults:], defaults):
982 num_required = num_args - num_defaults
/external/python/cpython3/Lib/
Dinspect.py1295 num_defaults = len(defaults) if defaults else 0
1317 _too_many(f_name, args, kwonlyargs, varargs, num_defaults,
1320 req = args[:num_args - num_defaults]
1324 for i, arg in enumerate(args[num_args - num_defaults:]):