Searched refs:parallelBlockSize (Results 1 – 1 of 1) sorted by relevance
41 const parallelBlockSize = 1 * 1024 * 1024 // 1MB const46 const minParallelFileSize = parallelBlockSize * 6751 ze.futureReaders = make(chan chan io.Reader, (fileSize/parallelBlockSize)+1)763 for start := int64(0); start < fileSize; start += parallelBlockSize {764 sr := io.NewSectionReader(r, start, parallelBlockSize)770 last := !(start+parallelBlockSize < fileSize)