- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 327 for closing (0.06 sec)
-
guava/src/com/google/common/io/ByteSink.java
* <li><b>Convenience methods:</b> These are implementations of common operations that are * typically implemented by opening a stream using one of the methods in the first category, * doing something and finally closing the stream or channel that was opened. * </ul> * * @since 14.0 * @author Colin Decker */ @J2ktIncompatible @GwtIncompatible @ElementTypesAreNonnullByDefault public abstract class ByteSink {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 28 16:55:09 UTC 2024 - 5K bytes - Viewed (0) -
internal/http/close.go
// connection to the server for a subsequent "keep-alive" request. if respBody != nil { // Drain any remaining Body and then close the connection. // Without this closing connection would disallow re-using // the same connection for future uses. // - http://stackoverflow.com/a/17961593/4465767 defer respBody.Close() xioutil.DiscardReader(respBody) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/package-info.java
* CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are * factories for I/O streams that provide many convenience methods that handle both opening and * closing streams for you. * * <p>This package is a part of the open-source <a href="https://github.com/google/guava">Guava</a> * library. For more information on Sources and Sinks as well as other features of this package, see
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 23 19:57:03 UTC 2023 - 1.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/CloseablesTest.java
import java.io.Closeable; import java.io.IOException; import java.io.InputStream; import java.io.Reader; import junit.framework.TestCase; /** * Unit tests for {@link Closeables}. * * <p>Checks proper closing behavior, and ensures that IOExceptions on Closeable.close() are not * propagated out from the {@link Closeables#close} method if {@code swallowException} is true. * * @author Michael Lancaster */
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/Source.java
/** * Provides access to the contents of a source independently of the backing store (e.g. file system, database, memory). * */ public interface Source { /** * Gets a byte stream to the source contents. Closing the returned stream is the responsibility of the caller. * * @return A byte stream to the source contents, never {@code null}. * @throws IOException in case of IO issue */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/Source.java
* @return the underlying {@code Path}, or {@code null} if this source is not backed by a file */ @Nullable Path getPath(); /** * Creates a new byte stream to the source contents. * Closing the returned stream is the responsibility of the caller. * * @return a byte stream to the source contents, never {@code null} * @throws IOException in case of IO issue */ @Nonnull
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/SmbWatchHandle.java
* opened if it is not and should be closed with {@link #close()} when no longer * needed. * * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all * implementations. *
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 2.3K bytes - Viewed (0) -
fastapi/exceptions.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Apr 02 02:48:51 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt
taskFaker.runTasks() assertThat(client.closed).isFalse() server.processNextFrame() // Read client closing, send server close. server.listener.assertClosing(1000, "Hello!") server.webSocket!!.finishReader() server.webSocket!!.close(1000, "Goodbye!") client.processNextFrame() // Read server closing, close connection. taskFaker.runTasks() client.listener.assertClosing(1000, "Goodbye!")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 01:59:58 UTC 2024 - 18.5K bytes - Viewed (0) -
docs/ftp/README.md
-rwxrwxrwx 1 nobody nobody 45 Apr 1 06:13 chunkdocs/metadata 226 Closing data connection, sent 75 bytes ftp> get (remote-file) runner/chunkdocs/metadata (local-file) test local: test remote: runner/chunkdocs/metadata 229 Entering Extended Passive Mode (|||37785|) 150 Data transfer starting 45 bytes 45 3.58 KiB/s 226 Closing data connection, sent 45 bytes 45 bytes received in 00:00 (3.55 KiB/s) ... ```
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue May 07 06:41:25 UTC 2024 - 7.8K bytes - Viewed (0)