- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,077 for Equal (0.02 sec)
-
cni/pkg/nodeagent/healthServer_test.go
installReady.Store(true) watchReady.Store(true) assert.Equal(t, installReady.Load(), true) assert.Equal(t, watchReady.Load(), true) makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK) makeReq(t, server.URL, constants.ReadinessEndpoint, http.StatusOK) watchReady.Store(false) assert.Equal(t, watchReady.Load(), false) assert.Equal(t, installReady.Load(), true)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 2K bytes - Viewed (0) -
tests/test_path.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 34.4K 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: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "A List should not equal another List containing different elements.", getList().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_otherListContainingNull() { List<E> other = new ArrayList<>(getSampleElements()); other.set(other.size() / 2, null); assertFalse( "Two Lists should not be equal if exactly one of them has null at a given index.",
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 20:12:35 UTC 2024 - 3.5K bytes - Viewed (0) -
src/bytes/example_test.go
// a less b } if bytes.Compare(a, b) <= 0 { // a less or equal b } if bytes.Compare(a, b) > 0 { // a greater b } if bytes.Compare(a, b) >= 0 { // a greater or equal b } // Prefer Equal to Compare for equality comparisons. if bytes.Equal(a, b) { // a equal b } if !bytes.Equal(a, b) { // a not equal b } } func ExampleCompare_search() {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Aug 07 17:22:36 UTC 2024 - 14.9K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
p, err := pluginServer.getPodWithRetry(log, pod.Name, pod.Namespace) assert.NoError(t, err) assert.Equal(t, p, pod) }) t.Run("no pod", func(t *testing.T) { p, err := pluginServer.getPodWithRetry(log, "fake", pod.Namespace) assert.Error(t, err) assert.Equal(t, p, nil) }) t.Run("pod out of ambient", func(t *testing.T) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
if err != tt.expectedErr { t.Errorf("Test %d: Expected %s, got %s", i+1, tt.expectedErr, err) } if !bytes.Equal(chunkSize, tt.chunkSize) { t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSize), string(chunkSize)) } if !bytes.Equal(chunkSignature, tt.chunkSignature) { t.Errorf("Test %d: Expected %s, got %s", i+1, string(tt.chunkSignature), string(chunkSignature)) } } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 5.7K bytes - Viewed (0) -
internal/config/storageclass/storage-class.go
// SS parity drives should be greater than or equal to minParityDrives. // Parity below minParityDrives is not supported. if ssParity > 0 && ssParity < minParityDrives { return fmt.Errorf("parity %d should be greater than or equal to %d", ssParity, minParityDrives) } if ssParity > setDriveCount/2 { return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2) } return nil
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 12:24:04 UTC 2024 - 12.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapDifference.java
/** Returns the value from the right map (possibly null). */ @ParametricNullness V rightValue(); /** * Two instances are considered equal if their {@link #leftValue()} values are equal and their * {@link #rightValue()} values are also equal. */ @Override boolean equals(@CheckForNull Object other); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Aug 04 13:28:27 UTC 2021 - 3.5K bytes - Viewed (0) -
cni/pkg/nodeagent/net_test.go
err := netServer.RemovePodFromMesh(ctx, pod, false) assert.NoError(t, err) assert.Equal(t, ztunnelServer.deletedPods.Load(), 1) assert.Equal(t, nlDeps.DelInpodMarkIPRuleCnt.Load(), 1) assert.Equal(t, nlDeps.DelLoopbackRoutesCnt.Load(), 1) // make sure the uid was taken from cache and netns closed netns := fixture.podNsMap.Take(string(pod.UID)) assert.Equal(t, nil, netns) // run gc to clean up ns:
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 25 16:13:38 UTC 2024 - 10.7K bytes - Viewed (0)