Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for _Equal (0.24 sec)

  1. pilot/pkg/networking/core/cluster_test.go

    		} else if locality.Region == "region1" && locality.SubZone == "subzone2" {
    			g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(17)))
    			g.Expect(localityLbEndpoint.LbEndpoints[0].LoadBalancingWeight.GetValue()).To(Equal(uint32(20)))
    		} else if locality.Region == "region2" {
    			g.Expect(localityLbEndpoint.LoadBalancingWeight.GetValue()).To(Equal(uint32(50)))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier_test.go

    	assert.Equal(t, 4, activeEntries1.Len(), "Expected 4 active entry in KUBE-LOOP-BACK")
    	assert.Equal(t, true, activeEntries1.Has("10.0.1.1,tcp:80,10.0.1.1"), "Expected activeEntries to reference first pod")
    	assert.Equal(t, true, activeEntries1.Has("10.0.1.2,tcp:80,10.0.1.2"), "Expected activeEntries to reference second pod")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_node_status_test.go

    	updatedMemoryCapacity, _ := (&memCapacity).AsInt64()
    	assert.Equal(t, newMemoryCapacity, updatedMemoryCapacity, "Memory capacity")
    
    	now = metav1.NewTime(clock.Now()).Rfc3339Copy()
    	for _, cond := range updatedNode.Status.Conditions {
    		// Expect LastHearbeat updated, while LastTransitionTime unchanged.
    		assert.Equal(t, now, cond.LastHeartbeatTime.Rfc3339Copy(),
    			"LastHeartbeatTime for condition %v", cond.Type)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/helpers_test.go

    	}
    	for _, aThreshold := range expected {
    		equal := false
    		for _, bThreshold := range actual {
    			if thresholdEqual(aThreshold, bThreshold) {
    				equal = true
    			}
    		}
    		if !equal {
    			return false
    		}
    	}
    	for _, aThreshold := range actual {
    		equal := false
    		for _, bThreshold := range expected {
    			if thresholdEqual(aThreshold, bThreshold) {
    				equal = true
    			}
    		}
    		if !equal {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  5. src/crypto/x509/x509_test.go

    	var cNil1, cNil2 *Certificate
    	if !cNil1.Equal(cNil2) {
    		t.Error("Nil certificates: cNil1 is not equal to cNil2")
    	}
    	if !cNil2.Equal(cNil1) {
    		t.Error("Nil certificates: cNil2 is not equal to cNil1")
    	}
    	if cNil1.Equal(cNonNil) {
    		t.Error("Unexpectedly cNil1 is equal to cNonNil")
    	}
    	if cNonNil.Equal(cNil1) {
    		t.Error("Unexpectedly cNonNil is equal to cNil1")
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 163.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/_gen/ARM64.rules

    (Round64F ...) => (LoweredRound64F ...)
    
    // comparisons
    (Eq8  x y)  => (Equal (CMPW (ZeroExt8to32  x) (ZeroExt8to32  y)))
    (Eq16  x y) => (Equal (CMPW (ZeroExt16to32 x) (ZeroExt16to32 y)))
    (Eq32  x y) => (Equal (CMPW  x y))
    (Eq64  x y) => (Equal (CMP   x y))
    (EqPtr x y) => (Equal (CMP   x y))
    (Eq32F x y) => (Equal (FCMPS x y))
    (Eq64F x y) => (Equal (FCMPD x y))
    
    (Neq8   x y) => (NotEqual (CMPW (ZeroExt8to32  x) (ZeroExt8to32  y)))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 113.1K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/horizontal_test.go

    			tc.Lock()
    			defer tc.Unlock()
    
    			obj := action.(core.UpdateAction).GetObject().(*autoscalingv2.HorizontalPodAutoscaler)
    			assert.Equal(t, namespace, obj.Namespace, "the HPA namespace should be as expected")
    			assert.Equal(t, hpaName, obj.Name, "the HPA name should be as expected")
    			assert.Equal(t, tc.expectedDesiredReplicas, obj.Status.DesiredReplicas, "the desired replica count reported in the object status should be as expected")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_test.go

    		ID:        pod.UID,
    		Name:      pod.Name,
    		Namespace: pod.Namespace,
    	}
    	apiStatus := kubelet.generateAPIPodStatus(pod, status, false)
    	require.Equal(t, v1.PodFailed, apiStatus.Phase)
    	require.Equal(t, "Evicted", apiStatus.Reason)
    	require.Equal(t, "because", apiStatus.Message)
    }
    
    func TestSyncTerminatingPodKillPod(t *testing.T) {
    	testKubelet := newTestKubelet(t, false /* controllerAttachDetachEnabled */)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        reduced_e1--;
      }
    
      return (std::distance(i1, reduced_e1) > 0) &&
             (std::distance(i1, reduced_e1) <= full_type.getRank()) &&
             (std::equal(i1, reduced_e1, i2));
    }
    
    // Check if the value of the last dimension of type1 is equal to the number of
    // elements in type2. This is a required condition to flatten type2 to form a
    // 1D array and allow the binaryOp handle the broadcasting implicitly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_pods_test.go

    		assert.Equal(t, containerID, fakeCommandRunner.ContainerID, "(testError=%v) ID", testError)
    		assert.Equal(t, cmd, fakeCommandRunner.Cmd, "(testError=%v) command", testError)
    		// this isn't 100% foolproof as a bug in a real CommandRunner where it fails to copy to stdout/stderr wouldn't be caught by this test
    		assert.Equal(t, "foo", string(actualOutput), "(testError=%v) output", testError)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
Back to top