Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for defaultValues (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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;
        }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  2. 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...
      //
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 43.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

            assertNull(dataStoreParams.getAsString("nonExistentKey"));
            assertEquals("defaultValue", dataStoreParams.getAsString("nonExistentKey", "defaultValue"));
    
            dataStoreParams.put("nullKey", null);
            assertEquals("defaultValue", dataStoreParams.getAsString("nullKey", "defaultValue"));
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.9K bytes
    - Click Count (0)
  4. 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();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

                private static final long serialVersionUID = 1L;
    
                @Override
                public String getOrDefault(final String key, final String defaultValue) {
                    // Do not override the key — let it use defaultValue
                    return defaultValue;
                }
            });
    
            chatClient.setTestSummaryMaxChars(50);
            final ChatSession session = new ChatSession();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/opensearch/config/exentity/WebConfigTest.java

            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public String getSystemProperty(final String key, final String defaultValue) {
                    return systemPropMap.getOrDefault(key, defaultValue);
                }
    
                @Override
                public boolean isCrawlerIgnoreRobotsTxt() {
                    return false;
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        private String getDefaultMessage() {
            try {
                final Method method = UriType.class.getMethod("message");
                final Object defaultValue = method.getDefaultValue();
                return defaultValue != null ? defaultValue.toString() : null;
            } catch (final Exception e) {
                return "{org.lastaflute.validator.constraints.UriType.message}";
            }
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 21.3K bytes
    - Click Count (0)
  8. migrator/migrator.go

    					alterColumn = true
    				}
    			case schema.Bool:
    				v1, _ := strconv.ParseBool(dv)
    				v2, _ := strconv.ParseBool(field.DefaultValue)
    				if v1 != v2 {
    					alterColumn = true
    				}
    			case schema.String:
    				if dv != field.DefaultValue && dv != strings.Trim(field.DefaultValue, "'\"") {
    					alterColumn = true
    				}
    			default:
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:49:01 GMT 2026
    - 29.8K bytes
    - Click Count (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);
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  10. android/guava/src/com/google/common/graph/Graphs.java

        public @Nullable V edgeValueOrDefault(N nodeU, N nodeV, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(nodeV, nodeU, defaultValue); // transpose
        }
    
        @Override
        public @Nullable V edgeValueOrDefault(EndpointPair<N> endpoints, @Nullable V defaultValue) {
          return delegate().edgeValueOrDefault(transpose(endpoints), defaultValue);
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 24.4K bytes
    - Click Count (0)
Back to Top