- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 858 for Equals (0.03 sec)
-
src/test/java/jcifs/smb/SecurityBlobTest.java
// Act & Assert assertTrue(left.equals(right), "Blobs with equal content should be equal"); assertTrue(right.equals(left), "Equality should be symmetric for identical content"); } // Demonstrates observed equals() asymmetry when this is shorter than argument @Test @DisplayName("equals: this shorter but same prefix -> true (observed behavior)")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
assertEquals(hashCode1, hashCode2); } // Test equals method public void test_equals() { // Test equals method basic functionality assertTrue(crawlerEngineClient.equals(crawlerEngineClient)); assertFalse(crawlerEngineClient.equals(null)); assertFalse(crawlerEngineClient.equals("string")); CrawlerEngineClient other = new CrawlerEngineClient();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 4.7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
if (URL_ELEMENT.equals(qName)) { sitemapUrl = new SitemapUrl(); } else if (LOC_ELEMENT.equals(qName) || LASTMOD_ELEMENT.equals(qName) || CHANGEFREQ_ELEMENT.equals(qName) || PRIORITY_ELEMENT.equals(qName)) { buf = new StringBuilder(); } } @Override
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
// filter out equals/hashCode/toString if (method.getName().equals("equals") && method.getParameterTypes().length == 1 && method.getParameterTypes()[0] == Object.class) { continue; } if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) { continue; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Test reflexivity assertTrue(item1.equals(item1)); // Test symmetry and arrays with different order assertTrue(item1.equals(item2)); assertTrue(item2.equals(item1)); // Test with different inputs assertFalse(item1.equals(item3)); assertFalse(item3.equals(item1)); // Test with different output
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java
this.lastmod = lastmod; } /** * Checks if this SitemapFile is equal to another object. * @param obj the object to compare with * @return true if the objects are equal, false otherwise */ @Override public boolean equals(final Object obj) { if (this == obj) { return true; }
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.4K bytes - Viewed (1) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
*/ protected ObjectUtil() { } /** * Returns true if the two objects are equal, or both are null. * * @param object1 the first object * @param object2 the second object * @return true if equal or both null, false otherwise */ public static boolean equals(final Object object1, final Object object2) { if (object1 == object2) { return true; }
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
String password2 = "Password"; // Act byte[] hash1 = NtlmUtil.getNTHash(password1); byte[] hash2 = NtlmUtil.getNTHash(password2); // Assert assertFalse(Arrays.equals(hash1, hash2), "Different passwords should produce different hashes"); assertEquals(16, hash1.length, "NT hash should be 16 bytes"); assertEquals(16, hash2.length, "NT hash should be 16 bytes"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
assertTrue(item + " must not be Object#equals to null", !item.equals(null)); assertTrue( item + " must not be Object#equals to an arbitrary object of another class", !item.equals(NotAnInstance.EQUAL_TO_NOTHING)); assertTrue(item + " must be Object#equals to itself", item.equals(item)); assertEquals(
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0)