- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,114 for EQUAL (0.04 sec)
-
pilot/pkg/serviceregistry/kube/controller/pod_test.go
} createPod("128.0.0.1", "pod") assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), []types.NamespacedName{{Name: "pod", Namespace: "ns"}}) // Change the pod IP. This can happen if the pod moves to another node, for example. createPod("128.0.0.2", "pod") assert.Equal(t, c.pods.getPodKeys("128.0.0.2"), []types.NamespacedName{{Name: "pod", Namespace: "ns"}}) assert.Equal(t, c.pods.getPodKeys("128.0.0.1"), nil)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 16 18:27:40 UTC 2024 - 12.3K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_workloadentry_test.go
// ensure we stored and can fetch both; neither was blown away assert.Equal(t, s.lookup(s.wleXdsName("emptyaddr1"))[0].GetWorkload().GetName(), "emptyaddr1") // can lookup this workload by name assert.Equal(t, s.lookup(s.wleXdsName("emptyaddr2"))[0].GetWorkload().GetName(), "emptyaddr2") // can lookup this workload by name assert.Equal(t, len(s.lookup(s.addrXdsName(""))),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 15.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
HostPort: 8080, }, } podSandboxConfig, err := m.generatePodSandboxConfig(pod, 1) assert.NoError(t, err) assert.Equal(t, expectedLabels, podSandboxConfig.Labels) assert.Equal(t, expectedLogDirectory, podSandboxConfig.LogDirectory) assert.Equal(t, expectedMetadata, podSandboxConfig.Metadata) assert.Equal(t, expectedPortMappings, podSandboxConfig.PortMappings) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/test/framework/suite_test.go
s.envFactory = newFakeEnvironmentFactory(c.actual) s.RequireMinClusters(c.min) s.RequireMaxClusters(c.max) s.Run() assert.Equal(t, runCalled, true) if c.expectSkip { assert.Equal(t, runSkipped, true) } else { assert.Equal(t, runSkipped, false) } }) } } func TestSuite_Setup(t *testing.T) { defer cleanupRT() g := NewWithT(t) var runCalled bool
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/proxy/apis/config/validation/validation.go
} if config.TCPFinTimeout.Duration < 0 { allErrs = append(allErrs, field.Invalid(fldPath.Child("TCPFinTimeout"), config.TCPFinTimeout, "must be greater than or equal to 0")) } if config.UDPTimeout.Duration < 0 { allErrs = append(allErrs, field.Invalid(fldPath.Child("UDPTimeout"), config.UDPTimeout, "must be greater than or equal to 0")) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 13:25:06 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir
// Equality op legalizations. // tf.Equal and tf.NotEqual expand from the same pattern. Full semantics are // verified for tf.Equal and pattern application only for tf.NotEqual //===----------------------------------------------------------------------===// // CHECK-LABEL: func @equal func.func @equal(%arg0: tensor<2xi32>, %arg1: tensor<2xi32>) -> tensor<2xi1> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 18.4K bytes - Viewed (0) -
cmd/kubeadm/app/util/runtime/runtime_test.go
mock := &fakeImpl{} if tc.prepare != nil { tc.prepare(mock) } containerRuntime.SetImpl(mock) containers, err := containerRuntime.ListKubeContainers() assert.Equal(t, tc.shouldError, err != nil) assert.Equal(t, tc.expected, containers) }) } } func TestSandboxImage(t *testing.T) { for _, tc := range []struct { name, expected string prepare func(*fakeImpl)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 30 06:33:22 UTC 2024 - 11.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/value.go
} if t.TypeName() == o.objectType.TypeName() { return o } return types.NewErr("type conversion error from '%s' to '%s'", o.Type(), t) } // Equal returns true if the two object types are equal and their field values are equal. func (o *ObjectValue) Equal(other ref.Val) ref.Val { // Preserve CEL's homogeneous equality semantics. if o.objectType.TypeName() != other.Type().TypeName() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Oct 10 22:05:55 UTC 2022 - 20.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/SortedLists.java
* A specification for which index to return if the list contains at least one element that * compares as equal to the key. */ enum KeyPresentBehavior { /** * Return the index of any list element that compares as equal to the key. No guarantees are * made as to which index is returned, if more than one element compares as equal to the key. */ ANY_PRESENT { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 10.9K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_serviceentry_test.go
s.assertEvent(t, s.seIPXdsName("name1", "127.0.0.1"), "ns1/se.istio.io") s.assertWorkloads(t, "", workloadapi.WorkloadStatus_HEALTHY, "name1") assert.Equal(t, s.lookup(s.addrXdsName("127.0.0.1")), []model.AddressInfo{{ Address: &workloadapi.Address{ Type: &workloadapi.Address_Workload{ Workload: &workloadapi.Workload{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Mar 27 03:01:04 UTC 2024 - 12.9K bytes - Viewed (0)