Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for chunkOf (0.88 sec)

  1. cmd/handler-utils.go

    			// to a custom value for example: "aws-chunked,gzip".
    			metadata[strings.ToLower(xhttp.ContentEncoding)] = contentEncoding
    		} else {
    			// Trimmed content encoding is empty when the header
    			// value is set to "aws-chunked" only.
    
    			// Make sure to delete the content-encoding parameter
    			// for a streaming signature which is set to value
    			// for example: "aws-chunked"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. src/net/http/serve_test.go

    	}
    	got := string(bs)
    	if got != "" {
    		t.Errorf("read %q from server; want nothing", got)
    	}
    }
    
    // Tests that chunked server responses that write 1 byte at a time are
    // buffered before chunk headers are added, not after chunk headers.
    func TestServerBufferedChunking(t *testing.T) {
    	conn := new(testConn)
    	conn.readBuf.Write([]byte("GET / HTTP/1.1\r\nHost: foo\r\n\r\n"))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  3. src/net/http/server.go

    		} else {
    			// HTTP/1.1 or greater: use chunked transfer encoding
    			// to avoid closing the connection at EOF.
    			cw.chunking = true
    			setHeader.transferEncoding = "chunked"
    			if hasTE && te == "chunked" {
    				// We will send the chunked Transfer-Encoding header later.
    				delHeader("Transfer-Encoding")
    			}
    		}
    	} else {
    		// HTTP version < 1.1: cannot do chunked transfer
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  4. samples/addons/loki.yaml

        
        auth_enabled: false
        common:
          compactor_address: 'http://loki:3100'
          path_prefix: /var/loki
          replication_factor: 1
          storage:
            filesystem:
              chunks_directory: /var/loki/chunks
              rules_directory: /var/loki/rules
        frontend:
          scheduler_address: ""
          tail_proxy_url: http://loki-querier.istio-system.svc.cluster.local:3100
        frontend_worker:
          scheduler_address: ""
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 18:57:35 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    			accessKey:          credentials.AccessKey,
    			secretKey:          credentials.SecretKey,
    			shouldPass:         false,
    			fault:              malformedEncoding,
    		},
    		// Test case - 8
    		// Chunk with shorter than advertised chunk data.
    		{
    			bucketName:         bucketName,
    			objectName:         objectName,
    			data:               oneKData,
    			dataLen:            1024,
    			chunkSize:          1024,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 161.9K bytes
    - Viewed (0)
  6. cluster/gce/windows/k8s-node-setup.psm1

      buffer_queue_full_action block
      # Set the chunk limit conservatively to avoid exceeding the recommended
      # chunk size of 5MB per write request.
      buffer_chunk_limit 512k
      # Cap the combined memory usage of this buffer and the one below to
      # 512KiB/chunk * (6 + 2) chunks = 4 MiB
      buffer_queue_limit 6
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    
    // calculateSignedChunkLength - calculates the length of chunk metadata
    func calculateSignedChunkLength(chunkDataSize int64) int64 {
    	return int64(len(fmt.Sprintf("%x", chunkDataSize))) +
    		17 + // ";chunk-signature="
    		64 + // e.g. "f2ca1bb6c7e907d06dafe4687e579fce76b37e4e93b7605022da52e6ccc26fd2"
    		2 + // CRLF
    		chunkDataSize +
    		2 // CRLF
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/data.go

    	writeBlocks(ctxt, out, ctxt.outSem, ctxt.loader, ctxt.Textp, addr, size, pad)
    }
    
    const blockSize = 1 << 20 // 1MB chunks written at a time.
    
    // writeBlocks writes a specified chunk of symbols to the output buffer. It
    // breaks the write up into ≥blockSize chunks to write them out, and schedules
    // as many goroutines as necessary to accomplish this task. This call then
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	"k8s.io/component-base/tracing"
    	"k8s.io/klog/v2"
    	"k8s.io/utils/clock"
    	"k8s.io/utils/ptr"
    )
    
    var (
    	emptyFunc = func(bool) {}
    )
    
    const (
    	// storageWatchListPageSize is the cacher's request chunk size of
    	// initial and resync watch lists to storage.
    	storageWatchListPageSize = int64(10000)
    	// defaultBookmarkFrequency defines how frequently watch bookmarks should be send
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  10. cmd/storage-rest-server.go

    		// Windows can lock up with this optimization, so we fall back to regular copy.
    		sr, ok := rc.(*sendFileReader)
    		if ok {
    			// Sendfile sends in 4MiB chunks per sendfile syscall which is more than enough
    			// for most setups.
    			_, err = rf.ReadFrom(sr.Reader)
    			if !xnet.IsNetworkOrHostDown(err, true) { // do not need to log disconnected clients
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top