- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 585 for hashCode (0.05 sec)
-
compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Mon Sep 29 14:45:25 UTC 2025 - 5.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Address.kt
equalsNonHost(other) override fun hashCode(): Int { var result = 17 result = 31 * result + url.hashCode() result = 31 * result + dns.hashCode() result = 31 * result + proxyAuthenticator.hashCode() result = 31 * result + protocols.hashCode() result = 31 * result + connectionSpecs.hashCode() result = 31 * result + proxySelector.hashCode() result = 31 * result + Objects.hashCode(proxy)
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableBiMap.java
int hashCode = 0; for (int i = 0; i < n; i++) { // requireNonNull is safe because the first `n` elements have been filled in. Entry<K, V> entry = requireNonNull(entryArray[i]); K key = entry.getKey(); V value = entry.getValue(); checkEntryNotNull(key, value); int keyHash = key.hashCode(); int valueHash = value.hashCode();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 11K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapHashCodeTester.java
assertEquals( "A Map's hashCode() should be the sum of those of its entries (where " + "a null element in an entry counts as having a hash of zero).", expectedHashCode, getMap().hashCode()); } private static int hash(Entry<?, ?> e) { return (e.getKey() == null ? 0 : e.getKey().hashCode()) ^ (e.getValue() == null ? 0 : e.getValue().hashCode()); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
override fun hashCode(): Int { var result = 17 result = 31 * result + name.hashCode() result = 31 * result + value.hashCode() result = 31 * result + expiresAt.hashCode() result = 31 * result + domain.hashCode() result = 31 * result + path.hashCode() result = 31 * result + secure.hashCode() result = 31 * result + httpOnly.hashCode()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
} /* * equals() and hashCode() are more specific in the Set contract. */ @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return (this.size() == that.size()) && this.containsAll(that); } return false; } @Override public int hashCode() { int hashCodeSum = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/MinimalSet.java
} /* * equals() and hashCode() are more specific in the Set contract. */ @Override public boolean equals(@Nullable Object object) { if (object instanceof Set) { Set<?> that = (Set<?>) object; return (this.size() == that.size()) && this.containsAll(that); } return false; } @Override public int hashCode() { int hashCodeSum = 0;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
sink.putByte((byte) 7); sink.putBytes(new byte[] {}); sink.putBytes(new byte[] {8}); HashCode unused = sink.hash(); sink.assertInvariants(8); sink.assertBytes(expected); } public void testShort() { Sink sink = new Sink(4); sink.putShort((short) 0x0201); HashCode unused = sink.hash(); sink.assertInvariants(2); sink.assertBytes(new byte[] {1, 2, 0, 0}); // padded with zeros
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 8.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java
int hash = 17; hash = hash * 31 + groupId.hashCode(); hash = hash * 31 + artifactId.hashCode(); hash = hash * 31 + version.hashCode(); hash = hash * 31 + hash(workspace); hash = hash * 31 + localRepo.hashCode(); hash = hash * 31 + RepositoryUtils.repositoriesHashCode(repositories); this.hashCode = hash; } @OverrideRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 5.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/Tuple4.java
} @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((value1 == null) ? 0 : value1.hashCode()); result = prime * result + ((value2 == null) ? 0 : value2.hashCode()); result = prime * result + ((value3 == null) ? 0 : value3.hashCode()); result = prime * result + ((value4 == null) ? 0 : value4.hashCode());Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 5.5K bytes - Viewed (0)