- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 149 for subscript (0.2 sec)
-
pkg/fieldpath/fieldpath.go
if err != nil { return "", err } if path, subscript, ok := SplitMaybeSubscriptedPath(fieldPath); ok { switch path { case "metadata.annotations": if errs := validation.IsQualifiedName(strings.ToLower(subscript)); len(errs) != 0 { return "", fmt.Errorf("invalid key subscript in %s: %s", fieldPath, strings.Join(errs, ";")) } return accessor.GetAnnotations()[subscript], nil case "metadata.labels":
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 06:26:55 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/cc/gradients/linalg_grad.cc
// set `{b, d}`, subscripts `aabbcd` and input shape `[2,2,5,5,3,4]`, returns // subscripts `bd`, dimensions `[5,4]` and axes `[2,5]`. // // Args: // reduced_label_set: Set of axis labels which appear in `subscripts`. // input_shape: A `Tensor` representing the shape of the einsum operand // corresponding to `subscripts`. // subscripts: A string denoting the einsum subscript. // // Returns:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 20.4K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/MapPropertyExtensions.java
* if the property has no value, or if it does not contain a mapping for the key. * * <p>Extension method to support the subscript operator in Groovy.</p> * * @param self the {@link MapProperty} * @param key the key * @return a {@link Provider} for the value */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 2.8K bytes - Viewed (0) -
pkg/fieldpath/fieldpath_test.go
}, }, expectedMessageFragment: "invalid key subscript in metadata.annotations", }, { name: "invalid label key", fieldPath: "metadata.labels['Www.k8s.io/test']", obj: &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Annotations: map[string]string{"foo": "bar"}, }, }, expectedMessageFragment: "invalid key subscript in metadata.labels", }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 02 06:26:55 UTC 2023 - 10.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/validation/field/path.go
r.Root().parent = p return r } // Index indicates that the previous Path is to be subscripted by an int. // This sets the same underlying value as Key. func (p *Path) Index(index int) *Path { return &Path{index: strconv.Itoa(index), parent: p} } // Key indicates that the previous Path is to be subscripted by a string. // This sets the same underlying value as Index. func (p *Path) Key(key string) *Path {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jan 11 08:23:53 UTC 2021 - 2.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/typestring.go
w.typ(sig.results.vars[0].typ) return } // multiple or named result(s) w.tuple(sig.results, false) } // subscript returns the decimal (utf8) representation of x using subscript digits. func subscript(x uint64) string { const w = len("₀") // all digits 0...9 have the same utf8 width var buf [32 * w]byte i := len(buf) for { i -= w
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.2K bytes - Viewed (0) -
src/go/types/typestring.go
w.typ(sig.results.vars[0].typ) return } // multiple or named result(s) w.tuple(sig.results, false) } // subscript returns the decimal (utf8) representation of x using subscript digits. func subscript(x uint64) string { const w = len("₀") // all digits 0...9 have the same utf8 width var buf [32 * w]byte i := len(buf) for { i -= w
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/ir/.clang-tidy
readability-inconsistent-declaration-parameter-name, readability-misleading-indentation, readability-redundant-control-flow, readability-simplify-boolean-expr, readability-simplify-subscript-expr, readability-use-anyofallof # LINT.ThenChange(METADATA:checks) CheckOptions: # LINT.IfChange(check-options) - key: readability-identifier-naming.ClassCase
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 29 18:55:28 UTC 2022 - 2.9K bytes - Viewed (0) -
src/go/types/format.go
check.markImports(imp) } } // stripAnnotations removes internal (type) annotations from s. func stripAnnotations(s string) string { var buf strings.Builder for _, r := range s { // strip #'s and subscript digits if r < '₀' || '₀'+10 <= r { // '₀' == U+2080 buf.WriteRune(r) } } if buf.Len() < len(s) { return buf.String() } return s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/format.go
check.markImports(imp) } } // stripAnnotations removes internal (type) annotations from s. func stripAnnotations(s string) string { var buf strings.Builder for _, r := range s { // strip #'s and subscript digits if r < '₀' || '₀'+10 <= r { // '₀' == U+2080 buf.WriteRune(r) } } if buf.Len() < len(s) { return buf.String() } return s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0)