- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 545 for Equal (0.02 sec)
-
compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java
new Scm().equals(new Scm()); } @Test void testEqualsIdentity() { Scm thing = new Scm(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new Scm().toString()); } @Test public void testToStringNotNonsense() { Scm scm = new Scm();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
public final class ForwardingWrapperTester { private boolean testsEquals = false; /** * Asks for {@link Object#equals} and {@link Object#hashCode} to be tested. That is, forwarding * wrappers of equal instances should be equal. */ @CanIgnoreReturnValue public ForwardingWrapperTester includingEquals() { this.testsEquals = true; return this; } /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/archive/tar/tar_test.go
continue } gotAligned := alignSparseEntries(append([]sparseEntry{}, v.in...), v.size) if !slices.Equal(gotAligned, v.wantAligned) { t.Errorf("test %d, alignSparseEntries():\ngot %v\nwant %v", i, gotAligned, v.wantAligned) } gotInverted := invertSparseEntries(append([]sparseEntry{}, v.in...), v.size) if !slices.Equal(gotInverted, v.wantInverted) {
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Jul 25 00:25:45 UTC 2024 - 23.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/StringUtil.java
} return s1.indexOf(s2) >= 0; } /** * Returns whether two strings are equal. If both are null, returns <code>true</code>. * * @param target1 * the first string * @param target2 * the second string * @return true if the strings are equal, false otherwise */ public static boolean equals(final String target1, final String target2) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 21.5K bytes - Viewed (0) -
internal/etag/etag.go
v, ok := h["ETag"] if !ok || len(v) == 0 { return nil, errors.New("etag: HTTP header does not contain an ETag") } return parse(v[0], strict) } // Equal returns true if and only if the two ETags are // identical. func Equal(a, b ETag) bool { return bytes.Equal(a, b) } // Decrypt decrypts the ETag with the given key. // // If the ETag is not encrypted, Decrypt returns // the ETag unmodified.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri May 16 14:27:42 UTC 2025 - 13.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(EMPTY, diff.entriesOnlyOnLeft()); assertEquals(EMPTY, diff.entriesOnlyOnRight()); assertEquals(EMPTY, diff.entriesInCommon()); assertEquals(EMPTY, diff.entriesDiffering()); assertEquals("equal", diff.toString()); } public void testMapDifferenceEmptySingleton() { MapDifference<Integer, Integer> diff = Maps.difference(EMPTY, SINGLETON); assertFalse(diff.areEqual());
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Collections2.java
* first permutation will be in ascending order, and the last will be in descending order. * * <p>Elements that compare equal are considered equal and no new permutations are created by * swapping them. * * <p>An empty iterable has only one permutation, which is an empty list. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/RelocationTest.java
new Relocation().equals(new Relocation()); } @Test void testEqualsIdentity() { Relocation thing = new Relocation(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new Relocation().toString()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ContributorTest.java
new Contributor().equals(new Contributor()); } @Test void testEqualsIdentity() { Contributor thing = new Contributor(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new Contributor().toString()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0) -
compat/maven-model/src/test/java/org/apache/maven/model/ExtensionTest.java
new Extension().equals(new Extension()); } @Test void testEqualsIdentity() { Extension thing = new Extension(); assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing); } @Test void testToStringNullSafe() { assertNotNull(new Extension().toString()); }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 1.6K bytes - Viewed (0)