Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for DefaultValue (0.15 sec)

  1. src/main/java/org/codelibs/fess/helper/FileTypeHelper.java

         *
         * @param defaultValue the new default file type value
         */
        public void setDefaultValue(final String defaultValue) {
            this.defaultValue = defaultValue;
        }
    
        /**
         * Gets all distinct file types currently configured in the mappings.
         *
         * @return an array of all unique file type values
         */
        public String[] getTypes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

    ) {
      /**
       * Returns the charset of this media type, or [defaultValue] if either this media type doesn't
       * specify a charset, or if its charset is unsupported by the current runtime.
       */
      @JvmOverloads
      fun charset(defaultValue: Charset? = null): Charset? {
        val charset = parameter("charset") ?: return defaultValue
        return try {
          Charset.forName(charset)
        } catch (_: IllegalArgumentException) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:08 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

      fun getEnablePush(defaultValue: Boolean): Boolean {
        val bit = 1 shl ENABLE_PUSH
        return if (bit and set != 0) values[ENABLE_PUSH] == 1 else defaultValue
      }
    
      fun getMaxConcurrentStreams(): Int {
        val bit = 1 shl MAX_CONCURRENT_STREAMS
        return if (bit and set != 0) values[MAX_CONCURRENT_STREAMS] else Int.MAX_VALUE
      }
    
      fun getMaxFrameSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_FRAME_SIZE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. schema/field.go

    	}
    
    	// default value is function or null or blank (primary keys)
    	field.DefaultValue = strings.TrimSpace(field.DefaultValue)
    	skipParseDefaultValue := strings.Contains(field.DefaultValue, "(") &&
    		strings.Contains(field.DefaultValue, ")") || strings.ToLower(field.DefaultValue) == "null" || field.DefaultValue == ""
    	switch reflect.Indirect(fieldValue).Kind() {
    	case reflect.Bool:
    		field.DataType = Bool
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Aug 20 04:51:17 UTC 2025
    - 32K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

      return length
    }
    
    fun String.toLongOrDefault(defaultValue: Long): Long =
      try {
        toLong()
      } catch (_: NumberFormatException) {
        defaultValue
      }
    
    /**
     * Returns this as a non-negative integer, or 0 if it is negative, or [Int.MAX_VALUE] if it is too
     * large, or [defaultValue] if it cannot be parsed.
     */
    internal fun String?.toNonNegativeInt(defaultValue: Int): Int {
      try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Iterables.java

       * Returns the first element in {@code iterable} that satisfies the given predicate, or {@code
       * defaultValue} if none found. Note that this can usually be handled more naturally using {@code
       * tryFind(iterable, predicate).or(defaultValue)}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.filter(predicate).findFirst().orElse(defaultValue)}
       *
       * @since 7.0
       */
      // The signature we really want here is...
      //
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/validation/CustomSizeTest.java

                return defaultValue != null ? defaultValue.toString() : StringUtil.EMPTY;
            } catch (final Exception e) {
                return StringUtil.EMPTY;
            }
        }
    
        private String getDefaultMaxKey() {
            try {
                final Method method = CustomSize.class.getMethod("maxKey");
                final Object defaultValue = method.getDefaultValue();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/graph/ForwardingValueGraph.java

      }
    
      @Override
      public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
        return delegate().edgeValueOrDefault(nodeU, nodeV, defaultValue);
      }
    
      @Override
      public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
        return delegate().edgeValueOrDefault(endpoints, defaultValue);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. api/maven-api-model/src/main/mdo/maven.mdo

              <version>4.0.0+</version>
              <defaultValue>mail</defaultValue>
              <type>String</type>
              <description>The mechanism used to deliver notifications.</description>
            </field>
            <field>
              <name>sendOnError</name>
              <version>4.0.0+</version>
              <defaultValue>true</defaultValue>
              <type>boolean</type>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/SystemUtil.java

         *
         * @param key the property key
         * @param defaultValue the default value
         * @return the property value, or the default value if not found
         */
        public static String getProperty(String key, String defaultValue) {
            return System.getProperty(key, defaultValue);
        }
    
        /**
         * Returns the system environment variable value for the specified key.
         *
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top