Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 81 for defaultValue (0.1 sec)

  1. android/guava/src/com/google/common/base/Absent.java

        return false;
      }
    
      @Override
      public T get() {
        throw new IllegalStateException("Optional.get() cannot be called on an absent value");
      }
    
      @Override
      public T or(T defaultValue) {
        return checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)");
      }
    
      @SuppressWarnings("unchecked") // safe covariant cast
      @Override
      public Optional<T> or(Optional<? extends T> secondChoice) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  2. migrator/column_type.go

    }
    
    // Comment returns the comment of current column.
    func (ct ColumnType) Comment() (value string, ok bool) {
    	return ct.CommentValue.String, ct.CommentValue.Valid
    }
    
    // DefaultValue returns the default value of current column.
    func (ct ColumnType) DefaultValue() (value string, ok bool) {
    	return ct.DefaultValueValue.String, ct.DefaultValueValue.Valid
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/ExecJob.java

         * @param name the property name
         * @param defaultValue the default value to use if property doesn't exist
         * @param appendValue the value to append to the property value
         */
        protected void addSystemProperty(final List<String> cmdList, final String name, final String defaultValue, final String appendValue) {
            final String value = System.getProperty(name);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  4. api/maven-api-cli/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: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  5. compat/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: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getSystemProperty(final String key, final String defaultValue) {
                    return systemPropMap.getOrDefault(key, defaultValue);
                }
            };
            ComponentUtil.setFessConfig(fessConfig);
            SystemHelper systemHelper = new SystemHelper() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        @SuppressWarnings("unchecked") // Assume all default values are generics safe.
        T defaultValue = (T) defaultValues.getInstance(rawType);
        if (defaultValue != null) {
          return defaultValue;
        }
        @SuppressWarnings("unchecked") // ArbitraryInstances always returns generics-safe dummies.
        T value = (T) ArbitraryInstances.get(rawType);
        if (value != null) {
          return value;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Jun 06 02:35:01 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

             * @param key The property key to look up
             * @param defaultValue The default value to return if the property is not set
             * @return The property value or the default value
             */
            protected String getProperty(final String key, final String defaultValue) {
                return ComponentUtil.getSystemProperties().getProperty(key, defaultValue);
            }
    
            /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 17.2K bytes
    - Viewed (3)
  10. callbacks/create_test.go

    			},
    		},
    		ReflectValue: reflect.ValueOf(dest),
    		Dest:         dest,
    	}
    
    	stmt.Schema = s
    
    	values := ConvertToCreateValues(stmt)
    	expected := clause.Values{
    		// column has value + defaultValue column has value (which should have a stable order)
    		Columns: []clause.Column{{Name: "name"}, {Name: "email"}, {Name: "age"}, {Name: "id"}},
    		Values: [][]interface{}{
    			{"alice", "email", 18, 1},
    			{"bob", "email", 19, 2},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Mar 18 05:48:42 UTC 2024
    - 1.4K bytes
    - Viewed (0)
Back to top