- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 213 for HashCode (0.32 sec)
-
android/guava/src/com/google/common/hash/HashCode.java
* byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this * array or else you will break the immutability contract of {@code HashCode}. */ byte[] getBytesInternal() { return asBytes(); } /** * Returns whether this {@code HashCode} and that {@code HashCode} have the same value, given that
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/CertificatePinner.kt
if (hash != other.hash) return false return true } override fun hashCode(): Int { var result = pattern.hashCode() result = 31 * result + hashAlgorithm.hashCode() result = 31 * result + hash.hashCode() return result } } /** Builds a configured certificate pinner. */ class Builder {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 14.1K bytes - Viewed (1) -
src/test/java/org/codelibs/fess/dict/mapping/CharMappingItemTest.java
// Same inputs and output should have same hash code assertEquals(item1.hashCode(), item2.hashCode()); // Different inputs should have different hash code assertNotSame(item1.hashCode(), item3.hashCode()); // Same inputs but different output should have different hash code assertNotSame(item1.hashCode(), item4.hashCode()); } public void test_equals() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
result = 31 * result + a.getGroupId().hashCode(); result = 31 * result + a.getArtifactId().hashCode(); result = 31 * result + a.getType().hashCode(); if (a.getVersion() != null) { result = 31 * result + a.getVersion().hashCode(); } result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 11.8K bytes - Viewed (0) -
src/test/java/jcifs/netbios/UniAddressTest.java
UniAddress uniAddress1 = new UniAddress(inetAddress1); assertEquals(inetAddress1.hashCode(), uniAddress1.hashCode()); UniAddress uniAddress2 = new UniAddress(nbtAddress1); assertEquals(nbtAddress1.hashCode(), uniAddress2.hashCode()); } @Test void equalsShouldReturnTrueForSameWrappedAddress() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/NameServiceClient.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractEntity.java
// #pending hashCode(), equals() @Override public int instanceHash() { return super.hashCode(); } @Override public String toString() { return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode()); } protected abstract String doBuildColumnString(String dm);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 11K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/log/allcommon/EsAbstractEntity.java
// #pending hashCode(), equals() @Override public int instanceHash() { return super.hashCode(); } @Override public String toString() { return getClass().getSimpleName() + ":" + doBuildColumnString(", ") + "@" + Integer.toHexString(hashCode()); } protected abstract String doBuildColumnString(String dm);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
@Test @DisplayName("equals and hashCode for equal and non-equal SIDs") void testEqualsAndHashCode() throws Exception { SID a1 = new SID("S-1-5-21-1-2-3-4"); SID a2 = new SID("S-1-5-21-1-2-3-4"); SID b = new SID("S-1-5-21-1-2-3-5"); assertEquals(a1, a2); assertEquals(a1.hashCode(), a2.hashCode()); assertNotEquals(a1, b);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K 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)