- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 683 for Id (0.06 sec)
-
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) -
src/internal/trace/testdata/generators/go122-create-syscall-reuse-thread-id.go
// // Specifically, it tests a scenerio wherein a C // thread is calling into Go, creating a goroutine in // a syscall (in the tracer's model). The system is free // to reuse thread IDs, so first a thread ID is used to // call into Go, and then is used for a Go-created thread. // // This is a regression test. The trace parser didn't correctly // model GoDestroySyscall as dropping its P (even if the runtime
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 2.3K bytes - Viewed (0) -
tests/preload_test.go
} var user2 User DB.Preload("Pets.Toy").Find(&user2, "id = ?", user.ID) CheckUser(t, user2, user) var user3 User DB.Preload(clause.Associations+"."+clause.Associations).Find(&user3, "id = ?", user.ID) CheckUser(t, user3, user) var user4 *User DB.Preload("Pets.Toy").Find(&user4, "id = ?", user.ID) CheckUser(t, *user4, user) } func TestNestedPreloadForSlice(t *testing.T) {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:00:47 UTC 2024 - 15.9K bytes - Viewed (0) -
tests/joins_test.go
user := User{Name: "kingGo", CompanyID: &companyB.ID} DB.Create(&user) query := DB.Model(&User{}).Joins("Company") var total int64 query.Count(&total) var result User if err := query.First(&result, user.ID).Error; err != nil { t.Fatalf("Failed, got error: %v", err) } if result.ID != user.ID { t.Fatalf("result's id, %d, doesn't match user's id, %d", result.ID, user.ID) }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:52:33 UTC 2024 - 15K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices_test.go
expected = `{"bar":{"dev-bar1":{"ID":"bar1"},"dev-bar2":{"ID":"bar2"},"dev-bar3":{"ID":"bar3"}},"baz":{"dev-baz1":{"ID":"baz1"},"dev-baz2":{"ID":"baz2"},"dev-baz3":{"ID":"baz3"}},"foo":{"dev-foo1":{"ID":"foo1"},"dev-foo2":{"ID":"foo2"},"dev-foo3":{"ID":"foo3"}}}` expectResourceDeviceInstances(t, resp, expected) cond = map[string]sets.Set[string]{ "foo": sets.New[string]("dev-foo1", "dev-foo2", "dev-foo3", "dev-foo4"),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 10.3K bytes - Viewed (0) -
security/pkg/pki/util/crypto_test.go
pem: certECDSA, }, } for id, c := range testCases { cert, err := ParsePemEncodedCertificate([]byte(c.pem)) if c.errMsg != "" { if err == nil { t.Errorf("%s: no error is returned", id) } else if c.errMsg != err.Error() { t.Errorf(`%s: Unexpected error message: expected "%s" but got "%s"`, id, c.errMsg, err.Error()) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 13:00:07 UTC 2024 - 14.6K bytes - Viewed (0) -
src/encoding/gob/type.go
) func idToType(id typeId) gobType { if id < 0 || int(id) >= len(idToTypeSlice) { return nil } return idToTypeSlice[id] } func builtinIdToType(id typeId) gobType { if id < 0 || int(id) >= len(builtinIdToTypeSlice) { return nil } return builtinIdToTypeSlice[id] } func setTypeId(typ gobType) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 27.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/testinggoroutine/util.go
id, _ := x.(*ast.Ident) return id case *ast.Ident: return fun default: return nil } } // funcLitInScope returns a FuncLit that id is at least initially assigned to. // // TODO: This is closely tied to id.Obj which is deprecated. func funcLitInScope(id *ast.Ident) *ast.FuncLit { // Compare to (*ast.Object).Pos(). if id.Obj == nil { return nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/proxy/winkernel/hns_test.go
Network := mustTestNetwork(t) network, err := hns.getNetworkByName(Network.Name) if err != nil { t.Error(err) } if !strings.EqualFold(network.id, Network.Id) { t.Errorf("%v does not match %v", network.id, Network.Id) } err = Network.Delete() if err != nil { t.Error(err) } } func TestGetAllEndpointsByNetwork(t *testing.T) { // TODO: remove skip once the test has been fixed.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 15.4K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
expected *kubecontainer.Status }{ "created container": { input: &runtimeapi.ContainerStatus{ Id: cid.ID, Metadata: meta, Image: imageSpec, State: runtimeapi.ContainerState_CONTAINER_CREATED, CreatedAt: createdAt, }, expected: &kubecontainer.Status{ ID: *cid, Image: imageSpec.Image, State: kubecontainer.ContainerStateCreated,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0)