Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for RegularFileSnapshot (0.7 sec)

  1. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOverlappingOutputDetectorTest.groovy

    import org.gradle.internal.snapshot.DirectorySnapshot
    import org.gradle.internal.snapshot.FileSystemSnapshot
    import org.gradle.internal.snapshot.MissingFileSnapshot
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import spock.lang.Specification
    
    class DefaultOverlappingOutputDetectorTest extends Specification {
        def detector = new DefaultOverlappingOutputDetector()
    
        def "detects no overlap when there are none"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/IgnoringResourceHasherTest.groovy

    import org.gradle.internal.hash.TestHashCodes
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import spock.lang.Specification
    
    class IgnoringResourceHasherTest extends Specification {
        def delegate = Mock(ResourceHasher)
        def resourceFilter = Mock(ResourceFilter)
        def hasher = new IgnoringResourceHasher(delegate, resourceFilter)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  3. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/AbiExtractingClasspathResourceHasherTest.groovy

    import org.gradle.internal.hash.HashCode
    import org.gradle.internal.hash.Hashing
    import org.gradle.internal.normalization.java.ApiClassExtractor
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import org.junit.Rule
    import org.junit.rules.TemporaryFolder
    import spock.lang.Issue
    import spock.lang.Specification
    
    class AbiExtractingClasspathResourceHasherTest extends Specification {
        @Rule
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/NonIncrementalInputChangesTest.groovy

    import org.gradle.internal.hash.TestHashCodes
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import spock.lang.Specification
    
    class NonIncrementalInputChangesTest extends Specification {
    
        def "can iterate changes more than once"() {
            def fingerprint = DefaultCurrentFileCollectionFingerprint.from(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy

    import org.gradle.internal.snapshot.DirectorySnapshot
    import org.gradle.internal.snapshot.FileSystemSnapshot
    import org.gradle.internal.snapshot.MissingFileSnapshot
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import org.gradle.internal.snapshot.TestSnapshotFixture
    
    import static org.gradle.internal.file.FileMetadata.AccessType.DIRECT
    import static org.gradle.internal.file.FileMetadata.AccessType.VIA_SYMLINK
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

                builder.put(snapshot.getAbsolutePath(), snapshot.getHash());
                return SnapshotVisitResult.SKIP_SUBTREE;
            });
            return builder.build();
        }
    
        /**
         * For a {@link RegularFileSnapshot} returns the file length, otherwise {@code 0}.
         */
        public static long getLength(FileSystemLocationSnapshot snapshot) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingFileSystemLocationSnapshotHasherTest.groovy

            RuntimeException | RuntimeException
        }
    
        File file(String path) {
            return new File(tempDir, path)
        }
    
        RegularFileSnapshot snapshot(File file, FileType fileType = FileType.RegularFile) {
            return Mock(RegularFileSnapshot) {
                getAbsolutePath() >> file.absolutePath
                getType() >> fileType
                getHash() >> Hashing.hashFile(file)
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ZipHasher.java

    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hasher;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.snapshot.RegularFileSnapshot;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import javax.annotation.Nullable;
    import java.io.File;
    import java.io.IOException;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/normalization/KotlinCompileClasspathFingerprinter.kt

    import org.gradle.internal.fingerprint.classpath.impl.ClasspathFingerprintingStrategy
    import org.gradle.internal.fingerprint.impl.AbstractFileCollectionFingerprinter
    import org.gradle.internal.snapshot.RegularFileSnapshot
    import org.gradle.kotlin.dsl.support.loggerFor
    
    
    internal
    class KotlinCompileClasspathFingerprinter(
        cacheService: ResourceSnapshotterCacheService,
        fileCollectionSnapshotter: FileCollectionSnapshotter,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  10. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

    import org.gradle.internal.snapshot.FileSystemSnapshot;
    import org.gradle.internal.snapshot.MissingFileSnapshot;
    import org.gradle.internal.snapshot.PathUtil;
    import org.gradle.internal.snapshot.RegularFileSnapshot;
    import org.gradle.internal.snapshot.RootTrackingFileSystemSnapshotHierarchyVisitor;
    import org.gradle.internal.snapshot.SnapshotVisitResult;
    
    import java.io.File;
    import java.io.IOException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top