Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for appendToHasher (0.18 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

            beforeExecutionState.getImplementation().appendToHasher(cacheKeyHasher);
    
            beforeExecutionState.getAdditionalImplementations().forEach(additionalImplementation -> {
                logger.warn("Appending additional implementation to build cache key: {}",
                    additionalImplementation);
                additionalImplementation.appendToHasher(cacheKeyHasher);
            });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

                    // Same serialized content - value has not changed
                    return true;
                }
            }
            return false;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (equals(snapshot)) {
                return this;
            }
            return snapshot;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
                hasher.putNull();
            } else {
                hasher.putHash(implementationHash);
            }
            hasher.putBytes(serializedValue);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 12:37:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/EnumValueSnapshot.java

                return enumValue.name().equals(name) && enumValue.getDeclaringClass().getName().equals(className);
            }
            return false;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            hasher.putString(className);
            hasher.putString(name);
        }
    
        @Override
        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:30:43 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java

                    return hash;
                default:
                    throw new IllegalStateException("Unknown file type: " + fileType);
            }
        }
    
        @Override
        public final void appendToHasher(Hasher hasher) {
            hasher.putString(getNormalizedPath());
            hasher.putHash(getNormalizedContentHash());
        }
    
        @Override
        public FileType getType() {
    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. subprojects/core/src/main/java/org/gradle/internal/scripts/BuildScriptCompilationAndInstrumentation.java

            Hasher hasher = Hashing.newHasher();
            identityInputs.values().forEach(value -> requireNonNull(value).appendToHasher(hasher));
            String identity = hasher.hash().toString();
            return () -> identity;
        }
    
        @Override
        @OverridingMethodsMustInvokeSuper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top