- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 956 for _close (0.08 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt
@AfterEach fun tearDown() { while (!toClose.isEmpty()) { toClose.pop().close() } taskFaker.close() (filesystem.delegate as? FakeFileSystem)?.checkNoOpenFiles() } @ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun emptyCache(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) cache.close() assertJournalEquals() }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 75.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
server.listener.assertExhausted() server.source.close() client.source.close() taskFaker.runTasks() server.webSocket!!.tearDown() client.webSocket!!.tearDown() taskFaker.close() } @Test fun close() { client.webSocket!!.close(1000, "Hello!") // This will trigger a close response. assertThat(server.processNextFrame()).isFalse()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTransportPoolImpl.java
* * @see jcifs.SmbTransportPool#close() */ @Override public boolean close() throws CIFSException { boolean inUse = false; // Cleanup first cleanup(); log.debug("Closing pool"); // Create a snapshot of connections to close List<SmbTransportImpl> toClose = new ArrayList<>(this.connections); toClose.addAll(this.nonPooledConnections);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 33.4K bytes - Viewed (0) -
src/test/java/jcifs/util/SmbCircuitBreakerTest.java
assertEquals("working", result); // Close it cbToClose.close(); // Should not throw exception (close should be idempotent) cbToClose.close(); } @Test public void testEnhancedMetricsTracking() throws Exception { SmbCircuitBreaker cbWithEnhanced = new SmbCircuitBreaker("enhanced-test"); try {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/TemporaryFileInputStream.java
return fileInputStream.available(); } /** * Closes this input stream and releases any system resources associated with the stream. * @throws IOException if an I/O error occurs. */ @Override public void close() throws IOException { try { fileInputStream.close(); } finally { FileUtil.deleteInBackground(tempFile); } }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/TrailersTest.kt
.bodyDelay(1, TimeUnit.SECONDS) .body(protocol, "Hello") .build(), ) val call = client.newCall(Request(server.url("/"))) call.execute().use { response -> response.close() assertFailsWith<IOException> { response.trailers() } } } @Test fun readTrailersAfterEarlyEofAndCloseHttp1() { readTrailersAfterEarlyEofAndClose(Protocol.HTTP_1_1)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 18:57:05 UTC 2025 - 18K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt
} } /** * Closes this connection. This cancels all open streams and unanswered pings. It closes the * underlying input and output streams and shuts down internal task queues. */ override fun close() { close(ErrorCode.NO_ERROR, ErrorCode.CANCEL, null) } internal fun close( connectionCode: ErrorCode, streamCode: ErrorCode,
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 31.8K bytes - Viewed (0) -
src/main/java/jcifs/util/ResourceManager.java
} @Override public void close() throws Exception { if (closed) { return; } try { resource.close(); } finally { closed = true; manager.markClosed(resourceId); manager.unregisterResource(resourceId); } } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.2K bytes - Viewed (0) -
.github/workflows/stale-issues.yml
It will be closed if no further activity occurs. Thank you. close-issue-message: > This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. days-before-pr-stale: 14 days-before-pr-close: 14
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Sat Feb 01 08:42:17 UTC 2025 - 4.1K bytes - Viewed (0) -
src/test/java/jcifs/util/SimpleCircuitBreakerTest.java
} @Test @DisplayName("Test initial state is CLOSED") void testInitialState() { assertEquals(SimpleCircuitBreaker.State.CLOSED, circuitBreaker.getState()); assertTrue(circuitBreaker.allowsRequests()); } @Test @DisplayName("Test successful calls in CLOSED state") void testSuccessfulCalls() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 10.6K bytes - Viewed (0)