Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 241 for sequences (0.05 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

          // This guarantees a deterministic sequence when handling the canceled request:
          // 1. Server reads request and dequeues first response
          // 2. Client cancels request
          // 3. Server tries to send response on the canceled stream
          // Otherwise, there is no guarantee for the sequence. For example, the server may use the
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 73.4K bytes
    - Viewed (0)
  2. src/bufio/bufio_test.go

    	}
    }
    
    type dataAndEOFReader string
    
    func (r dataAndEOFReader) Read(p []byte) (int, error) {
    	return copy(p, r), io.EOF
    }
    
    func TestPeekThenUnreadRune(t *testing.T) {
    	// This sequence used to cause a crash.
    	r := NewReader(strings.NewReader("x"))
    	r.ReadRune()
    	r.Peek(1)
    	r.UnreadRune()
    	r.ReadRune() // Used to panic here
    }
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 07 01:08:54 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/net/InetAddresses.java

        try {
          // Iterate through the parts of the ip string.
          // Invariant: start is always the beginning of a hextet, or the second ':' of the skip
          // sequence "::"
          int start = 0;
          if (ipString.charAt(0) == IPV6_DELIMITER) {
            start = 1;
          }
          while (start < ipString.length()) {
            int end = ipString.indexOf(IPV6_DELIMITER, start);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  4. src/bytes/bytes_test.go

    	// test fallback to IndexRune
    	{"oxoxoxoxoxoxoxoxoxoxox☺", "☺", 22},
    	// invalid UTF-8 byte sequence (must be longer than bytealg.MaxBruteForce to
    	// test that we don't use IndexRune)
    	{"xx0123456789012345678901234567890123456789012345678901234567890120123456789012345678901234567890123456xxx\xed\x9f\xc0", "\xed\x9f\xc0", 105},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Jul 28 18:13:58 UTC 2025
    - 62.9K bytes
    - Viewed (0)
  5. cmd/object-api-utils.go

    }
    
    // IsValidBucketName verifies that a bucket name is in accordance with
    // Amazon's requirements (i.e. DNS naming conventions). It must be 3-63
    // characters long, and it must be a sequence of one or more labels
    // separated by periods. Each label can contain lowercase ascii
    // letters, decimal digits and hyphens, but must not begin or end with
    // a hyphen. See:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

        try {
          // Iterate through the parts of the ip string.
          // Invariant: start is always the beginning of a hextet, or the second ':' of the skip
          // sequence "::"
          int start = 0;
          if (ipString.charAt(0) == IPV6_DELIMITER) {
            start = 1;
          }
          while (start < ipString.length()) {
            int end = ipString.indexOf(IPV6_DELIMITER, start);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

        assertThat(parse("http://github.com/%%30%30").pathSegments)
          .containsExactly("%00")
      }
    
      @Test
      fun malformedUtf8Encoding() {
        // Replace a partial UTF-8 sequence with the Unicode replacement character.
        assertThat(parse("http://host/a/%E2%98x/c").pathSegments)
          .containsExactly("a", "\ufffdx", "c")
      }
    
      @Test
      fun incompleteUrlComposition() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

       * <p>Each method invocation on the set returned by this method results in exactly one method
       * invocation on the backing map or its {@code keySet} view, with one exception. The {@code
       * addAll} method is implemented as a sequence of {@code put} invocations on the backing map.
       *
       * <p>The specified map must be empty at the time this method is invoked, and should not be
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

            .url(server.url("/"))
            .method("POST", requestBody2)
            .build()
        val response2 = client.newCall(request2).execute()
        assertThat(response2.code).isEqualTo(200)
    
        // Use sequence numbers to confirm the connection was pooled.
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(0)
        assertThat(server.takeRequest().exchangeIndex).isEqualTo(1)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

    _2016-07-10_
    
     *  **Fix a major bug in encoding HTTP headers.** In 3.4.0 and 3.4.0-RC1 OkHttp
        had an off-by-one bug in our HPACK encoder. This bug could have caused the
        wrong headers to be emitted after a sequence of HTTP/2 requests! Everyone
        who is using OkHttp 3.4.0 or 3.4.0-RC1 should upgrade for this bug fix.
    
    
    ## Version 3.4.0
    
    _2016-07-08_
    
     *  New: Support dynamic table size changes to HPACK Encoder.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top