Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for DefaultFileSystemLocationFingerprint (0.63 sec)

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

    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    
    public class DefaultFileSystemLocationFingerprint implements FileSystemLocationFingerprint {
        private final HashCode normalizedContentHash;
        private final String normalizedPath;
    
        public DefaultFileSystemLocationFingerprint(String normalizedPath, FileType type, HashCode contentHash) {
    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. subprojects/core/src/testFixtures/groovy/org/gradle/api/internal/tasks/AbstractSnapshotInputsBuildOperationResultTest.groovy

                            '/foo/one.txt': new DefaultFileSystemLocationFingerprint('/foo/one.txt', FileType.RegularFile, TestHashCodes.hashCodeFrom(123)),
                            '/foo/sub/two.txt': new DefaultFileSystemLocationFingerprint('/foo/sub/two.txt', FileType.RegularFile, TestHashCodes.hashCodeFrom(234)),
                            '/foo': new DefaultFileSystemLocationFingerprint('/foo', FileType.Directory, TestHashCodes.hashCodeFrom(123)),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jul 07 15:16:07 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileCollectionFingerprintSerializerTest.groovy

            def out = serialize(new SerializableFileCollectionFingerprint(
                "/3": new DefaultFileSystemLocationFingerprint('3', FileType.RegularFile, TestHashCodes.hashCodeFrom(1234)),
                "/2": new DefaultFileSystemLocationFingerprint('/2', FileType.RegularFile, TestHashCodes.hashCodeFrom(5678)),
                "/1": new DefaultFileSystemLocationFingerprint('1', FileType.Missing, FileSystemLocationFingerprint.MISSING_FILE_SIGNATURE),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ZipHasher.java

            if (hash != null) {
                fingerprints.add(new DefaultFileSystemLocationFingerprint(zipEntryContext.getFullName(), FileType.RegularFile, hash));
            }
        }
    
        private DefaultFileSystemLocationFingerprint newZipMarker(String relativePath) {
            return new DefaultFileSystemLocationFingerprint(relativePath, FileType.RegularFile, EMPTY_HASH_MARKER);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/OutputFileChanges.java

                }
            );
            return result;
        }
    
        private static DefaultFileSystemLocationFingerprint createFingerprint(RelativePathSupplier relativePath, FileSystemLocationSnapshot snapshot) {
            return createFingerprint(relativePath.toRelativePath(), snapshot);
        }
    
        private static DefaultFileSystemLocationFingerprint createRootFingerprint(FileSystemLocationSnapshot snapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FingerprintMapSerializer.java

    import com.google.common.collect.Interner;
    import org.gradle.internal.file.FileType;
    import org.gradle.internal.fingerprint.FileSystemLocationFingerprint;
    import org.gradle.internal.fingerprint.impl.DefaultFileSystemLocationFingerprint;
    import org.gradle.internal.fingerprint.impl.IgnoredPathFileSystemLocationFingerprint;
    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.serialize.AbstractSerializer;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/FingerprintCompareStrategyTest.groovy

            def fingerprint = Mock(FileCollectionFingerprint) {
                getFingerprints() >> [
                    "file1.txt": new DefaultFileSystemLocationFingerprint("file1.txt", FileType.RegularFile, TestHashCodes.hashCodeFrom(123)),
                    "file2.txt": new DefaultFileSystemLocationFingerprint("file2.txt", FileType.RegularFile, TestHashCodes.hashCodeFrom(234)),
                ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  8. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/ClasspathCompareStrategyTest.groovy

        }
    
        def fingerprint(String normalizedPath, def hashCode = 0x1234abcd) {
            return new DefaultFileSystemLocationFingerprint(normalizedPath, FileType.RegularFile, TestHashCodes.hashCodeFrom((int) hashCode))
        }
    
        def jar(int hashCode) {
            return new DefaultFileSystemLocationFingerprint("", FileType.RegularFile, TestHashCodes.hashCodeFrom(hashCode))
        }
    
        def added(String path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  9. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbsolutePathFingerprintingStrategy.java

                        if (normalizedContentHash != null) {
                            builder.put(absolutePath, new DefaultFileSystemLocationFingerprint(snapshot.getAbsolutePath(), snapshot.getType(), normalizedContentHash));
                        }
                    }
                }
            });
            return builder.build();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/NameOnlyFingerprintingStrategy.java

                            if (normalizedContentHash != null) {
                                builder.put(absolutePath, new DefaultFileSystemLocationFingerprint(snapshot.getName(), snapshot.getType(), normalizedContentHash));
                            }
                        }
                    }
                }
            });
            return builder.build();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top