Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for gotIdx (0.08 sec)

  1. cmd/object-api-utils.go

    			indexCh <- idx
    			pw.CloseWithError(err)
    			return
    		}
    		pw.CloseWithError(comp.Close())
    	}()
    	var gotIdx []byte
    	return pr, func() []byte {
    		if gotIdx != nil {
    			return gotIdx
    		}
    		// Will get index or nil if closed.
    		gotIdx = <-indexCh
    		return gotIdx
    	}
    }
    
    // compressSelfTest performs a self-test to ensure that compression
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  2. 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)
  3. 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