- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 199 for get$default (0.45 seconds)
-
src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java
ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { private static final long serialVersionUID = 1L; @Override public String getOrDefault(final String key, final String defaultValue) { if ("rag.chat.message.max.length".equals(key)) { return defaultValue; } return defaultValue;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 14 01:39:16 GMT 2026 - 35K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/utils/CLIReportingUtils.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Mar 10 15:37:54 GMT 2026 - 6.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbConstants.java
int HEADER_LENGTH = 32; /** Milliseconds between 1970 and 1601 */ long MILLISECONDS_BETWEEN_1970_AND_1601 = 11644473600000L; /** Default timezone */ TimeZone TZ = TimeZone.getDefault(); /** Whether to use batching */ boolean USE_BATCHING = Config.getBoolean("jcifs.smb1.smb.client.useBatching", true); /** OEM encoding */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 10.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Functions.java
* * <p>Prefer to write the lambda expression {@code k -> map.getOrDefault(k, defaultValue)} * instead. Note that it is not serializable unless you explicitly make it {@link Serializable}, * typically by writing {@code (Function<K, V> & Serializable) k -> map.getOrDefault(k, * defaultValue)}. * * @param map source map that determines the function behaviorCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 15.4K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
* @param a the authenticator to set as default */ public synchronized static void setDefault(final NtlmAuthenticator a) { if (auth != null) { return; } auth = a; } /** * Gets the URL that is requesting authentication.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.7K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheCorruptionTest.kt
clientTestRule .newClientBuilder() .cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } } @Test fun corruptedCipher() { val response = testCorruptingCache { corruptMetadata {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 6K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java
} public void testNulls() { monitor.enter(); // Inhibit IllegalMonitorStateException new NullPointerTester() .setDefault(Monitor.Guard.class, new TestGuard(true)) .testAllPublicInstanceMethods(monitor); } // TODO: Test enter(long, TimeUnit). // TODO: Test enterWhen(Guard, long, TimeUnit).
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.2K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* testing {@link Object#equals} because more than one sample instances are needed for testing * inequality. */ protected final <T> void setDefault(Class<T> type, T value) { tester.setDefault(type, value); } /** * Sets two distinct values for {@code type}. These values can be used for both null pointer * testing and equals testing. * * @since 17.0Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 17.9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* @return the environment variable value, or the default value if not found */ public static String getEnv(String key, String defaultValue) { return System.getenv().getOrDefault(key, defaultValue); } /** * Provider for current time in milliseconds. Can be overridden for testing. */ private static LongSupplier timeProvider = System::currentTimeMillis;Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 4.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
mockWebServer.serverSocketFactory = ServerSocketFactory.getDefault() val url: HttpUrl = mockWebServer.url("") mockWebServer.bodyLimit = 0L mockWebServer.protocolNegotiationEnabled = false mockWebServer.protocols = listOf() val protocols: List<Protocol> = mockWebServer.protocols mockWebServer.useHttps(SSLSocketFactory.getDefault() as SSLSocketFactory, false) mockWebServer.noClientAuth()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0)