Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for chunk (0.14 sec)

  1. 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
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		return err
    	}
    	return nil
    }
    
    // restoreTransitionedObject for multipart object chunks the file stream from remote tier into the same number of parts
    // as in the xl.meta for this version and rehydrates the part.n into the fi.DataDir for this version as in the xl.meta
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  3. 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
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. 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,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
Back to top