- Sort Score
- Result 10 results
- Languages All
Results 1761 - 1770 of 2,109 for collect (0.06 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt
* customizations. * * Most TLS clients that connect to hosts on the public Internet should call this method. * Otherwise it is necessary to manually prepare a comprehensive set of trusted roots. * * If the host platform is compromised or misconfigured this may contain untrustworthy root * certificates. Applications that connect to a known set of servers may be able to mitigateRegistered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 10 11:15:14 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/features/caching.md
Caching ======= OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and server behaviour when ambiguous. # Basic Usage ```kotlin private val client: OkHttpClient = OkHttpClient.Builder() .cache(Cache( directory = File(application.cacheDir, "http_cache"), // $0.05 worth of phone storage in 2020
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 02:19:09 UTC 2022 - 3.1K bytes - Viewed (1) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt
*/ fun cancel() fun interface Factory { /** * Creates a new event source and immediately returns it. Creating an event source initiates an * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be * notified. The caller must cancel the returned event source when it is no longer in use. */ fun newEventSource( request: Request,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 2.5K bytes - Viewed (0) -
.github/workflows/mint/nginx.conf
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; # To support websocket proxy_http_version 1.1;Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed May 15 16:52:29 UTC 2024 - 3.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java
} @Override public void tearDown() throws Exception { super.tearDown(); } public void test_getQueryClassName() { // Test that getQueryClassName returns the correct class name String className = matchAllQueryCommand.getQueryClassName(); assertEquals("MatchAllDocsQuery", className); assertEquals(MatchAllDocsQuery.class.getSimpleName(), className); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 16.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
} @Test @DisplayName("Test decode reads correct number of bytes") void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; // Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/Smb2LeaseStateTest.java
import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; @DisplayName("Smb2LeaseState Tests") class Smb2LeaseStateTest { @Test @DisplayName("Should define correct lease state constants") void testLeaseStateConstants() { assertEquals(0x00, Smb2LeaseState.SMB2_LEASE_NONE); assertEquals(0x01, Smb2LeaseState.SMB2_LEASE_READ_CACHING);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 00:16:17 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java
boostQueryCommand = new BoostQueryCommand(); boostQueryCommand.register(); } public void test_getQueryClassName() { // Test that getQueryClassName returns the correct class name assertEquals("BoostQuery", boostQueryCommand.getQueryClassName()); } public void test_execute_withTermQuery() { // Test executing BoostQuery with a TermQuery inside
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/CredentialsTest.java
mockCredentials.getUserDomain(); mockCredentials.isAnonymous(); mockCredentials.isGuest(); }); } @Test @DisplayName("Should unwrap to correct type") void testUnwrap() { // Given when(mockCredentials.unwrap(Credentials.class)).thenReturn(mockCredentials); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/BufferCache.java
if (bufferQueue.offer(buf)) { // O(1) operation queueSize.incrementAndGet(); } } // If queue is full, let the buffer be garbage collected } /** * Get current cache statistics for monitoring * @return formatted statistics string */ public static String getCacheStatistics() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4.2K bytes - Viewed (0)