- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for wantRm (0.12 sec)
-
src/iter/pull_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 10.2K bytes - Viewed (0) -
cmd/xl-storage-disk-id-check.go
// checkID will check if the disk ID matches the provided ID. func (p *xlStorageDiskIDCheck) checkID(wantID string) (err error) { if wantID == "" { return nil } id, err := p.storage.GetDiskID() if err != nil { return err } if id != wantID { return fmt.Errorf("disk ID %s does not match. disk reports %s", wantID, id) } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 33.4K bytes - Viewed (0) -
internal/grid/grid_test.go
}, OutCapacity: 1, InCapacity: 1, })) } register(local) register(remote) // Double remote DL local.debugMsg(debugAddToDeadline, wantDL) defer local.debugMsg(debugAddToDeadline, time.Duration(0)) remote.debugMsg(debugAddToDeadline, wantDL) defer remote.debugMsg(debugAddToDeadline, time.Duration(0)) testHandler := func(t *testing.T, handler HandlerID) { remoteConn := local.Connection(remoteHost)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Jun 07 15:51:52 UTC 2024 - 36.4K bytes - Viewed (0) -
cmd/storage-datatypes_gen.go
var zb0001 uint32 zb0001, err = dc.ReadArrayHeader() if err != nil { err = msgp.WrapError(err) return } if zb0001 != 18 { err = msgp.ArrayError{Wanted: 18, Got: zb0001} return } z.Total, err = dc.ReadUint64() if err != nil { err = msgp.WrapError(err, "Total") return } z.Free, err = dc.ReadUint64() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 130.6K bytes - Viewed (0) -
cmd/erasure-multipart.go
return oi, InvalidPart{ PartNumber: part.PartNumber, } } wantCS := map[string]string{ hash.ChecksumCRC32.String(): part.ChecksumCRC32, hash.ChecksumCRC32C.String(): part.ChecksumCRC32C, hash.ChecksumSHA1.String(): part.ChecksumSHA1, hash.ChecksumSHA256.String(): part.ChecksumSHA256, } if wantCS[checksumType.String()] != crc { return oi, InvalidPart{
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jun 13 06:56:12 UTC 2024 - 44.8K bytes - Viewed (0) -
cmd/storage-rest-server.go
return true } // checkID - check if the disk-id in the request corresponds to the underlying disk. func (s *storageRESTServer) checkID(wantID string) bool { if s.getStorage() == nil { return false } if wantID == "" { // Request sent empty disk-id, we allow the request // as the peer might be coming up and trying to read format.json // or create format.json return true }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 44.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go
} } if tc.expectMilestones != nil { if !reflect.DeepEqual(milestones, tc.expectMilestones) { t.Errorf("Unexpected milestones: wanted %v, got %v", tc.expectMilestones, milestones) } } }) } } func isQualifiedResource(err error, kind, group string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 101.8K bytes - Viewed (0) -
src/net/http/serve_test.go
mux.ServeHTTP(w, req) if got, want := w.Code, tt.code; got != want { t.Errorf("#%d: Status = %d; want = %d", i, got, want) } if tt.code == 301 { if got, want := w.HeaderMap.Get("Location"), tt.loc; got != want { t.Errorf("#%d: Location = %q; want = %q", i, got, want) } } else { if got, want := w.HeaderMap.Get("Result"), tt.want; got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
cmd/erasure-healing-common_test.go
// Obtain a common mod time from modTimes slice. ctime := commonTime(testCase.times, testCase.quorum) if !testCase.time.Equal(ctime) { t.Errorf("Test case %d, expect to pass but failed. Wanted modTime: %s, got modTime: %s\n", i+1, testCase.time, ctime) } } } // TestListOnlineDisks - checks if listOnlineDisks and outDatedDisks // are consistent with each other.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Mon Jun 10 15:51:27 UTC 2024 - 23K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
for i, r := range result.Responses { hostnames[i] = r.Hostname } unique := sets.SortedList(sets.New(hostnames...)) want := dst.WorkloadsOrFail(t) wn := []string{} for _, w := range want { wn = append(wn, w.PodName()) } if len(unique) != len(wn) { return fmt.Errorf("excepted all destinations (%v), got: %v", wn, unique) } return nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0)