Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for closing (0.15 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketRecorder.kt

        }
      }
    
      override fun onClosing(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
        Platform.get().log("[WS $name] onClosing $code", Platform.INFO, null)
        val delegate = delegate
        if (delegate != null) {
          this.delegate = null
          delegate.onClosing(webSocket, code, reason)
        } else {
          events.add(Closing(code, reason))
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/Closeables.java

            logger.log(Level.WARNING, "IOException thrown while closing Closeable.", e);
          } else {
            throw e;
          }
        }
      }
    
      /**
       * Closes the given {@link InputStream}, logging any {@code IOException} that's thrown rather than
       * propagating it.
       *
       * <p>While it's not safe in the general case to ignore exceptions that are thrown when closing an
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

     *
     *  * **Open:** the web socket has been accepted by the remote peer and is fully operational.
     *    Messages in either direction are enqueued for immediate transmission.
     *
     *  * **Closing:** one of the peers on the web socket has initiated a graceful shutdown. The web
     *    socket will continue to transmit already-enqueued messages but will refuse to enqueue new
     *    ones.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  4. 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
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  5. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Jun 23 19:57:03 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  6. .github/stale.yml

      occurs. Thank you for your contributions.
    # Comment to post when removing the stale label.
    # unmarkComment: >
    #   Your comment here.
    
    # Comment to post when closing a stale Issue or Pull Request.
    # closeComment: >
    #   Your comment here.
    
    # Limit the number of actions per hour, from 1-30. Default is 30
    limitPerRun: 1
    
    # Limit to only `issues` or `pulls`
    # only: issues
    
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 24 04:36:59 GMT 2022
    - 2K bytes
    - Viewed (0)
  7. 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)
    ...
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:15:45 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. 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)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  9. android/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
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4K bytes
    - Viewed (0)
  10. 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.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
Back to top