- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 868 for EQUAL (0.65 sec)
-
pkg/kubelet/kuberuntime/kuberuntime_image_test.go
imageRef, err := fakeManager.PullImage(ctx, kubecontainer.ImageSpec{Image: "busybox"}, nil, nil) assert.NoError(t, err) assert.Equal(t, "busybox", imageRef) images, err := fakeManager.ListImages(ctx) assert.NoError(t, err) assert.Equal(t, 1, len(images)) assert.Equal(t, images[0].RepoTags, []string{"busybox"}) } func TestPullImageWithError(t *testing.T) { ctx := context.Background()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 12.8K bytes - Viewed (0) -
src/slices/slices_test.go
for _, test := range equalIntTests { if got := Equal(test.s1, test.s2); got != test.want { t.Errorf("Equal(%v, %v) = %t, want %t", test.s1, test.s2, got, test.want) } } for _, test := range equalFloatTests { if got := Equal(test.s1, test.s2); got != test.wantEqual { t.Errorf("Equal(%v, %v) = %t, want %t", test.s1, test.s2, got, test.wantEqual) } } } // equal is simply ==. func equal[T comparable](v1, v2 T) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:06 UTC 2024 - 33.2K bytes - Viewed (0) -
pkg/kubelet/stats/cadvisor_stats_provider_test.go
assert.NoError(err) assert.Equal(imageFsInfo.Timestamp, stats.Time.Time) assert.Equal(imageFsInfo.Available, *stats.AvailableBytes) assert.Equal(imageFsInfo.Capacity, *stats.CapacityBytes) assert.Equal(imageStats.TotalStorageBytes, *stats.UsedBytes) assert.Equal(imageFsInfo.InodesFree, stats.InodesFree) assert.Equal(imageFsInfo.Inodes, stats.Inodes)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 30.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/AbstractMutableModuleComponentResolveMetadata.java
return Objects.equal(group, that.group) && Objects.equal(module, that.module) && Objects.equal(versionConstraint, that.versionConstraint) && Objects.equal(excludes, that.excludes) && Objects.equal(reason, that.reason) && Objects.equal(attributes, that.attributes) && Objects.equal(requestedCapabilities, that.requestedCapabilities)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 15 00:21:07 UTC 2024 - 25.1K bytes - Viewed (0) -
pkg/kubelet/images/image_gc_manager_test.go
require.NoError(t, err) assert.Equal(manager.imageRecordsLen(), 3) noContainer, ok := manager.getImageRecord(imageID(0)) require.True(t, ok) assert.Equal(zero, noContainer.firstDetected) assert.Equal(zero, noContainer.lastUsed) assert.Equal("", noContainer.runtimeHandlerUsedToPullImage) withContainer, ok := manager.getImageRecord(imageID(1)) require.True(t, ok) assert.Equal(zero, withContainer.firstDetected)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 15:38:20 UTC 2024 - 29.2K bytes - Viewed (0) -
src/crypto/ed25519/ed25519_test.go
t.Errorf("private.Public() is not Equal to public: %q", public) } if !private.Equal(private) { t.Errorf("private key is not equal to itself: %q", private) } otherPub, otherPriv, _ := GenerateKey(rand.Reader) if public.Equal(otherPub) { t.Errorf("different public keys are Equal") } if private.Equal(otherPriv) { t.Errorf("different private keys are Equal") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 27 18:23:49 UTC 2024 - 10.9K bytes - Viewed (0) -
pkg/proxy/util/nfacct/nfacct_linux_test.go
// validate request(NFNL_MSG_ACCT_GET) assert.Equal(t, 1, len(hndlr.requests)) assert.Equal(t, cmdGet, hndlr.requests[0].cmd) assert.Equal(t, uint16(unix.NLM_F_REQUEST|unix.NLM_F_DUMP), hndlr.requests[0].flags) // validate attributes assert.Equal(t, 0, len(hndlr.requests[0].data)) // validate response assert.NoError(t, err) assert.NotNil(t, counters) assert.Equal(t, len(expected), len(counters))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 27 06:47:50 UTC 2024 - 18.8K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager_test.go
logs, err := os.ReadDir(dir) require.NoError(t, err) assert.Len(t, logs, 5) assert.Equal(t, testLogs[0], logs[0].Name()) assert.Equal(t, testLogs[1]+"."+timestamp, logs[1].Name()) assert.Equal(t, testLogs[4]+compressSuffix, logs[2].Name()) assert.Equal(t, testLogs[2]+"."+timestamp, logs[3].Name()) assert.Equal(t, testLogs[3], logs[4].Name()) } func TestClean(t *testing.T) { ctx := context.Background()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.7K bytes - Viewed (0) -
src/syscall/js/js_test.go
t.Errorf("got %#v, want %#v", got, want) } if !dummys.Get("someFloat").Equal(dummys.Get("someFloat")) { t.Errorf("same value not equal") } } func TestObject(t *testing.T) { if !dummys.Get("someArray").Equal(dummys.Get("someArray")) { t.Errorf("same value not equal") } // An object and its prototype should not be equal. proto := js.Global().Get("Object").Get("prototype")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 17.7K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation_test.go
field.Invalid(newPath.Child("KubeIPVSConfiguration.TCPFinTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0"), field.Invalid(newPath.Child("KubeIPVSConfiguration.UDPTimeout"), metav1.Duration{Duration: -1 * time.Second}, "must be greater than or equal to 0")}, }, } { t.Run(name, func(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 33.3K bytes - Viewed (0)