Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 226 for defaultValues (0.18 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractMinimalProvider.java

        public T getOrNull() {
            return calculateOwnValue(ValueConsumer.IgnoreUnsafeRead).orNull();
        }
    
        @Override
        public T getOrElse(T defaultValue) {
            return calculateOwnValue(ValueConsumer.IgnoreUnsafeRead).orElse(Cast.uncheckedNonnullCast(defaultValue));
        }
    
        @Override
        public Value<? extends T> calculateValue(ValueConsumer consumer) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 17 23:22:41 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. migrator/migrator.go

    			case schema.Time:
    				if !strings.EqualFold(strings.TrimSuffix(dv, "()"), strings.TrimSuffix(field.DefaultValue, "()")) {
    					alterColumn = true
    				}
    			case schema.Bool:
    				v1, _ := strconv.ParseBool(dv)
    				v2, _ := strconv.ParseBool(field.DefaultValue)
    				alterColumn = v1 != v2
    			default:
    				alterColumn = dv != field.DefaultValue
    			}
    		}
    	}
    
    	// check comment
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Apr 26 07:15:49 UTC 2024
    - 29K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/Option.java

            public abstract boolean isExplicit();
    
            public abstract T get();
    
            /**
             * Creates the default value for an option.
             */
            public static <T> Value<T> defaultValue(final T value) {
                return new Value<T>() {
                    @Override
                    public boolean isExplicit() {
                        return false;
                    }
    
                    @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:02:02 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ValueSupplier.java

            }
    
            @Override
            public T orNull() {
                return null;
            }
    
            @Override
            public T orElse(T defaultValue) {
                return defaultValue;
            }
    
            @Override
            public T getWithoutSideEffect() throws IllegalStateException {
                return get();
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 20:31:29 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/AbstractCollectionProperty.java

            init();
        }
    
        private void init() {
            defaultValue = emptySupplier();
            init(defaultValue, noValueSupplier());
        }
    
        @Override
        protected CollectionSupplier<T, C> getDefaultValue() {
            return defaultValue;
        }
    
        @Override
        protected CollectionSupplier<T, C> getDefaultConvention() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. src/mdo/reader.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: Fri Dec 15 06:33:11 UTC 2023
    - 42.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/graph/ValueGraph.java

       * otherwise, returns {@code defaultValue}.
       *
       * <p>In an undirected graph, this is equal to {@code edgeValueOrDefault(nodeV, nodeU,
       * defaultValue)}.
       *
       * @throws IllegalArgumentException if {@code nodeU} or {@code nodeV} is not an element of this
       *     graph
       */
      @CheckForNull
      V edgeValueOrDefault(N nodeU, N nodeV, @CheckForNull V defaultValue);
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Optional.java

      /**
       * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default
       * value should be required because the instance is known to be present, use {@link #get()}
       * instead. For a default value of {@code null}, use {@link #orNull}.
       *
       * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. src/mdo/model.vm

          #if ( $field.defaultValue )
            #set ( $type = ${types.getOrDefault($field,${types.getOrDefault($field.type,$field.type)})} )
            #if ( $field.type == "String" )
                    this.${field.name} = "${field.defaultValue}";
            #elseif ( $field.type != "java.util.List" && $field.type != "java.util.Properties" )
                    this.${field.name} = ${field.defaultValue};
            #end
          #end
        #end
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Optional.java

      /**
       * Returns the contained instance if it is present; {@code defaultValue} otherwise. If no default
       * value should be required because the instance is known to be present, use {@link #get()}
       * instead. For a default value of {@code null}, use {@link #orNull}.
       *
       * <p>Note about generics: The signature {@code public T or(T defaultValue)} is overly
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top