Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readStat (0.2 sec)

  1. cmd/erasure-object.go

    			partLength = length - totalBytesRead
    		}
    
    		tillOffset := erasure.ShardFileOffset(partOffset, partLength, partSize)
    		// Get the checksums of the current part.
    		readers := make([]io.ReaderAt, len(onlineDisks))
    		prefer := make([]bool, len(onlineDisks))
    		for index, disk := range onlineDisks {
    			if disk == OfflineDisk {
    				continue
    			}
    			if !metaArr[index].IsValid() {
    				continue
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	}
    
    	// Verify it is a regular file, otherwise subsequent Seek is
    	// undefined.
    	if !st.Mode().IsRegular() {
    		return 0, errIsNotRegular
    	}
    
    	if verifier == nil {
    		n, err = file.ReadAt(buffer, offset)
    		return int64(n), err
    	}
    
    	h := verifier.algorithm.New()
    	if _, err = io.Copy(h, io.LimitReader(file, offset)); err != nil {
    		return 0, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top