- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 693 for hashcode (0.05 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/TaskSegment.java
} public List<Task> getTasks() { return tasks; } public boolean isAggregating() { return aggregating; } // TODO Consider throwing UnsupportedSomething on hashCode/equalsCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Present.java
if (obj instanceof Present) { Present<?> other = (Present<?>) obj; return reference.equals(other.reference); } return false; } @Override public int hashCode() { return 0x598df91c + reference.hashCode(); } @Override public String toString() { return "Optional.of(" + reference + ")"; } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/Lists.java
/** An implementation of {@link List#hashCode()}. */ static int hashCodeImpl(List<?> list) { // TODO(lowasser): worth optimizing for RandomAccess? int hashCode = 1; for (Object o : list) { hashCode = 31 * hashCode + (o == null ? 0 : o.hashCode()); hashCode = ~~hashCode; // needed to deal with GWT integer overflow } return hashCode; }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 16:38:09 GMT 2026 - 42.5K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
} } override fun equals(other: Any?): Boolean = other is AndroidCertificateChainCleaner && other.trustManager === this.trustManager override fun hashCode(): Int = System.identityHashCode(trustManager) companion object { @SuppressSignatureCheck fun buildIfSupported(trustManager: X509TrustManager): AndroidCertificateChainCleaner? { val extensions =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.7K bytes - Click Count (0) -
compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java
/** * Tests {@code DependencyManagement}. * */ class DependencyManagementTest { @Test void testHashCodeNullSafe() { new DependencyManagement().hashCode(); } @Test void testEqualsNullSafe() { assertFalse(new DependencyManagement().equals(null)); new DependencyManagement().equals(new DependencyManagement()); } @TestCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/TransferResourceIdentifier.java
import org.eclipse.aether.transfer.TransferResource; /** * Immutable identifier of a {@link TransferResource}. * The {@link TransferResource} is not immutable and does not implement {@code Objects#equals} and {@code Objects#hashCode} methods, * making it not very suitable for usage in collections. */ record TransferResourceIdentifier( String repositoryId, String repositoryUrl, String resourceName,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 1.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LegacyComparable.java
LegacyComparable that = (LegacyComparable) object; return this.value.equals(that.value); } return false; } @Override public int hashCode() { return value.hashCode(); } @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 2.5K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/MacHashFunction.java
} private void checkNotDone() { checkState(!done, "Cannot re-use a Hasher after calling hash() on it"); } @Override public HashCode hash() { checkNotDone(); done = true; return HashCode.fromBytesNoCopy(mac.doFinal()); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.6K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/Bytes.java
* * @param value a primitive {@code byte} value * @return a hash code for the value */ @InlineMe(replacement = "Byte.hashCode(value)") @InlineMeValidationDisabled( "The hash code of a byte is the int version of the byte itself, so it's simplest to return" + " that.") public static int hashCode(byte value) { return value; } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 17 15:26:41 GMT 2025 - 15.6K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Challenge.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 15:01:35 GMT 2025 - 3.5K bytes - Click Count (0)