Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 724 for transfer (0.13 sec)

  1. src/net/http/transfer.go

    	return ok
    }
    
    // parseTransferEncoding sets t.Chunked based on the Transfer-Encoding header.
    func (t *transferReader) parseTransferEncoding() error {
    	raw, present := t.Header["Transfer-Encoding"]
    	if !present {
    		return nil
    	}
    	delete(t.Header, "Transfer-Encoding")
    
    	// Issue 12785; ignore Transfer-Encoding on HTTP/1.0 requests.
    	if !t.protoAtLeast(1, 1) {
    		return nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 22:14:00 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  2. src/net/http/requestwrite_test.go

    			"Host: www.google.com\r\n" +
    			"User-Agent: Go-http-client/1.1\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			chunk("abcdef") + chunk(""),
    
    		WantProxy: "GET http://www.google.com/search HTTP/1.1\r\n" +
    			"Host: www.google.com\r\n" +
    			"User-Agent: Go-http-client/1.1\r\n" +
    			"Transfer-Encoding: chunked\r\n\r\n" +
    			chunk("abcdef") + chunk(""),
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 23.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_context.cc

        // Unref the host tensor when the transfer completes.
        // We don't defer the call to done() onto the stream here, and the reasons
        // why this is correct are subtle. We assume that:
        // a) all consumers of the device tensor will wait for its definition event.
        // b) if the tensor is destroyed, then the memory allocator will not hand
        //    out the same buffers until the transfer has completed.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultWagonManagerTest.java

        }
    
        /**
         * Check that transfer listeners are properly removed after getArtifact and putArtifact
         */
        @Test
        void testWagonTransferListenerRemovedAfterGetArtifactAndPutArtifact() throws Exception {
            Artifact artifact = createTestArtifact("target/test-data/transfer-listener", "jar");
            ArtifactRepository repo = createStringRepo();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 05:46:50 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/proxy/upgradeaware_test.go

    				"Content-Encoding":  nil, // none set
    				"Transfer-Encoding": nil, // Transfer-Encoding gets removed
    			},
    			expectedBody: sampleData, // sample data is unchunked
    		},
    
    		"chunked transfer-encoding + gzip content-encoding": {
    			reqHeaders: http.Header{
    				"Content-Encoding":  []string{"gzip"},
    				"Transfer-Encoding": []string{"chunked"},
    			},
    			reqBody: chunk(zip(sampleData)),
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 10 07:29:34 UTC 2023
    - 39.4K bytes
    - Viewed (0)
  6. src/mime/multipart/multipart_test.go

    	// final delimiter; this was manually edited to use a CRLF.
    	testBody :=
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 17:36:47 UTC 2022
    - 30.4K bytes
    - Viewed (0)
  7. src/net/http/response_test.go

    			Close:            true,
    			ContentLength:    256,
    		},
    
    		"",
    	},
    
    	// Issue 12785: HTTP/1.0 response with bogus (to be ignored) Transfer-Encoding.
    	// Without a Content-Length.
    	{
    		"HTTP/1.0 200 OK\r\n" +
    			"Transfer-Encoding: bogus\r\n" +
    			"\r\n" +
    			"Body here\n",
    
    		Response{
    			Status:        "200 OK",
    			StatusCode:    200,
    			Proto:         "HTTP/1.0",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 19:01:29 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  8. cmd/bucket-stats.go

    	BandWidthLimitInBytesPerSecond int64 `json:"limitInBits"`
    	// current bandwidth reported
    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    	// transfer rate for large uploads
    	XferRateLrg *XferStats `json:"-" msg:"lt"`
    	// transfer rate for small uploads
    	XferRateSml *XferStats `json:"-" msg:"st"`
    
    	// Deprecated fields
    	// Pending size in bytes
    	PendingSize int64 `json:"pendingReplicationSize"`
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_tpu_device.cc

                                         dst_device_to_device_stream);
    
        // The input must remain alive until the transfer completes, so we keep a
        // reference. We also wait until the transfer completes before calling
        // done().
        // The latter may be too conservative, but given the host is involved in
        // waiting for the transfer to complete anyway there is probably little
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. src/mime/multipart/multipart.go

    	mr *Reader
    
    	disposition       string
    	dispositionParams map[string]string
    
    	// r is either a reader directly reading from mr, or it's a
    	// wrapper around such a reader, decoding the
    	// Content-Transfer-Encoding
    	r io.Reader
    
    	n       int   // known data bytes waiting in mr.bufReader
    	total   int64 // total data bytes read already
    	err     error // error to return when n == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 14.1K bytes
    - Viewed (0)
Back to top