Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 95 for _Equal (0.22 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/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    and J. Since the Refractions on both sides the Prism are equal to one another, that is, the Refraction at K equal to the Refraction at J, and the Refraction at L equal to the Refraction at H, so that the Refractions of the incident Rays at K and L taken together, are equal to the Refractions of the emergent Rays at H and J taken together: it follows by adding equal things to equal things, that the Refractions at K and H taken together, are equal to the Refractions at J and L taken together, and therefore...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. pkg/apis/batch/validation/validation_test.go

    						}},
    					},
    				},
    			},
    			opts: JobValidationOptions{RequirePrefixedLabels: true},
    		},
    		`spec.successPolicy.rules[0].succeededCount: must be greater than or equal to 0`: {
    			job: batch.Job{
    				ObjectMeta: validJobObjectMeta,
    				Spec: batch.JobSpec{
    					Selector:       validGeneratedSelector,
    					CompletionMode: completionModePtr(batch.IndexedCompletion),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
  10. 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)
Back to top