- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for chunkSize (0.05 sec)
-
cmd/test-utils_test.go
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 { streamLen += calculateSignedChunkLength(remainingBytes) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 01 22:13:18 UTC 2024 - 77K bytes - Viewed (0)