Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1461 - 1470 of 1,615 for LENGTH (0.05 sec)

  1. 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)
  2. android/guava/src/com/google/common/io/MoreFiles.java

            return ByteStreams.toByteArray(Channels.newInputStream(channel), channel.size());
          }
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (options.length == 0) {
            // If no OpenOptions were passed, delegate to Files.lines, which could have performance
            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/MoreFiles.java

            return ByteStreams.toByteArray(Channels.newInputStream(channel), channel.size());
          }
        }
    
        @Override
        public CharSource asCharSource(Charset charset) {
          if (options.length == 0) {
            // If no OpenOptions were passed, delegate to Files.lines, which could have performance
            // advantages. (If OpenOptions were passed we can't, because Files.lines doesn't have an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top