- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 56 for Equal (0.06 sec)
-
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
assertTrue(instance1.equals(instance2)); // Should be equal based on netName assertFalse(instance1.equals(instance3)); // Should not be equal assertFalse(instance1.equals(notAShareInfo)); // Should not be equal to other types assertFalse(instance1.equals(null)); // Should not be equal to null } /** * Test of hashCode method, of class SmbShareInfo. */Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
* their caseless domain and username fields are equal and either both hashes are external and they are equal or * both internally supplied passwords are equal. If one {@code NtlmPasswordAuthentication} object has external * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This isRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Both null subjects -> equal assertEquals(a, b); assertEquals(a.hashCode(), b.hashCode()); // Mixed null/non-null -> not equal Kerb5Authenticator c = new Kerb5Authenticator(new Subject()); assertNotEquals(a, c); // Same subject instance -> equal Subject shared = new Subject();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/util/ByteEncodableTest.java
byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 }; ByteEncodable encodable = new ByteEncodable(data, 1, 3); // Verify size assertEquals(3, encodable.size(), "Size should be equal to the specified length"); } @Test void testEncodeBasic() { // Test basic encoding byte[] data = { 0x01, 0x02, 0x03, 0x04, 0x05 };
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
void testHashCodeConsistency() { assertEquals(data1.hashCode(), data2.hashCode()); } @Test @DisplayName("Should not be equal to null") void testNotEqualToNull() { assertNotEquals(data1, null); } @Test @DisplayName("Should not be equal to different type")
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSize.java
* Gets the configuration key for the minimum size constraint. * @return name of size the element must be higher or equal to */ String minKey() default StringUtil.EMPTY; /** * Gets the configuration key for the maximum size constraint. * * @return name of size the element must be lower or equal to */ String maxKey() default StringUtil.EMPTY;Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/SecurityBlobTest.java
assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content"); assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode"); } // Validates equals() returns true for same-sized, equal-content blobs @Test @DisplayName("equals: identical content and size -> true") void equals_identicalContent_true() { // Arrange
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
/** * Do not instantiate. */ 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) {Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
} /** * Gets the relation type indicating how the record count should be interpreted. * * @return The record count relation (e.g., "eq" for exact, "gte" for greater than or equal) */ public String getAllRecordCountRelation() { return allRecordCountRelation; } /** * Gets the time taken to execute the search query. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 8.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java
* Compares this CharMappingItem with another object for equality. * Two CharMappingItem objects are equal if they have the same inputs and output. * Note: inputs arrays are sorted in the constructor, so no sorting is needed here. * * @param obj the object to compare with * @return true if the objects are equal, false otherwise */ @Override public boolean equals(final Object obj) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 7.9K bytes - Viewed (0)