Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for PBuffer (0.11 sec)

  1. pkg/kubelet/kubelet_pods.go

    	var buffer bytes.Buffer
    	buffer.WriteString(managedHostsHeader)
    	buffer.WriteString("127.0.0.1\tlocalhost\n")                      // ipv4 localhost
    	buffer.WriteString("::1\tlocalhost ip6-localhost ip6-loopback\n") // ipv6 localhost
    	buffer.WriteString("fe00::0\tip6-localnet\n")
    	buffer.WriteString("fe00::0\tip6-mcastprefix\n")
    	buffer.WriteString("fe00::1\tip6-allnodes\n")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 101.2K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/stream_executor/stream_executor.cc

          uint64 size) override {
        auto* buffer = stream_executor_->host_memory_allocate(&device_, size);
        if (buffer == nullptr && size > 0) {
          return absl::InternalError(
              absl::StrFormat("Failed to allocate HostMemory of size %d", size));
        }
        return std::make_unique<HostMemoryAllocation>(buffer, size, this);
      }
    
      void HostMemoryDeallocate(void* mem) override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 14 07:39:19 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    			partEncryptionKey := objectEncryptionKey.DerivePartKey(uint32(partID))
    			in := io.Reader(hashReader)
    			if size > encryptBufferThreshold {
    				// The encryption reads in blocks of 64KB.
    				// We add a buffer on bigger files to reduce the number of syscalls upstream.
    				in = bufio.NewReaderSize(hashReader, encryptBufferSize)
    			}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 38.8K bytes
    - Viewed (0)
  4. cmd/bucket-handlers.go

    			apiErr.Description = fmt.Sprintf("%s (%v)", apiErr.Description, multipart.ErrMessageTooLarge)
    			writeErrorResponse(ctx, w, apiErr, r.URL)
    			return
    		}
    
    		var b bytes.Buffer
    		if name != "file" {
    			if http.CanonicalHeaderKey(name) == http.CanonicalHeaderKey("x-minio-fanout-list") {
    				dec := json.NewDecoder(part)
    
    				// while the array contains values
    				for dec.More() {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  5. cmd/object-handlers.go

    }
    
    const (
    	compressionAlgorithmV1 = "golang/snappy/LZ77"
    	compressionAlgorithmV2 = "klauspost/compress/s2"
    
    	// When an upload exceeds encryptBufferThreshold ...
    	encryptBufferThreshold = 1 << 20
    	// add an input buffer of this size.
    	encryptBufferSize = 1 << 20
    
    	// minCompressibleSize is the minimum size at which we enable compression.
    	minCompressibleSize = 4096
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top