- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,181 for hash_code (1.26 sec)
-
guava/src/com/google/common/collect/RegularImmutableMultiset.java
int index = 0; int hashCode = 0; long size = 0; for (Entry<? extends E> entryWithWildcard : entries) { @SuppressWarnings("unchecked") // safe because we only read from it Entry<E> entry = (Entry<E>) entryWithWildcard; E element = checkNotNull(entry.getElement()); int count = entry.getCount(); int hash = element.hashCode(); int bucket = Hashing.smear(hash) & mask;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 6.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/local/model/TransformedComponentFileArtifactIdentifierTest.groovy
then: id == same id.hashCode() == same.hashCode() id != different1 id.hashCode() != different1.hashCode() id != different2 id.hashCode() != different2.hashCode() id != different3 id.hashCode() != different3.hashCode() } ComponentIdentifier newComponentId(String id) { Mock(ComponentIdentifier) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:42 UTC 2023 - 2.3K bytes - Viewed (0) -
okhttp/src/main/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: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultCompositeExclude.java
return false; } DefaultCompositeExclude that = (DefaultCompositeExclude) o; return hashCode == that.hashCode && Objects.equal(components, that.components); } @Override public int hashCode() { return hashCode; } @Override public Set<ExcludeSpec> getComponents() { return components; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/FileSystemLocationFingerprint.java
*/ public interface FileSystemLocationFingerprint extends Comparable<FileSystemLocationFingerprint>, Hashable { HashCode DIR_SIGNATURE = Hashing.signature("DIR"); HashCode MISSING_FILE_SIGNATURE = Hashing.signature("MISSING"); String getNormalizedPath(); HashCode getNormalizedContentHash(); FileType getType();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/internal/component/external/model/DefaultModuleComponentSelector.java
this.hashCode = computeHashcode(module, version, attributes, requestedCapabilities); } private int computeHashcode(ModuleIdentifier module, ImmutableVersionConstraint version, ImmutableAttributes attributes, ImmutableList<Capability> requestedCapabilities) { int hashCode = version.hashCode(); hashCode = 31 * hashCode + module.hashCode(); hashCode = 31 * hashCode + attributes.hashCode();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 8.5K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/model/internal/type/ParameterizedTypeWrapper.java
int hashCode = rawType.hashCode(); for (TypeWrapper actualTypeArgument : actualTypeArguments) { hashCode ^= actualTypeArgument.hashCode(); } if (ownerType != null) { hashCode ^= ownerType.hashCode(); } return hashCode; } public TypeWrapper getRawType() { return rawType; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 11 21:42:04 UTC 2018 - 7.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/excludes/simple/DefaultIvyPatternMatcherExcludeRuleSpec.java
return hashCode == that.hashCode && isArtifactExclude == that.isArtifactExclude && Objects.equal(moduleId, that.moduleId) && Objects.equal(ivyArtifactName, that.ivyArtifactName) && Objects.equal(matcher, that.matcher); } @Override public int hashCode() { return hashCode; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Nov 07 18:43:39 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java
dummy += Objects.hashCode(S0, S1, S2, S3); } return dummy; } @Benchmark int hashString_5(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(S0, S1, S2, S3, S4); } return dummy; } @Benchmark int hashMixed_5(int reps) { int dummy = 0; for (int i = 0; i < reps; i++) { dummy += Objects.hashCode(I2, S1, D1, S2, I0);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 2.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/impl/ImplementationSnapshot.java
String className = type.getName(); HashCode classLoaderHash = classLoaderHasher.getClassLoaderHash(type.getClassLoader()); return of(className, classLoaderHash, isLambdaClass(type), null); } public static ImplementationSnapshot of(String className, @Nullable HashCode classLoaderHash) { return of(className, classLoaderHash, isLambdaClassName(className), null); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 26 22:53:34 UTC 2024 - 3.5K bytes - Viewed (0)