Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 226 for defaultValues (0.23 sec)

  1. platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AbstractAccessTrackingMapTest.groovy

            when:
            def result = getMapUnderTestToRead().getOrDefault(key, 'defaultValue')
    
            then:
            result == expectedResult
            1 * onAccess.accept(key, reportedValue)
            0 * onAccess._
    
            where:
            key        | expectedResult  | reportedValue
            'existing' | 'existingValue' | 'existingValue'
            'missing'  | 'defaultValue'  | null
        }
    
    
        def "containsKey(#key) is tracked"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Nov 11 00:37:04 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. pkg/kube/inject/template.go

    	}
    
    	// The port was not already excluded - exclude it now.
    	outPorts = append(outPorts, portStr)
    	return strings.Join(outPorts, ",")
    }
    
    func valueOrDefault(value any, defaultValue any) any {
    	if value == "" || value == nil {
    		return defaultValue
    	}
    	return value
    }
    
    func toJSON(m map[string]string) string {
    	if m == nil {
    		return "{}"
    	}
    
    	ba, err := json.Marshal(m)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 02:12:03 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.h

      string VariableName() const;
      string VariableType() const;
      string AttrNameString() const;
      string VariableStrLen() const;
      string VariableSpanData() const;
      string VariableSpanLen() const;
      string DefaultValue() const;
      string InputArg(bool with_default_value) const;
      string SetterMethod() const;
      std::vector<string> SetterArgs() const;
    
     private:
      AttrSpec attr_;
    };
    
    }  // namespace cpp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. maven-compat/src/main/mdo/profiles.mdo

              <description>The type of layout this repository uses for locating and storing artifacts - can be "legacy" or
                "default".</description>
              <type>String</type>
              <defaultValue>default</defaultValue>
            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.0.0</version>
              <code><![CDATA[
                public boolean equals( Object obj )
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 21:08:35 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  5. maven-embedder/src/main/mdo/core-extensions.mdo

              <version>1.1.0+</version>
              <defaultValue>self-first</defaultValue>
              <required>false</required>
              <type>String</type>
            </field>
            <field>
              <name>configuration</name>
              <version>1.2.0+</version>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. src/mdo/reader-stax.vm

         *
         * @param s a s object.
         * @param defaultValue a defaultValue object.
         * @param parser a parser object.
         * @param attribute a attribute object.
         * @throws XMLStreamException XMLStreamException if
         * any.
         * @return boolean
         */
        private boolean getBooleanValue(String s, String attribute, XMLStreamReader parser, boolean defaultValue) throws XMLStreamException {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/api/internal/StartParameterInternalTest.groovy

            def parameter = new StartParameterInternal()
    
            expect:
            !parameter.configurationCacheRequested
    
            parameter.setConfigurationCache(Option.Value.defaultValue(true))
            parameter.configurationCacheRequested
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 21 01:32:16 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  8. maven-compat/src/main/mdo/paramdoc.mdo

              <version>1.0.0</version>
              <name>editable</name>
              <description>Whether the value of this expression can be changed.</description>
              <type>boolean</type>
              <defaultValue>true</defaultValue>
            </field>
          </fields>
        </class>
      </classes>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Aug 21 15:04:07 UTC 2009
    - 5.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/connection/ProviderOperationParameters.java

         * @since 3.5-rc-1
         */
        @Nullable
        Map<String, String> getEnvironmentVariables(@Nullable Map<String, String> defaultValue);
    
        /**
         * @since 1.0-milestone-3
         */
        long getStartTime();
    
        /**
         * @return When null, use the provider's default Gradle user home dir.
         * @since 1.0-milestone-3
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 19 19:46:37 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. cmd/genyaml/gen_kubectl_yaml.go

    	"k8s.io/cli-runtime/pkg/genericiooptions"
    	"k8s.io/kubectl/pkg/cmd"
    	"k8s.io/kubernetes/cmd/genutils"
    )
    
    type cmdOption struct {
    	Name         string
    	Shorthand    string `yaml:",omitempty"`
    	DefaultValue string `yaml:"default_value,omitempty"`
    	Usage        string `yaml:",omitempty"`
    }
    
    type cmdDoc struct {
    	Name             string
    	Synopsis         string      `yaml:",omitempty"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 14:05:23 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top