Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Fatalln (0.23 sec)

  1. cmd/test-utils_test.go

    }
    
    // calculateSignedChunkLength - calculates the length of the overall stream (data + metadata)
    func calculateStreamContentLength(dataLen, chunkSize int64) int64 {
    	if dataLen <= 0 {
    		return 0
    	}
    	chunksCount := dataLen / chunkSize
    	remainingBytes := dataLen % chunkSize
    	var streamLen int64
    	streamLen += chunksCount * calculateSignedChunkLength(chunkSize)
    	if remainingBytes > 0 {
    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)
Back to top