- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 109 for DefaultValue (0.06 seconds)
-
src/main/java/org/codelibs/core/misc/DynamicProperties.java
@Override public Object get(final Object key) { return getProperties().get(key); } @Override public String getProperty(final String key, final String defaultValue) { return getProperties().getProperty(key, defaultValue); } @Override public String getProperty(final String key) { return getProperties().getProperty(key); } @OverrideCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Jul 05 00:11:05 GMT 2025 - 13.1K bytes - Click Count (0) -
internal/logger/config.go
AuditKafka: make(map[string]kafka.Config), } return cfg } func getCfgVal(envName, key, defaultValue string) string { if key != config.Default { envName = envName + config.Default + key } return env.Get(envName, defaultValue) } func lookupLegacyConfigForSubSys(ctx context.Context, subSys string) Config { cfg := NewConfig() switch subSys {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 18.7K bytes - Click Count (0) -
schema/schema_helper_test.go
} else { tests.AssertObjEqual(t, parsedField, f, "Name", "DBName", "BindNames", "DataType", "PrimaryKey", "AutoIncrement", "Creatable", "Updatable", "Readable", "HasDefaultValue", "DefaultValue", "NotNull", "Unique", "Comment", "Size", "Precision", "TagSettings") if f.DBName != "" { if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 7.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMap.java
/* * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who * pass a literal "null" should probably just use `get`, but I would expect other callers to * pass an expression that *might* be null. This could happen with: * * - a `getFooOrDefault(@Nullable Foo defaultValue)` method that returnsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 44.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java
* @param key the parameter key to look up * @param defaultValue the default value to return if key is not found * @return the parameter value as a string, or the default value if not found */ protected String getParamValue(final DataStoreParams paramMap, final String key, final String defaultValue) { return paramMap.getAsString(key, defaultValue); } /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 29.7K bytes - Click Count (3) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
// We assume that all defaults are generics-safe, even if they aren't, // we take the risk. @SuppressWarnings("unchecked") T defaultValue = (T) defaults.getInstance(type.getRawType()); if (defaultValue != null) { return defaultValue; } @SuppressWarnings("unchecked") // All arbitrary instances are generics-safe T arbitrary = (T) ArbitraryInstances.get(type.getRawType());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jul 14 14:44:08 GMT 2025 - 24.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
) fun handshake(): Handshake? = handshake fun headers(name: String): List<String> = headers.values(name) @JvmOverloads fun header( name: String, defaultValue: String? = null, ): String? = headers[name] ?: defaultValue @JvmName("-deprecated_headers") @Deprecated( message = "moved to val", replaceWith = ReplaceWith(expression = "headers"), level = DeprecationLevel.ERROR, )
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
} @Override public final @Nullable V getOrDefault(@Nullable Object key, @Nullable V defaultValue) { V result = get(key); // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker. if (result != null) { return result; } else { return defaultValue; } } private transient @Nullable ImmutableSet<Entry<K, V>> cachedEntrySet = null;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesTest.java
properties.load(new StringReader(TEST_PROPERTIES)); String test = properties.getProperty("test"); assertEquals("test", test); String defaultValue = properties.getProperty("notfound", "default"); assertEquals("default", defaultValue); properties.setProperty("another", "another"); Object o1 = properties.getProperty("another"); assertEquals("another", o1);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Mar 09 14:29:03 GMT 2026 - 16.3K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java
* * @param key the property key. * @param defaultValue a default value. * @return The property value of the default value */ public String getProperty(String key, String defaultValue) { if (this.get(key) != null) { return this.get(key); } return defaultValue; } @Override public Set<Entry<String, String>> entrySet() {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 38.4K bytes - Click Count (0)