Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for readerToBuf (0.05 sec)

  1. cmd/erasure-decode.go

    		if i == next {
    			next++
    			continue
    		}
    		// Move reader with index i to index next.
    		// Do this by swapping next and i
    		p.readers[next], p.readers[i] = p.readers[i], p.readers[next]
    		p.readerToBuf[next] = i
    		p.readerToBuf[i] = next
    		next++
    	}
    }
    
    // Returns if buf can be erasure decoded.
    func (p *parallelReader) canDecode(buf [][]byte) bool {
    	bufCount := 0
    	for _, b := range buf {
    		if len(b) > 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top