- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,383 for EQUAL (0.04 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/aggregated/handler_test.go
assert.NotEmpty(t, res2_addedToOne.Header.Get("ETag"), "Etag should be populated") assert.Equal(t, res1_removeFromBoth.Header.Get("ETag"), res2_removeFromBoth.Header.Get("ETag"), "ETags should be equal since content is equal") assert.Equal(t, res1_initial.Header.Get("ETag"), res1_removeFromBoth.Header.Get("ETag"), "ETag should be equal to initial value since added content was removed") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Mar 02 00:29:39 UTC 2024 - 28.6K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_test.go
assert.NoError(err) assert.Equal(summary.Node.NodeName, "test-node") assert.Equal(summary.Node.StartTime, systemBootTime) assert.Equal(summary.Node.CPU, cgroupStatsMap["/"].cs.CPU) assert.Equal(summary.Node.Memory, cgroupStatsMap["/"].cs.Memory) assert.Equal(summary.Node.Swap, cgroupStatsMap["/"].cs.Swap) assert.Equal(summary.Node.Network, cgroupStatsMap["/"].ns) assert.Equal(summary.Node.Fs, rootFsStats)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/sets/set_test.go
if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } b = NewString("1", "2", "") if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } // Check for equality after mutation a = NewString() a.Insert("1") if a.Equal(b) { t.Errorf("Expected to be not-equal: %v vs %v", a, b) } a.Insert("2") if a.Equal(b) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 20 03:47:18 UTC 2022 - 8K bytes - Viewed (0) -
src/reflect/deepequal.go
} } // DeepEqual reports whether x and y are “deeply equal,” defined as follows. // Two values of identical type are deeply equal if one of the following cases applies. // Values of distinct types are never deeply equal. // // Array values are deeply equal when their corresponding elements are deeply equal. // // Struct values are deeply equal if their corresponding fields, // both exported and unexported, are deeply equal.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:34:30 UTC 2024 - 7.4K bytes - Viewed (0) -
pilot/pkg/model/typed_xds_cache_test.go
} c := newTypedXdsCache[uint64]() cache := c.(*lruCache[uint64]) assert.Equal(t, cache.store.Len(), 0) assert.Equal(t, cache.indexLength(), 0) // adding the entry populates the indexes c.Add(firstEntry.Key(), firstEntry, req, res) assert.Equal(t, cache.store.Len(), 1) assert.Equal(t, cache.indexLength(), 2) assert.Equal(t, cache.configIndexSnapshot(), map[ConfigHash]sets.Set[uint64]{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 29 20:35:31 UTC 2024 - 18.2K bytes - Viewed (0) -
pkg/probe/grpc/grpc_test.go
fmt.Fprint(w, "res") })) u := strings.Split(server.URL, ":") assert.Equal(t, 3, len(u)) port, err := strconv.Atoi(u[2]) assert.Equal(t, nil, err) // take some time to wait server boot time.Sleep(2 * time.Second) p, _, err := s.Probe("127.0.0.1", "", port, time.Second) assert.Equal(t, probe.Failure, p) assert.Equal(t, nil, err) })
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Nov 20 00:23:53 UTC 2021 - 5.7K bytes - Viewed (0) -
pkg/kubelet/server/server_websocket_test.go
assert.Equal(t, podName, name, "pod name") assert.Equal(t, podNamespace, namespace, "pod namespace") if test.uid { assert.Equal(t, testUID, string(uid), "uid") } } ss.fakeRuntime.portForwardFunc = func(podSandboxID string, port int32, stream io.ReadWriteCloser) error { defer close(portForwardFuncDone) assert.Equal(t, testPodSandboxID, podSandboxID, "pod sandbox id")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 8.2K bytes - Viewed (0) -
test/typeparam/sliceimp.dir/main.go
panic(fmt.Sprintf("a.Equal(%v, %v) = false, want true", s3, s3)) } if a.Equal(s1, nil) { panic(fmt.Sprintf("a.Equal(%v, nil) = true, want false", s1)) } if a.Equal(nil, s1) { panic(fmt.Sprintf("a.Equal(nil, %v) = true, want false", s1)) } if !a.Equal(s1[:0], nil) { panic(fmt.Sprintf("a.Equal(%v, nil = false, want true", s1[:0])) } } func offByOne[Elem Integer](a, b Elem) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 24 02:14:15 UTC 2022 - 4.6K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route_test.go
g.Expect(len(routes)).To(Equal(3)) g.Expect(routes[0].GetMatch().GetPrefix()).To(Equal("/foo")) g.Expect(routes[0].StatPrefix).To(Equal("foo")) g.Expect(routes[1].GetMatch().GetPrefix()).To(Equal("/baz")) g.Expect(routes[1].StatPrefix).To(Equal("")) g.Expect(routes[2].GetMatch().GetPrefix()).To(Equal("/bar")) g.Expect(routes[2].StatPrefix).To(Equal(""))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 88.1K bytes - Viewed (0) -
pkg/kubelet/util/manager/cache_based_manager_test.go
return 0 } return item.refCount } assert.Equal(t, 3, refs("ns1", "s1")) assert.Equal(t, 1, refs("ns1", "s10")) assert.Equal(t, 3, refs("ns1", "s2")) assert.Equal(t, 3, refs("ns1", "s3")) assert.Equal(t, 2, refs("ns1", "s30")) assert.Equal(t, 2, refs("ns1", "s4")) assert.Equal(t, 4, refs("ns1", "s5")) assert.Equal(t, 2, refs("ns1", "s50")) assert.Equal(t, 0, refs("ns1", "s6"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.6K bytes - Viewed (0)