Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 681 for 11 (0.01 sec)

  1. mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt

            FakeSocket(
              localAddress = InetAddress.getByAddress("127.0.0.1", byteArrayOf(127, 0, 0, 1)),
              localPort = 80,
            ),
          )
        val requestLine = decodeRequestLine("CONNECT example.com:8080 HTTP/1.1")
        val request = RecordedRequest(requestLine, headers, emptyList(), 0, ByteString.EMPTY, 0, 0, socket)
        assertThat(request.target).isEqualTo("example.com:8080")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  2. src/archive/tar/strconv_test.go

    		{"-0.99", time.Unix(-0, -99e7), true},
    		{"-0.98", time.Unix(-0, -98e7), true},
    		{"-1.1", time.Unix(-1, -1e8), true},
    		{"-1.01", time.Unix(-1, -1e7), true},
    		{"-2.99", time.Unix(-2, -99e7), true},
    		{"-5.98", time.Unix(-5, -98e7), true},
    		{"-", time.Time{}, false},
    		{"+", time.Time{}, false},
    		{"-1.-1", time.Time{}, false},
    		{"99999999999999999999999999999999999999999999999", time.Time{}, false},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Sep 08 17:08:20 UTC 2025
    - 15K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

    class HeadersRequestTest {
      @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {
        val headerBlock =
          headersOf(
            ":status",
            "200 OK",
            ":version",
            "HTTP/1.1",
            "connection",
            "close",
          )
        val request = Request.Builder().url("http://square.com/").build()
        val response = readHttp2HeadersList(headerBlock, Protocol.HTTP_2).request(request).build()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolutionPolicyTest.java

        @BeforeEach
        void setUp() throws Exception {
            policy = new DefaultGraphConflictResolutionPolicy();
            e1 = new MetadataGraphEdge("1.1", true, null, null, 2, 1);
            e2 = new MetadataGraphEdge("1.2", true, null, null, 3, 2);
            e3 = new MetadataGraphEdge("1.2", true, null, null, 2, 3);
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/StatusLine.kt

      @JvmField val message: String,
    ) {
      override fun toString(): String =
        buildString {
          if (protocol == Protocol.HTTP_1_0) {
            append("HTTP/1.0")
          } else {
            append("HTTP/1.1")
          }
          append(' ').append(code)
          append(' ').append(message)
        }
    
      companion object {
        fun get(response: Response): StatusLine = StatusLine(response.protocol, response.code, response.message)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/AbstractListIndexOfTester.java

      }
    
      public void testFind_no() {
        assertEquals(getMethodName() + "(notPresent) should return -1", -1, find(e3()));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testFind_nullNotContainedButSupported() {
        assertEquals(getMethodName() + "(nullNotPresent) should return -1", -1, find(null));
      }
    
      @CollectionFeature.Require(absent = ALLOWS_NULL_VALUES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableLongArray.of());
        assertThat(iia1.subArray(0, 1).asList()).containsExactly(5L);
        assertThat(iia3.subArray(0, 2).asList()).containsExactly(5L, 25L).inOrder();
        assertThat(iia3.subArray(1, 3).asList()).containsExactly(25L, 125L).inOrder();
    
        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(-1, 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/ProtocolTest.kt

    import org.junit.jupiter.api.Assertions.assertThrows
    import org.junit.jupiter.api.Test
    
    class ProtocolTest {
      @Test
      fun testGetKnown() {
        assertThat(get("http/1.0")).isEqualTo(Protocol.HTTP_1_0)
        assertThat(get("http/1.1")).isEqualTo(Protocol.HTTP_1_1)
        assertThat(get("spdy/3.1")).isEqualTo(Protocol.SPDY_3)
        assertThat(get("h2")).isEqualTo(Protocol.HTTP_2)
        assertThat(get("h2_prior_knowledge")).isEqualTo(Protocol.H2_PRIOR_KNOWLEDGE)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThat(iia1.subArray(1, 1)).isSameInstanceAs(ImmutableIntArray.of());
        assertThat(iia1.subArray(0, 1).asList()).containsExactly(5);
        assertThat(iia3.subArray(0, 2).asList()).containsExactly(5, 25).inOrder();
        assertThat(iia3.subArray(1, 3).asList()).containsExactly(25, 125).inOrder();
    
        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(-1, 1));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  10. buildscripts/upgrade-tests/nginx.conf

                proxy_set_header X-Forwarded-Proto $scheme;
    
                proxy_connect_timeout 300;
                # Default is HTTP/1, keepalive is only enabled in HTTP/1.1
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                chunked_transfer_encoding off;
    
                proxy_pass http://minio;
            }
        }
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Nov 21 18:41:30 UTC 2021
    - 1.7K bytes
    - Viewed (0)
Back to top