Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,322 for option (0.16 sec)

  1. src/text/template/option.go

    	mapError                             // Error out
    )
    
    type option struct {
    	missingKey missingKeyAction
    }
    
    // Option sets options for the template. Options are described by
    // strings, either a simple string or "key=value". There can be at
    // most one equals sign in an option string. If the option string
    // is unrecognized or otherwise invalid, Option panics.
    //
    // Known options:
    //
    Registered: 2024-06-12 16:32
    - Last Modified: 2022-04-11 16:34
    - 1.9K bytes
    - Viewed (0)
  2. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/Option.java

     * property. Some options may also be configurable via the Gradle API, for example feature previews.
     */
    public interface Option {
        abstract class Value<T> {
            public abstract boolean isExplicit();
    
            public abstract T get();
    
            /**
             * Creates the default value for an option.
             */
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:02
    - 1.9K bytes
    - Viewed (0)
  3. pkg/test/framework/resource/config/apply/option.go

    // Option is a strategy for updating Options.
    type Option interface {
    	// Set this option on the provided Options
    	Set(*Options)
    }
    
    // OptionFunc is a function-based Option.
    type OptionFunc func(*Options)
    
    // Set just invokes this function to update the Options.
    func (f OptionFunc) Set(opts *Options) {
    	f(opts)
    }
    
    // NoCleanup is an Option that disables config cleanup.
    Registered: 2024-06-14 15:00
    - Last Modified: 2022-05-17 02:49
    - 1.5K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/tasks/options/Option.java

     * </p>
     * <p>
     * When the option names are unequal, the order described above is used when setting the option's value.
     * If the base class has an option with the name "foo" and an interface has an option with the name "bar",
     * the option "foo" will have precedence over the option "bar" and setting both will result in the value of "foo".
     * </p>
     * <p>
     * <strong>
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-08-10 12:45
    - 3.4K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/option.go

    Xiaopeng Han <******@****.***> 1706292087 +0800
    Registered: 2024-06-14 15:00
    - Last Modified: 2024-01-26 18:01
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

        }
    
        /**
         * Defines a new option. By default, the option takes no arguments and has no description.
         *
         * @param options The options values.
         * @return The option, which can be further configured.
         */
        public CommandLineOption option(String... options) {
            for (String option : options) {
                if (optionsByString.containsKey(option)) {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-01-26 14:58
    - 21.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/tasks/options/OptionReaderTest.groovy

            then:
            options.size() == ownOptions + builtInOptionCount
            options[0].name == "my-option"
            options[0].description == "Option to trigger creation of opposite option"
            options[1].name == "no-my-option"
            options[1].description == "Option clashing with opposite option"
            options[2].name == "rerun"
            options[2].description == "Causes the task to be re-run even if up-to-date."
        }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-08-10 12:45
    - 33.4K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/custom_tasks.adoc

    The absence of the option uses the default value of the property.
    For each boolean option, an opposite option is created automatically.
    For example, `--no-foo` is created for the provided option `--foo` and `--bar` is created for `--no-bar`.
    Options whose name starts with `--no` are disabled options and set the option value to `false`.
    An opposite option is only created if no option with the same name already exists for the task.
    
    `Double`, `Property<Double>`::
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-02-25 15:21
    - 23.6K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/topologymanager/policy_options.go

    		PreferClosestNUMANodes,
    	)
    	stableOptions = sets.New[string]()
    )
    
    func CheckPolicyOptionAvailable(option string) error {
    	if !alphaOptions.Has(option) && !betaOptions.Has(option) && !stableOptions.Has(option) {
    		return fmt.Errorf("unknown Topology Manager Policy option: %q", option)
    	}
    
    	if alphaOptions.Has(option) && !utilfeature.DefaultFeatureGate.Enabled(kubefeatures.TopologyManagerPolicyAlphaOptions) {
    Registered: 2024-06-15 01:39
    - Last Modified: 2023-09-27 13:02
    - 2.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/options/AbstractOptionElement.java

                return new MultipleValueOptionElement(optionName, option, elementType, setter, notationParserFactory);
            }
            return new SingleValueOptionElement(optionName, option, setter.getRawType(), setter, notationParserFactory);
        }
    
        private static String readDescription(Option option, String optionName, Class<?> declaringClass) {
            try {
                return option.description();
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-04-04 14:17
    - 3.7K bytes
    - Viewed (0)
Back to top