- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,446 for equal (0.05 sec)
-
test/typeparam/equal.go
Matthew Dempsky <******@****.***> 1646087539 -0800
Registered: 2024-06-12 16:32 - Last Modified: 2022-03-01 19:45 - 1.3K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/values_test.go
// Compare types with schema against themselves if tc.lhs.Equal(tc.rhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) } if tc.rhs.Equal(tc.lhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) } // Compare types with schema against native types. This is slightly different than how
Registered: 2024-06-15 01:39 - Last Modified: 2024-05-16 20:13 - 17.3K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]"); return; } fail("Should get not equal to equal object error"); } /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */
Registered: 2024-06-12 16:38 - Last Modified: 2023-04-17 15:49 - 12.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go
equal: false, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { // Compare types with schema against themselves if tc.lhs.Equal(tc.rhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) } if tc.rhs.Equal(tc.lhs) != types.Bool(tc.equal) { t.Errorf("expected Equals to return %v", tc.equal) }
Registered: 2024-06-15 01:39 - Last Modified: 2023-10-23 22:30 - 17.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/MapDifference.java
@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); /** * The hash code equals the value {@code Arrays.asList(leftValue(), rightValue()).hashCode()}. */ @Override
Registered: 2024-06-12 16:38 - Last Modified: 2021-08-04 13:28 - 3.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
"Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse( "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); }
Registered: 2024-06-12 16:38 - Last Modified: 2018-01-09 20:10 - 4.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEqualsTester.java
"Two Maps should not be equal if exactly one of them contains a null value.", getMap().equals(other)); } @CollectionSize.Require(absent = CollectionSize.ZERO) public void testEquals_smallerMap() { Collection<Entry<K, V>> fewerEntries = getSampleEntries(getNumEntries() - 1); assertFalse( "Maps of different sizes should not be equal.", getMap().equals(newHashMap(fewerEntries))); }
Registered: 2024-06-12 16:38 - Last Modified: 2018-01-09 20:10 - 4.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/EqualsTesterTest.java
e, equalObject1 + " [group 1, item 1] must be Object#equals to " + notEqualObject1 + " [group 1, item 2]"); return; } fail("Should get not equal to equal object error"); } /** * Test EqualsTester with no equals or not equals objects. This checks proper handling of null, * incompatible class and reflexive tests */
Registered: 2024-06-12 16:38 - Last Modified: 2023-04-17 15:49 - 12.9K bytes - Viewed (0) -
src/crypto/x509/cert_pool_test.go
Registered: 2024-06-12 16:32 - Last Modified: 2022-04-13 18:06 - 2.3K bytes - Viewed (0) -
src/crypto/rsa/equal_test.go
public := &private.PublicKey if !public.Equal(public) { t.Errorf("public key is not equal to itself: %v", public) } if !public.Equal(crypto.Signer(private).Public().(*rsa.PublicKey)) { t.Errorf("private.Public() is not Equal to public: %q", public) } if !private.Equal(private) { t.Errorf("private key is not equal to itself: %v", private) } enc, err := x509.MarshalPKCS8PrivateKey(private)
Registered: 2024-06-12 16:32 - Last Modified: 2020-05-05 18:05 - 1.3K bytes - Viewed (0)