- Sort Score
- Result 10 results
- Languages All
Results 151 - 160 of 491 for hashCodes (0.14 sec)
-
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 Sep 05 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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/hash/HashingOutputStream.java
hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /** * Returns the {@link HashCode} based on the data written to this stream. The result is * unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingList.java
} @Override public boolean equals(@Nullable Object object) { return object == this || delegate().equals(object); } @Override public int hashCode() { return delegate().hashCode(); } /** * A sensible default implementation of {@link #add(Object)}, in terms of {@link #add(int, * Object)}. If you override {@link #add(int, Object)}, you may wish to override {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessUserLocaleProcessProvider.java
// ============== @Override public String toString() { final String hash = Integer.toHexString(hashCode()); return DfTypeUtil.toClassTitle(this) + ":{acceptCookieLocale=" + isAcceptCookieLocale() + "}@" + hash; }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java
try { SerializableTester.reserializeAndAssert(orig); errorNotThrown = true; } catch (AssertionFailedError error) { // expected assertContains("must be equal to the Object#hashCode", error.getMessage()); } assertFalse(errorNotThrown); } public void testObjectWhichIsEqualButChangesClass() { ObjectWhichIsEqualButChangesClass orig = new ObjectWhichIsEqualButChangesClass();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/HashingOutputStream.java
hasher.putBytes(bytes, off, len); out.write(bytes, off, len); } /** * Returns the {@link HashCode} based on the data written to this stream. The result is * unspecified if this method is called more than once on the same instance. */ public HashCode hash() { return hasher.hash(); } // Overriding close() because FilterOutputStream's close() method pre-JDK8 has bad behavior:
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/Striped.java
* java.util.HashMap class. */ // Copied from java/com/google/common/collect/Hashing.java private static int smear(int hashCode) { hashCode ^= (hashCode >>> 20) ^ (hashCode >>> 12); return hashCode ^ (hashCode >>> 7) ^ (hashCode >>> 4); } private static final class PaddedLock extends ReentrantLock { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 20.6K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbFileHandleImpl.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.4K bytes - Viewed (1) -
android/guava/src/com/google/common/hash/Hasher.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 5.5K bytes - Viewed (0)