- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 671 for lose (0.02 sec)
-
CHANGELOG.md
_2025-10-09_ * Fix: Don't crash when calling `Socket.shutdownOutput()` or `shutdownInput()` on an `SSLSocket` on Android API 21 through 23. This method throws an `UnsupportedOperationException`, so we now catch that and close the underlying stream instead. * Upgrade: [Okio 3.16.1][okio_3_16_1]. ## Version 5.2.0 _2025-10-07_ * New: Support [HTTP 101] responses with `Response.socket`. This mechanism is only supported on
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 05 16:02:59 UTC 2025 - 36.2K bytes - Viewed (2) -
android/guava/src/com/google/common/util/concurrent/ClosingFuture.java
logger.get().log(FINER, "cancelling {0}", this); boolean cancelled = future.cancel(mayInterruptIfRunning); if (cancelled) { close(); } return cancelled; } private void close() { logger.get().log(FINER, "closing {0}", this); closeables.close(); } private <U extends @Nullable Object> ClosingFuture<U> derive(FluentFuture<U> future) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 13:51:27 UTC 2025 - 96.9K bytes - Viewed (0) -
src/main/java/jcifs/SmbSession.java
* * @author mbechler */ public interface SmbSession extends AutoCloseable { /** * {@inheritDoc} * * @see java.lang.AutoCloseable#close() */ @Override void close(); /** * Returns the configuration object used by this SMB session. * * @return the configuration used by this session */ Configuration getConfig();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.7K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/io/BaseEncodingBenchmark.java
StringWriter target = new StringWriter(2 * n); OutputStream encodingStream = encoding.encoding.encodingStream(target); encodingStream.write(encodingInputs[i & INPUTS_MASK]); encodingStream.close(); tmp += target.getBuffer().length(); } return tmp; } @Benchmark public int decodingStream(int reps) throws IOException { int tmp = 0; byte[] target = new byte[n];
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3.2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
* <p> * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param zipFile * Zip file. Must not be {@literal null}. */ public static void close(final ZipFile zipFile) { assertArgumentNotNull("zipFile", zipFile); try { zipFile.close(); } catch (final IOException e) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
} } /** * Close the tree connection (implements AutoCloseable) * * This method provides a standard way to close resources using try-with-resources. * It delegates to the release() method to properly clean up the connection. */ @Override public void close() { if (log.isDebugEnabled()) {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (1) -
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
} @Test @DisplayName("close does nothing and does not touch handle") void close_doesNothing() throws Exception { // Arrange SmbPipeOutputStream out = newStream(); // constructor already calls handle.getPipe(); clear interactions to focus on close() clearInvocations(handle); // Act out.close(); // AssertRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MultipartReaderTest.kt
) val part = parts.nextPart()!! parts.close() assertFailsWith<IllegalStateException> { part.body.request(10) }.also { expected -> assertThat(expected).hasMessage("closed") } } @Test fun `cannot call nextPart after calling close`() { val parts = MultipartReader( boundary = "simple boundary",Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed May 28 02:11:14 UTC 2025 - 15.4K bytes - Viewed (0) -
src/main/java/jcifs/SmbTree.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
} /** * Test multiple close() calls (idempotency) */ @Test @DisplayName("Test close() method is idempotent") public void testCloseIdempotent() { NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("user", "IdempotentPass123!"); assertFalse(auth.isClosed()); // Close multiple times auth.close(); assertTrue(auth.isClosed());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0)