Searched refs:parallelBlockSize (Results 1 – 1 of 1) sorted by relevance
42 const parallelBlockSize = 1 * 1024 * 1024 // 1MB const47 const minParallelFileSize = parallelBlockSize * 6739 ze.futureReaders = make(chan chan io.Reader, (fileSize/parallelBlockSize)+1)751 for start := int64(0); start < fileSize; start += parallelBlockSize {752 sr := io.NewSectionReader(r, start, parallelBlockSize)758 last := !(start+parallelBlockSize < fileSize)