Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for listOut (0.05 sec)

  1. cmd/erasure-server-pool.go

    	var entries []chan metaCacheEntry
    
    	for poolIdx, erasureSet := range z.serverPools {
    		for setIdx, set := range erasureSet.sets {
    			set := set
    			listOut := make(chan metaCacheEntry, 1)
    			entries = append(entries, listOut)
    			disks, infos, _ := set.getOnlineDisksWithHealingAndInfo(true)
    			if len(disks) == 0 {
    				xioutil.SafeClose(results)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  2. cmd/sftp-server-driver.go

    		)
    		return err
    	}
    
    	return NotImplemented{}
    }
    
    type listerAt []os.FileInfo
    
    // Modeled after strings.Reader's ReadAt() implementation
    func (f listerAt) ListAt(ls []os.FileInfo, offset int64) (int, error) {
    	var n int
    	if offset >= int64(len(f)) {
    		return 0, io.EOF
    	}
    	n = copy(ls, f[offset:])
    	if n < len(ls) {
    		return n, io.EOF
    	}
    	return n, nil
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top