Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for gotIdx (0.07 sec)

  1. cmd/xl-storage-format-v2.go

    	for i, ver := range x.versions {
    		if key == ver.header.VersionID {
    			obj, err := x.getIdx(i)
    			return i, obj, err
    		}
    	}
    	return -1, nil, errFileVersionNotFound
    }
    
    func (x *xlMetaV2) getIdx(idx int) (ver *xlMetaV2Version, err error) {
    	if idx < 0 || idx >= len(x.versions) {
    		return nil, errFileNotFound
    	}
    	var dst xlMetaV2Version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. docs/debugging/xl-meta/main.go

    				out += ".incomplete"
    				fmt.Println(missingAll, "bytes missing.")
    			} else {
    				if wantMD5 != "" {
    					sum := md5.Sum(combined)
    					gotMD5 := hex.EncodeToString(sum[:])
    					if gotMD5 != wantMD5 {
    						fmt.Println("MD5 mismatch. Expected", wantMD5, "got", gotMD5)
    						out += ".mismatch"
    					} else {
    						fmt.Println("MD5 verified.")
    						out = fmt.Sprintf("verified/%s", baseName)
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
Back to top