Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for nextEOF (0.06 sec)

  1. cmd/metacache-stream.go

    		m.metadata = nil
    	}
    	r.err = err
    	return m, err
    }
    
    // next will read one entry from the stream.
    // Generally not recommended for fast operation.
    func (r *metacacheReader) nextEOF() bool {
    	r.checkInit()
    	if r.err != nil {
    		return r.err == io.EOF
    	}
    	if r.current.name != "" {
    		return false
    	}
    	_, err := r.peek()
    	if err != nil {
    		r.err = err
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  2. cmd/metacache-set.go

    			if !o.InclDeleted && entry.isAllFreeVersions() {
    				return true
    			}
    			entries.o = append(entries.o, entry)
    			return entries.len() < o.Limit
    		})
    		if (err != nil && errors.Is(err, io.EOF)) || pastPrefix || r.nextEOF() {
    			return entries, io.EOF
    		}
    		return entries, err
    	}
    
    	// We should not need to filter more.
    	return r.readN(o.Limit, o.InclDeleted, o.IncludeDirectories, o.Versioned, o.Prefix)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top