- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for gotIdx (0.07 sec)
-
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) -
cmd/xl-storage-format-v2_test.go
} for i := range xl.versions { hdr := xl.versions[i].header ver, err := xl.getIdx(i) if err != nil { t.Error(err) continue } gotHdr := ver.header() if hdr != gotHdr { t.Errorf("Header does not match, index: %+v != meta: %+v", hdr, gotHdr) } } } t.Run("load-legacy", func(t *testing.T) { var xl xlMetaV2 err = xl.Load(data)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
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)