Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 96 for sendPings (0.07 sec)

  1. android/guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final int[] CHUNK_SIZES = {1, 2, 3, Integer.MAX_VALUE};
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/LineBufferTest.java

        bufferHelper("three\rlines\rno newline at end", "three\r", "lines\r", "no newline at end");
        bufferHelper("mixed\nline\rendings\r\n", "mixed\n", "line\r", "endings\r\n");
      }
    
      private static final int[] CHUNK_SIZES = {1, 2, 3, Integer.MAX_VALUE};
    
      private static void bufferHelper(String input, String... expect) throws IOException {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. .github/pull_request_template.md

    https://github.com/google/guava/wiki/HowToContribute#code-contributions
    and
    https://github.com/google/guava/blob/master/CONTRIBUTING.md
    before sending a pull request.
    
    We generally welcome PRs for fixing trivial bugs or typos, but please refrain
    from sending a PR with significant changes unless explicitly requested.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 27 19:53:41 UTC 2023
    - 371 bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

      object FailHandshake : SocketPolicy
    
      /**
       * Shutdown the socket input after sending the response. For testing bad behavior.
       *
       * See [SocketPolicy] for reasons why this can cause test flakiness and how to avoid it.
       */
      object ShutdownInputAtEnd : SocketPolicy
    
      /**
       * Shutdown the socket output after sending the response. For testing bad behavior.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. docs/features/interceptors.md

      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
        logger.info(String.format("Sending request %s on %s%n%s",
            request.url(), chain.connection(), request.headers()));
    
        Response response = chain.proceed(request);
    
        long t2 = System.nanoTime();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    This includes, for example:
    
    * Email notifications sent after performing an action:
        * As connecting to an email server and sending an email tends to be "slow" (several seconds), you can return the response right away and send the email notification in the background.
    * Processing data:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:22:48 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. fastapi/security/oauth2.py

            "items:read items:write users:read profile openid"
        client_id: optional string. OAuth2 recommends sending the client_id and client_secret (if any)
            using HTTP Basic auth, as: client_id:client_secret
        client_secret: optional string. OAuth2 recommends sending the client_id and client_secret (if any)
            using HTTP Basic auth, as: client_id:client_secret
        """
    
        def __init__(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. internal/grid/muxclient.go

    func (m *muxClient) sendLocked(msg message) error {
    	dst := GetByteBufferCap(msg.Msgsize())
    	msg.Seq = m.SendSeq
    	msg.MuxID = m.MuxID
    	msg.Flags |= m.BaseFlags
    	if debugPrint {
    		fmt.Println("Client sending", &msg, "to", m.parent.Remote)
    	}
    	m.SendSeq++
    
    	dst, err := msg.MarshalMsg(dst)
    	if err != nil {
    		return err
    	}
    	if msg.Flags&FlagSubroute != 0 {
    		if m.subroute == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/async-tests.md

    Being able to use asynchronous functions in your tests could be useful, for example, when you're querying your database asynchronously. Imagine you want to test sending requests to your FastAPI application and then verify that your backend successfully wrote the correct data in the database, while using an async database library.
    
    Let's look at how we can make that work.
    
    ## pytest.mark.anyio
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. .gitattributes

    # Always check-out / check-in files with LF line endings.
    * text=auto eol=lf
    
    hack/verify-flags/known-flags.txt merge=union
    test/test_owners.csv merge=union
    
    **/zz_generated.*.go linguist-generated=true
    **/types.generated.go linguist-generated=true
    **/generated.pb.go linguist-generated=true
    **/generated.proto
    **/types_swagger_doc_generated.go linguist-generated=true
    api/openapi-spec/*.json linguist-generated=true
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Mon Oct 28 20:33:50 UTC 2024
    - 510 bytes
    - Viewed (0)
Back to top