Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 134 for Closing (0.04 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLsarClose.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    /**
     * Microsoft RPC LSA close handle request.
     * This class implements the LSARPC close handle operation for closing
     * LSA policy handles when they are no longer needed.
     */
    public class MsrpcLsarClose extends lsarpc.LsarClose {
    
        /**
         * Creates a new request to close an LSA policy handle.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. android/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
    public abstract class ByteSink {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. 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
    public abstract class ByteSink {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt

     * an open file (for cached responses). Failing to close the response body will leak resources and
     * may ultimately cause the application to slow down or crash.
     *
     * Both this class and [Response] implement [Closeable]. Closing a response simply
     * closes its response body. If you invoke [Call.execute] or implement [Callback.onResponse] you
     * must close this body by calling any of the following methods:
     *
     * * `Response.close()`
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:51:25 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Invoker.java

         *
         * <p>The default implementation does nothing. Subclasses should override this method
         * if they need to perform cleanup operations.</p>
         *
         * @throws InvokerException if an error occurs while closing the {@link Invoker}
         */
        @Override
        default void close() throws InvokerException {}
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jan 31 20:56:58 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbPipeHandle.java

         * @throws CIFSException if an error occurs getting the output stream
         */
        OutputStream getOutput() throws CIFSException;
    
        /**
         * {@inheritDoc}
         *
         * @throws CIFSException if an error occurs closing the handle
         *
         * @see java.lang.AutoCloseable#close()
         */
        @Override
        void close() throws CIFSException;
    
        /**
         * Tests whether this file descriptor is open and valid.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/witness/MockWitnessService.java

            running.set(false);
    
            if (serverSocket != null && !serverSocket.isClosed()) {
                try {
                    serverSocket.close();
                } catch (IOException e) {
                    log.debug("Error closing server socket", e);
                }
            }
    
            if (serverThread != null) {
                try {
                    serverThread.join(5000); // Wait up to 5 seconds
                } catch (InterruptedException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        public void close() {
            if (connected && rpcHandle != null) {
                try {
                    log.debug("Closing witness RPC client");
                    rpcHandle.close();
                    connected = false;
                    rpcHandle = null;
                } catch (Exception e) {
                    log.error("Error closing witness RPC client", e);
                }
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CloseablesTest.java

    import java.io.InputStream;
    import java.io.Reader;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * 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
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top