Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getNormalizedContentHash (0.57 sec)

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

        }
    
        @Override
        public HashCode getNormalizedContentHash() {
            return normalizedContentHash;
        }
    
        @Override
        public final int compareTo(FileSystemLocationFingerprint o) {
            int result = getNormalizedPath().compareTo(o.getNormalizedPath());
            if (result == 0) {
                result = getNormalizedContentHash().compareTo(o.getNormalizedContentHash());
            }
            return result;
        }
    
    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/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbsolutePathFingerprintCompareStrategy.java

        private AbsolutePathFingerprintCompareStrategy() {
            super(new AbsolutePathChangeDetector<>(
                (previous, current) -> previous.getNormalizedContentHash().equals(current.getNormalizedContentHash()),
                FINGERPRINT_CHANGE_FACTORY
            ));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/AbstractFingerprintCompareStrategy.java

            }
    
            @Override
            public boolean hasSameContent(FileSystemLocationFingerprint previous, FileSystemLocationFingerprint current) {
                return previous.getNormalizedContentHash().equals(current.getNormalizedContentHash());
            }
        };
    
        public AbstractFingerprintCompareStrategy(ChangeDetector<FileSystemLocationFingerprint> changeDetector) {
            super(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/IgnoredPathCompareStrategy.java

                String absolutePath = entry.getKey();
                FileSystemLocationFingerprint previousFingerprint = entry.getValue();
                unaccountedForPreviousFiles.put(previousFingerprint.getNormalizedContentHash(), new FilePathWithType(absolutePath, previousFingerprint.getType()));
            }
    
            for (Map.Entry<String, FileSystemLocationFingerprint> entry : current.entrySet()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFileSystemLocationFingerprint.java

            this.normalizedContentHash = normalizedContentHash;
        }
    
        @Override
        public String getNormalizedPath() {
            return "";
        }
    
        @Override
        public HashCode getNormalizedContentHash() {
            return normalizedContentHash;
        }
    
        @Override
        public FileType getType() {
            return type;
        }
    
        @Override
        public int compareTo(FileSystemLocationFingerprint o) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/ClasspathCompareStrategy.java

                    if (!currentNormalizedPath.equals(previousNormalizedPath)) {
                        removed();
                        added();
                    } else if (currentFingerprint.getNormalizedContentHash().equals(previousFingerprint.getNormalizedContentHash())) {
                        current = nextEntry(currentEntries);
                        previous = nextEntry(previousEntries);
                    } else if (currentNormalizedPath.isEmpty()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/FileSystemLocationFingerprint.java

        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)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/IgnoredPathFingerprintingStrategy.java

                public void visitAcceptedEntry(FileSystemLocationSnapshot snapshot, boolean isRoot) {
                    if (snapshot.getType() != FileType.Directory) {
                        HashCode normalizedContentHash = getNormalizedContentHash(snapshot, normalizedContentHasher);
                        if (normalizedContentHash != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbstractFingerprintingStrategy.java

            return identifier;
        }
    
        @Override
        public CurrentFileCollectionFingerprint getEmptyFingerprint() {
            return emptyFingerprint;
        }
    
        @Nullable
        protected HashCode getNormalizedContentHash(FileSystemLocationSnapshot snapshot, FileSystemLocationSnapshotHasher normalizedContentHasher) {
            try {
                return normalizedContentHasher.hash(snapshot);
            } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbsolutePathFingerprintingStrategy.java

                    String absolutePath = snapshot.getAbsolutePath();
                    if (getDirectorySensitivity().shouldFingerprint(snapshot)) {
                        HashCode normalizedContentHash = getNormalizedContentHash(snapshot, normalizedContentHasher);
                        if (normalizedContentHash != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top