Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1471 - 1480 of 1,626 for lengths (0.13 sec)

  1. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        responseBodyBytes: Matcher<Long?>?,
      ) {
        if (requestHeaderLength != null) {
          val responseHeadersEnd = listener.removeUpToEvent<RequestHeadersEnd>()
          MatcherAssert.assertThat(
            "request header length",
            responseHeadersEnd.headerLength,
            requestHeaderLength,
          )
        } else {
          assertThat(listener.recordedEventTypes())
            .doesNotContain("RequestHeadersEnd")
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  2. compat/maven-embedder/src/main/java/org/fusesource/jansi/Ansi.java

        }
    
        private Ansi doAppendEscapeSequence(char command, Object... options) {
            builder.append(FIRST_ESC_CHAR);
            builder.append(SECOND_ESC_CHAR);
            int size = options.length;
            for (int i = 0; i < size; i++) {
                if (i != 0) {
                    builder.append(';');
                }
                if (options[i] != null) {
                    builder.append(options[i]);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  3. internal/crypto/header_test.go

    	},
    	{ // https://github.com/google/security-research/security/advisories/GHSA-76wf-9vgp-pj7w
    		Header: http.Header{
    			"X-Amz-Meta-X-Amz-Unencrypted-Content-Md5":    []string{"value"},
    			"X-Amz-Meta-X-Amz-Unencrypted-Content-Length": []string{"value"},
    			"X-Amz-Meta-Test-1":                           []string{"Test-1"},
    		},
    		ExpectedHeader: http.Header{
    			"X-Amz-Meta-Test-1": []string{"Test-1"},
    		},
    	},
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 13 14:52:15 UTC 2022
    - 21.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/HttpHeaders.java

      /** The HTTP {@code Cache-Control} header field name. */
      public static final String CACHE_CONTROL = "Cache-Control";
      /** The HTTP {@code Content-Length} header field name. */
      public static final String CONTENT_LENGTH = "Content-Length";
      /** The HTTP {@code Content-Type} header field name. */
      public static final String CONTENT_TYPE = "Content-Type";
      /** The HTTP {@code Date} header field name. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 01 19:08:38 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            chain.proceed(
              originalRequest.newBuilder()
                .method("POST", body)
                .header("Content-Type", mediaType.toString())
                .header("Content-Length", body.contentLength().toString())
                .build(),
            )
          }
        client =
          client.newBuilder()
            .addNetworkInterceptor(interceptor)
            .build()
        val request =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

            Map<String, ChecksumObserver> checksums = new HashMap<>(2);
    
            Map<String, String> sums = new HashMap<>(2);
    
            // TODO configure these on the repository
            for (int i = 0; i < CHECKSUM_IDS.length; i++) {
                checksums.put(CHECKSUM_IDS[i], addChecksumObserver(wagon, CHECKSUM_ALGORITHMS[i]));
            }
    
            List<File> temporaryFiles = new ArrayList<>();
    
            try {
                try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        Random random = new Random(0);
        Multiset<Element> elements = HashMultiset.create();
        MinMaxPriorityQueue<Element> queue = MinMaxPriorityQueue.create();
        int range = Element.values().length;
        for (int iter = 0; iter < reduceIterationsIfGwt(1000); iter++) {
          for (int i = 0; i < 100; i++) {
            Element element = Element.values()[random.nextInt(range)];
            elements.add(element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. cmd/object-api-listobjects_test.go

    			// Since there are cases for which ListObjects fails, this is
    			// necessary. Test passes as expected, but the output values
    			// are verified for correctness here.
    			if err == nil && testCase.shouldPass {
    				// The length of the expected ListObjectsResult.Objects
    				// should match in both expected result from test cases
    				// and in the output. On failure calling t.Fatalf,
    				// otherwise it may lead to index out of range error in
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  9. src/archive/zip/reader_test.go

    		var f File
    		err := readDirectoryHeader(&f, strings.NewReader(s))
    		if err != nil {
    			t.Errorf("error reading #%d: %v", i, err)
    		}
    	}
    }
    
    // Verify we return ErrUnexpectedEOF when length is short.
    func TestIssue10957(t *testing.T) {
    	data := []byte("PK\x03\x040000000PK\x01\x0200000" +
    		"0000000000000000000\x00" +
    		"\x00\x00\x00\x00\x00000000000000PK\x01" +
    		"\x020000000000000000000" +
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 25 00:25:45 UTC 2024
    - 55.6K bytes
    - Viewed (0)
  10. docs/debugging/xl-meta/main.go

    		var key, val []byte
    		key, buf, err = msgp.ReadMapKeyZC(buf)
    		if err != nil {
    			return nil, err
    		}
    		if len(key) == 0 {
    			return nil, fmt.Errorf("xlMetaInlineData: key %d is length 0", i)
    		}
    		// Skip data...
    		val, buf, err = msgp.ReadBytesZC(buf)
    		if err != nil {
    			return nil, err
    		}
    		if i > 0 {
    			res = append(res, ',')
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top