- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 491 for hashCodes (0.04 sec)
-
guava/src/com/google/common/base/Predicates.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMapEntry.java
/** * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link * #getValue()}. If you override either of these methods, you may wish to override {@link * #hashCode()} to forward to this implementation. * * @since 7.0 */ protected int standardHashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/graph/InvalidatableSet.java
this.validator = validator; this.errorMessage = errorMessage; } // Override hashCode() to access delegate directly (so that it doesn't trigger the validate() call // via delegate()); it seems inappropriate to throw ISE on this method. @Override public int hashCode() { return delegate.hashCode(); } private void validate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/MacHashFunctionTest.java
Mac mac = Mac.getInstance("HmacMD5"); mac.init(MD5_KEY); mac.update(input.getBytes(UTF_8)); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString()); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal(input.getBytes(UTF_8))).toString()); assertEquals(knownOutput, Hashing.hmacMd5(MD5_KEY).hashString(input, UTF_8).toString());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
} public void testAsListHashcode() { assertThat(Booleans.asList(EMPTY).hashCode()).isEqualTo(1); assertThat(Booleans.asList(ARRAY_FALSE).hashCode()) .isEqualTo(Booleans.asList(ARRAY_FALSE).hashCode()); List<Boolean> reference = Booleans.asList(ARRAY_FALSE); assertThat(reference.hashCode()).isEqualTo(Booleans.asList(ARRAY_FALSE).hashCode()); } public void testAsListToString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapEntry.java
&& Objects.equals(this.getValue(), that.getValue()); } return false; } @Override public int hashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); } /** Returns a string representation of the form {@code {key}={value}}. */ @Override public String toString() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 1.9K bytes - Viewed (0) -
src/test/java/jcifs/netbios/NameTest.java
int hash1 = name.hashCode(); int hash2 = name.hashCode(); assertEquals(hash1, hash2); } @Test void hashCode_withSameValues_shouldBeEqual() { Name name1 = new Name(mockConfig, "TEST", 0x20, "scope"); Name name2 = new Name(mockConfig, "TEST", 0x20, "scope"); assertEquals(name1.hashCode(), name2.hashCode()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMapEntry.java
/** * A sensible definition of {@link #hashCode()} in terms of {@link #getKey()} and {@link * #getValue()}. If you override either of these methods, you may wish to override {@link * #hashCode()} to forward to this implementation. * * @since 7.0 */ protected int standardHashCode() { K k = getKey(); V v = getValue(); return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 4.3K bytes - Viewed (0) -
guava/src/com/google/common/base/Functions.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 15.4K bytes - Viewed (0)