- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 88 for subscript (0.16 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) -
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) -
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) -
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) -
pkg/apis/core/pods/helpers.go
switch path { case "metadata.annotations", "metadata.labels": return label, value, nil default: return "", "", fmt.Errorf("field label does not support subscript: %s", label) } } switch label { case "metadata.annotations", "metadata.labels", "metadata.name", "metadata.namespace", "metadata.uid", "spec.nodeName", "spec.restartPolicy",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 14 01:35:30 UTC 2023 - 3.2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/instantiate_test.go
t.Errorf("instantiated %q, want %q", got, want) } } // Copied from errors.go. 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: Fri Apr 28 17:58:07 UTC 2023 - 5.8K bytes - Viewed (0) -
src/go/types/instantiate_test.go
t.Errorf("instantiated %q, want %q", got, want) } } // Copied from errors.go. 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: Wed Apr 03 18:48:38 UTC 2024 - 5.9K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/Subscribe.java
* * @author Cliff Biffle * @since 10.0 */ @Retention(RetentionPolicy.RUNTIME) @Target(ElementType.METHOD) @ElementTypesAreNonnullByDefault
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 1.5K bytes - Viewed (0)