- Sort Score
- Result 10 results
- Languages All
Results 451 - 460 of 491 for hashCodes (0.08 sec)
-
android/guava-tests/test/com/google/common/primitives/IntsTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (int value : VALUES) { assertThat(Ints.hashCode(value)).isEqualTo(Integer.hashCode(value)); } } public void testCheckedCast() { for (int value : VALUES) { assertThat(Ints.checkedCast((long) value)).isEqualTo(value); } assertCastFails(GREATEST + 1L);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/FloatsTest.java
// We need to test that our method behaves like the JDK method. @SuppressWarnings("InlineMeInliner") public void testHashCode() { for (float value : VALUES) { assertThat(Floats.hashCode(value)).isEqualTo(Float.hashCode(value)); } } @SuppressWarnings("InlineMeInliner") // We need to test our method. public void testIsFinite() { for (float value : NUMBERS) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheStats.java
saturatedAdd(loadExceptionCount, other.loadExceptionCount), saturatedAdd(totalLoadTime, other.totalLoadTime), saturatedAdd(evictionCount, other.evictionCount)); } @Override public int hashCode() { return Objects.hash( hitCount, missCount, loadSuccessCount, loadExceptionCount, totalLoadTime, evictionCount); } @Override public boolean equals(@Nullable Object object) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSetTest.java
class TypeWithDuplicates { final int a; final int b; TypeWithDuplicates(int a, int b) { this.a = a; this.b = b; } @Override public int hashCode() { return a; } @Override public boolean equals(@Nullable Object obj) { return obj instanceof TypeWithDuplicates && ((TypeWithDuplicates) obj).a == a; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 14.2K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
long affinityKey = 0; if (message instanceof Smb2ReadRequest) { affinityKey = Arrays.hashCode(((Smb2ReadRequest)message).getFileId()); } else if (message instanceof Smb2WriteRequest) { affinityKey = Arrays.hashCode(((Smb2WriteRequest)message).getFileId()); } if (affinityKey != 0) { // Select channel based on affinity key
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
if (this.supportsTlsExtensions != other.supportsTlsExtensions) return false } return true } override fun hashCode(): Int { var result = 17 if (isTls) { result = 31 * result + (cipherSuitesAsString?.contentHashCode() ?: 0) result = 31 * result + (tlsVersionsAsString?.contentHashCode() ?: 0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/util/QueryResponseListTest.java
QueryResponseList qrList2 = new QueryResponseList(documentList2, 0, 10, 0); assertTrue(qrList1.equals(qrList2)); assertEquals(qrList1.hashCode(), qrList2.hashCode()); // Test with different content Map<String, Object> doc2 = new HashMap<>(); doc2.put("title", "Different"); documentList2.add(doc2);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 07:34:10 UTC 2025 - 39.7K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
*/ static final class TypeVariableKey { private final TypeVariable<?> var; TypeVariableKey(TypeVariable<?> var) { this.var = checkNotNull(var); } @Override public int hashCode() { return Objects.hash(var.getGenericDeclaration(), var.getName()); } @Override public boolean equals(@Nullable Object obj) { if (obj instanceof TypeVariableKey) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 24.2K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/XmlNode.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Sat Jul 19 11:09:56 UTC 2025 - 18.2K bytes - Viewed (0)