Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,114 for EQUAL (1.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. pkg/kubelet/images/image_manager_test.go

    		fakeRuntime.AssertCalls(c.expected[0].calls)
    		assert.Equal(t, c.expected[0].err, err, "tick=%d", 0)
    		assert.Equal(t, c.expected[0].shouldRecordStartedPullingTime, fakePodPullingTimeRecorder.startedPullingRecorded)
    		assert.Equal(t, c.expected[0].shouldRecordFinishedPullingTime, fakePodPullingTimeRecorder.finishedPullingRecorded)
    
    		images, _ := fakeRuntime.ListImages(ctx)
    		assert.Equal(t, 1, len(images), "ListImages() count")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. pkg/kube/kclient/client_test.go

    	tester.Create(obj1)
    	// Client is cached, so its only eventually consistent
    	tracker.WaitOrdered("add/1")
    	assert.Equal(t, tester.Get(obj1.Name, obj1.Namespace), obj1)
    	assert.Equal(t, tester.List("", klabels.Everything()), []*appsv1.Deployment{obj1})
    	assert.Equal(t, tester.List(obj1.Namespace, klabels.Everything()), []*appsv1.Deployment{obj1})
    
    	// Update object, should see the update...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. pkg/kube/krt/collection_test.go

    	SimpleServices := SimpleServiceCollection(services)
    	SimpleEndpoints := SimpleEndpointsCollection(SimplePods, SimpleServices)
    	assert.Equal(t, SimpleEndpoints.Synced().WaitUntilSynced(stop), true)
    	// Assert Equal -- not EventuallyEqual -- to ensure our WaitForCacheSync is proper
    	assert.Equal(t, fetcherSorted(SimpleEndpoints)(), []SimpleEndpoint{{"pod", "svc", "namespace", "1.2.3.4"}})
    }
    
    func TestCollectionMerged(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /** Test adding null equal object yields error */
      public void testAddNullEqualObject() {
        try {
          equalsTester.addEqualityGroup(reference, (Object[]) null);
          fail("Should fail on null equal object");
        } catch (NullPointerException e) {
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  8. src/crypto/internal/bigmod/nat_test.go

    	if x.Equal(expected) != 1 {
    		t.Errorf("%+v != %+v", x, expected)
    	}
    }
    
    func TestModAdd(t *testing.T) {
    	m := modulusFromBytes([]byte{13})
    	x := &Nat{[]uint{6}}
    	y := &Nat{[]uint{7}}
    	x.Add(y, m)
    	expected := &Nat{[]uint{0}}
    	if x.Equal(expected) != 1 {
    		t.Errorf("%+v != %+v", x, expected)
    	}
    	x.Add(y, m)
    	expected = &Nat{[]uint{7}}
    	if x.Equal(expected) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 12 00:56:20 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. src/crypto/internal/edwards25519/field/fe_test.go

    	var c, d Element
    
    	c.Select(&a, &b, 1)
    	d.Select(&a, &b, 0)
    
    	if c.Equal(&a) != 1 || d.Equal(&b) != 1 {
    		t.Errorf("Select failed")
    	}
    
    	c.Swap(&d, 0)
    
    	if c.Equal(&a) != 1 || d.Equal(&b) != 1 {
    		t.Errorf("Swap failed")
    	}
    
    	c.Swap(&d, 1)
    
    	if c.Equal(&b) != 1 || d.Equal(&a) != 1 {
    		t.Errorf("Swap failed")
    	}
    }
    
    func TestMult32(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 13.9K bytes
    - Viewed (0)
  10. android/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)
Back to top