Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,019 for hash_code (0.57 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java

    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    
    public class DefaultFileSystemLocationFingerprint implements FileSystemLocationFingerprint {
        private final HashCode normalizedContentHash;
        private final String normalizedPath;
    
        public DefaultFileSystemLocationFingerprint(String normalizedPath, FileType type, HashCode contentHash) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/metadata/DefaultMetadataFileSourceCodec.java

            ModuleComponentArtifactIdentifier artifactId = createArtifactId(group, module, version, name);
            HashCode hashCode = HashCode.fromBytes(sha1);
            File metadataFile = fileStore.whereIs(artifactId, hashCode.toString());
            return new DefaultMetadataFileSource(
                artifactId,
                metadataFile,
                hashCode);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/ModuleComponentAtRepositoryKey.java

        private final ModuleComponentIdentifier componentId;
        private final int hashCode;
    
        ModuleComponentAtRepositoryKey(String repositoryId, ModuleComponentIdentifier componentId) {
            this.repositoryId = repositoryId;
            this.componentId = componentId;
            this.hashCode = 31 * repositoryId.hashCode() + componentId.hashCode();
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/repositories/resolver/MavenUniqueSnapshotComponentIdentifier.java

            this.timestamp = timestamp;
            this.hashCode = super.hashCode() + timestamp.hashCode();
        }
    
        @Override
        public boolean equals(Object o) {
            return super.equals(o) && ((MavenUniqueSnapshotComponentIdentifier) o).timestamp.equals(timestamp);
        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        @Override
        public String getDisplayName() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 10:27:56 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/DefaultExtensionRealmCache.java

                    ids.add(artifact.getVersion());
                }
    
                this.hashCode =
                        31 * files.hashCode() + 31 * ids.hashCode() + 31 * timestamps.hashCode() + 31 * sizes.hashCode();
            }
    
            @Override
            public int hashCode() {
                return hashCode;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top