Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for putHash (0.24 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
    
            PutTask putTask = new PutTask(target);
            putTask.setDataPath(source);
            try {
                transporter.put(putTask);
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
    
        @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 16:33:18 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top