- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 490 for HashCode (0.04 sec)
-
src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java
public void test_hashCode() { // Test hashCode consistency int metadataHashCode = SsoResponseType.METADATA.hashCode(); int logoutHashCode = SsoResponseType.LOGOUT.hashCode(); // Hash code should be consistent for the same object assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode()); assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jan 15 18:51:29 UTC 2025 - 3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/AnyValue.kt
val bytes: ByteString, ) { // Avoid Long.hashCode(long) which isn't available on Android 5. override fun hashCode(): Int { var result = 0 result = 31 * result + tagClass result = 31 * result + tag.toInt() result = 31 * result + (if (constructed) 0 else 1) result = 31 * result + length.toInt() result = 31 * result + bytes.hashCode() return result }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashCodeTest.java
assertEquals(expectedInt, hashCode.asInt()); assertEquals(expectedToString, hashCode.toString()); bytes[0] = (byte) 0x00; assertEquals(expectedInt, hashCode.asInt()); assertEquals(expectedToString, hashCode.toString()); } public void testFromBytesNoCopy_noCopyOccurs() { byte[] bytes = new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00}; HashCode hashCode = HashCode.fromBytesNoCopy(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/HashCodeTest.java
assertEquals(expectedInt, hashCode.asInt()); assertEquals(expectedToString, hashCode.toString()); bytes[0] = (byte) 0x00; assertEquals(expectedInt, hashCode.asInt()); assertEquals(expectedToString, hashCode.toString()); } public void testFromBytesNoCopy_noCopyOccurs() { byte[] bytes = new byte[] {(byte) 0xcd, (byte) 0xab, (byte) 0x00, (byte) 0x00}; HashCode hashCode = HashCode.fromBytesNoCopy(bytes);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 13.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Cut.java
} catch (ClassCastException wastNotComparableToOurType) { return false; } } return false; } // Prevent "missing hashCode" warning by explicitly forcing subclasses implement it @Override public abstract int hashCode(); /* * The implementation neither produces nor consumes any non-null instance of type C, so * casting the type parameter is safe. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/ObjectUtil.java
* Returns the hash code of the specified object, or 0 if the object is null. * * @param obj the object * @return the hash code or 0 */ public static int hashCode(final Object obj) { return obj == null ? 0 : obj.hashCode(); } /** * Returns the string representation of the specified object, or null if the object is null. * * @param obj the object
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactInstallerRequest.java
return o instanceof DefaultArtifactInstallerRequest that && Objects.equals(artifacts, that.artifacts); } @Override public int hashCode() { return Objects.hashCode(artifacts); } @Override public String toString() { return "ArtifactInstallerRequest[" + "artifacts=" + artifacts + ']'; }
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 4.2K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NbtAddress.java
} /** * Returns a hashcode for this IP address. The hashcode comes from the IP address * and is not generated from the string representation. So because NetBIOS nodes * can have many names, all names associated with an IP will have the same * hashcode. */ @Override public int hashCode() { return address; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/MIENameTest.java
assertEquals(expected, parsed, "Parsed object should equal expected"); assertEquals(name, parsed.toString(), "toString should return the name"); assertEquals(testOid().hashCode(), parsed.hashCode(), "hashCode should derive from OID"); } @Test @DisplayName("Parses empty name length (NAME_LEN=0) as empty string") void parseEmptyName() { // Arrange String name = "";
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0)