Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,452 for hash_code (0.21 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/writer/ChecksumEntry.java

            this.checksumKind = checksumKind;
            this.hashCode = precomputeHashCode();
        }
    
        private int precomputeHashCode() {
            int result = id.hashCode();
            result = 31 * result + getFile().getName().hashCode();
            result = 31 * result + getArtifactKind().hashCode();
            result = 31 * result + checksumKind.hashCode();
            return result;
        }
    
        ChecksumKind getChecksumKind() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

        private final HashCode implementationHash;
        private final byte[] serializedValue;
    
        public JavaSerializedValueSnapshot(@Nullable HashCode implementationHash, byte[] serializedValue) {
            this.implementationHash = implementationHash;
            this.serializedValue = serializedValue;
        }
    
        @Nullable
        public HashCode getImplementationHash() {
            return implementationHash;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/DefaultCachedArtifact.java

    import org.gradle.internal.hash.HashCode;
    
    import java.io.File;
    import java.io.Serializable;
    import java.util.Collections;
    import java.util.List;
    
    public class DefaultCachedArtifact implements CachedArtifact, Serializable {
        private final File cachedFile;
        private final long cachedAt;
        private final HashCode descriptorHash;
        private final List<String> attemptedLocations;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/verification/model/ImmutableArtifactVerificationMetadata.java

        }
    
        @Override
        public int hashCode() {
            return hashCode;
        }
    
        private int computeHashCode() {
            int result = artifactName.hashCode();
            result = 31 * result + checksums.hashCode();
            result = 31 * result + trustedPgpKeys.hashCode();
            result = 31 * result + ignoredPgpKeys.hashCode();
            return result;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/DefaultClassEncoder.kt

                writeClassPath(scope.exportClassPath)
            }
        }
    
        private
        fun WriteContext.writeHashCode(hashCode: HashCode?) {
            if (hashCode == null) {
                writeBoolean(false)
            } else {
                writeBoolean(true)
                writeBinary(hashCode.toByteArray())
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/DefaultClassLoaderCache.java

            }
    
            @Override
            public int hashCode() {
                int result = implementationHash.hashCode();
                result = 31 * result + classPath.hashCode();
                result = 31 * result + (filterSpec != null ? filterSpec.hashCode() : 0);
                result = 31 * result + (parent != null ? parent.hashCode() : 0);
                return result;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFileSystemLocationFingerprint.java

        private final FileType type;
        private final HashCode normalizedContentHash;
    
        public static IgnoredPathFileSystemLocationFingerprint create(FileType type, HashCode contentHash) {
            switch (type) {
                case Directory:
                    return DIRECTORY;
                case Missing:
                    return MISSING_FILE;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/model/NamedObjectInstantiatorTest.groovy

            !n1.is(n2)
    
            n1.name == "a"
            n2.name == "b"
    
            Matchers.strictlyEquals(n1, n1)
            n2 != n1
            !n2.equals(n1)
    
            n1.hashCode() == n1.hashCode()
            n1.hashCode() != n2.hashCode()
    
            n1.toString() == "a"
            n2.toString() == "b"
    
            n1.is(factory.named(Named, "a"))
            n2.is(factory.named(Named, "b"))
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/modulecache/artifacts/TwoStageModuleArtifactCacheTest.groovy

    import org.gradle.internal.hash.HashCode
    import spock.lang.Specification
    import spock.lang.Subject
    
    import java.nio.file.Path
    
    class TwoStageModuleArtifactCacheTest extends Specification {
        Path readOnlyPath = Stub(Path)
        File artifact = Stub(File)
        HashCode hashCode = Stub(HashCode)
        def key = Stub(ArtifactAtRepositoryKey)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-execution/build-cache-local/src/main/java/org/gradle/caching/local/internal/DirectoryBuildCache.java

        }
    
        @Override
        public void withTempFile(HashCode key, Consumer<? super File> action) {
            persistentCache.withFileLock(() -> tempFileStore.withTempFile(key, action));
        }
    
        @Override
        public void close() {
            persistentCache.close();
        }
    
        private File getCacheEntryFile(HashCode key) {
            return new File(persistentCache.getBaseDir(), key.toString());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:53 UTC 2024
    - 7K bytes
    - Viewed (0)
Back to top