Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for putHash (0.41 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/InstrumentingClasspathFileTransformer.java

            hasher.putInt(AsmConstants.MAX_SUPPORTED_JAVA_VERSION);
            gradleCoreInstrumentationTypeRegistry.getInstrumentedTypesHash().ifPresent(hasher::putHash);
            gradleCoreInstrumentationTypeRegistry.getUpgradedPropertiesHash().ifPresent(hasher::putHash);
            classpathElementTransformFactory.applyConfigurationTo(hasher);
            transform.applyConfigurationTo(hasher);
            return hasher.hash();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 27 13:36:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hashing.java

                hasher.putInt(len);
                hasher.putBytes(bytes, off, len);
            }
    
            @Override
            public void putHash(HashCode hashCode) {
                hasher.putInt(hashCode.length());
                hasher.putHash(hashCode);
            }
    
            @Override
            public void putInt(int value) {
                hasher.putInt(4);
                hasher.putInt(value);
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:30 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/Hasher.java

        void putBoolean(boolean value);
    
        /**
         * Feed a string into the hasher.
         */
        void putString(CharSequence value);
    
        /**
         * Feed a hash code into the hasher.
         */
        void putHash(HashCode hashCode);
    
        /**
         * Puts a hashable value into the hasher.
         */
        void put(Hashable hashable);
    
        /**
         * Feed a {@code null} value into the hasher.
         */
        void putNull();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 11:14:18 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

            }
            return false;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java

            }
        }
    
        @Override
        public final void appendToHasher(Hasher hasher) {
            hasher.putString(getNormalizedPath());
            hasher.putHash(getNormalizedContentHash());
        }
    
        @Override
        public FileType getType() {
            if (normalizedContentHash.equals(DIR_SIGNATURE)) {
                return FileType.Directory;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

            return snapshot;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

                    propertyName, fingerprint.getHash(), fingerprint);
                cacheKeyHasher.putString(propertyName);
                cacheKeyHasher.putHash(fingerprint.getHash());
            });
    
            beforeExecutionState.getOutputFileLocationSnapshots().keySet().forEach(propertyName -> {
                logger.warn("Appending output property name to build cache key: {}", propertyName);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheKey.kt

            }
    
            putBoolean(startParameter.isOffline)
            putBoolean(startParameter.isIsolatedProjects)
            putBuildScan()
            putBoolean(encryptionConfiguration.isEncrypting)
            putHash(encryptionConfiguration.encryptionKeyHashCode)
        }
    
        private
        fun Hasher.putBuildScan() {
            putByte(
                startParameter.run {
                    when {
                        isNoBuildScan -> 0
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                    if (snapshot.getType() == FileType.Missing) {
                        return null;
                    }
    
                    hasher.putHash(snapshot.getHash());
                    hasher.putString(file.getName());
                    return hasher.hash().toString();
                });
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

            }
            for (Map.Entry<String, CurrentFileCollectionFingerprint> entry : result.getFileFingerprints().entrySet()) {
                hasher.putString(entry.getKey());
                hasher.putHash(entry.getValue().getHash());
            }
        }
    
        private static String getParameterObjectDisplayName(Object parameterObject) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
Back to top