- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 204 for dashes (0.04 sec)
-
docs/recipes.md
responses, you'll need a cache directory that you can read and write to, and a limit on the cache's size. The cache directory should be private, and untrusted applications should not be able to read its contents! It is an error to have multiple caches accessing the same cache directory simultaneously. Most applications should call `new OkHttpClient()` exactly once, configure it with their cache, and use that same instance everywhere. Otherwise the two cache instances will stomp on each other, corrupt...
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
} // Verify that StackOverflowError in a long chain of SetFuture doesn't cause the entire toString // call to fail @J2ktIncompatible @GwtIncompatible @AndroidIncompatible // b/391667564: crashes from stack overflows public void testSetFutureToString_stackOverflow() { SettableFuture<String> orig = SettableFuture.create(); SettableFuture<String> prev = orig; for (int i = 0; i < 100000; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 46.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/SmbNegotiationResponseTest.java
assertTrue(negotiationResponse.isSigningRequired()); assertTrue(negotiationResponse.isSigningNegotiated()); } @Test @DisplayName("Test buffer size edge cases") void testBufferSizeEdgeCases() { // Test minimum buffer sizes when(negotiationResponse.getSendBufferSize()).thenReturn(1); when(negotiationResponse.getReceiveBufferSize()).thenReturn(1);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
* be cached and cause other types to fail even though they may * not be the authority for the name. For example, if a WINS lookup * for FOO fails and caches unknownAddress for FOO, a subsequent * lookup for FOO using BCAST should not fail because of that * name cached from WINS. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Invalid unwrap assertThrows(ClassCastException.class, () -> sid.unwrap(String.class)); } @Test @DisplayName("isEmpty and isBlank edge cases") void testEmptyAndBlank() throws Exception { // No subauthorities SID s1 = new SID("S-1-5"); assertTrue(s1.isEmpty());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt
} } } finally { cancelInFlightConnects() } throw firstException!! } /** * Returns non-null if we don't need to wait for the launched result. In such cases, this result * must be processed before whatever is waiting in the queue because we may have already acquired * its connection. */ private fun launchTcpConnect(): ConnectResult? { val plan =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertEquals("a", notification.getKey()); assertEquals("a", notification.getValue()); assertEquals(1, cache.size()); assertEquals("b", cache.getUnchecked("b")); } // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants. /** * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderTest.java
assertEquals("a", notification.getKey()); assertEquals("a", notification.getValue()); assertEquals(1, cache.size()); assertEquals("b", cache.getUnchecked("b")); } // "Basher tests", where we throw a bunch of stuff at a LoadingCache and check basic invariants. /** * This is a less carefully-controlled version of {@link #testRemovalNotification_clear} - this is
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureKeyManager.java
* * @param array the array to wipe */ public static void secureWipe(byte[] array) { if (array != null) { Arrays.fill(array, (byte) 0); // Additional passes with different patterns for enhanced security Arrays.fill(array, (byte) 0xFF); Arrays.fill(array, (byte) 0xAA); Arrays.fill(array, (byte) 0x55); Arrays.fill(array, (byte) 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt
import okhttp3.tls.HandshakeCertificates import okhttp3.tls.internal.TlsUtil.localhost /** * OkHttp is usually tested with functional tests: these use public APIs to confirm behavior against * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes * it easy to get sample values to use in such tests. * * This class is pretty fast and loose with default values: it attempts to provide values that are
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri May 30 21:28:20 UTC 2025 - 7.7K bytes - Viewed (0)