Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for gdbscript (0.28 sec)

  1. 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)
  2. 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)
  3. subprojects/core/src/main/java/org/gradle/groovy/scripts/ScriptRunner.java

     */
    public interface ScriptRunner<T extends Script, M> {
        /**
         * Returns the script which will be executed by this runner. This method is relatively expensive.
         *
         * @return the script.
         */
        T getScript();
    
        /**
         * Returns the data extracted at compilation time.
         */
        M getData();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 18 00:05:45 UTC 2016
    - 1.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptRunnerFactory.java

                this.compiledScript = compiledScript;
                this.source = source;
                this.contextClassLoader = contextClassLoader;
            }
    
            @Override
            public T getScript() {
                if (script == null) {
                    Class<? extends T> scriptClass = compiledScript.loadClass();
                    script = instantiator.newInstance(scriptClass);
                    script.setScriptSource(source);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 02 17:39:25 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/validation/field/path.go

    	}
    	return c.path
    }
    
    // Path represents the path from some root to a particular field.
    type Path struct {
    	name   string // the name of this field or "" if this is an index
    	index  string // if name == "", this is a subscript (index or map key) of the previous element
    	parent *Path  // nil if this is the root element
    }
    
    // NewPath creates a root Path object.
    func NewPath(name string, moreNames ...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)
  6. subprojects/core/src/main/java/org/gradle/configuration/DefaultScriptPluginFactory.java

                if (scriptTarget.getSupportsMethodInheritance() && runner.getHasMethods()) {
                    BasicScript script = runner.getScript();
                    script.init(scriptTarget, scriptServices);
                    scriptTarget.attachScript(script);
                }
                if (!runner.getRunDoesSomething()) {
                    return;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 15:37:32 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top