Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 995 for asSnapshot (0.16 sec)

  1. subprojects/core/src/test/groovy/org/gradle/util/VersionNumberTest.groovy

            VersionNumber.parse("1-rc1-SNAPSHOT") == new VersionNumber(1, 0, 0, "rc1-SNAPSHOT")
            VersionNumber.parse("1.2-rc1-SNAPSHOT") == new VersionNumber(1, 2, 0, "rc1-SNAPSHOT")
            VersionNumber.parse("1.2.3-rc1-SNAPSHOT") == new VersionNumber(1, 2, 3, "rc1-SNAPSHOT")
    
            VersionNumber.parse("1.rc1-SNAPSHOT") == new VersionNumber(1, 0, 0, "rc1-SNAPSHOT")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:54:04 UTC 2021
    - 7.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rocache/SnapshotVersionsReadOnlyCacheDependencyResolutionTest.groovy

        MavenHttpModule snapshot
    
        @Override
        List<MavenHttpModule> getModulesInReadOnlyCache(MavenHttpRepository repo) {
            [
                snapshot = repo.module("org.module", "core", "1.0-SNAPSHOT"),
            ]
        }
    
        def "latest version is fetched from writable cache"() {
            given:
            def latest = snapshot.publishWithChangedContent()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializerTest.groovy

    import org.gradle.internal.serialize.SerializerSpec
    import org.gradle.internal.snapshot.CompositeFileSystemSnapshot
    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
    
    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/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/SnapshotUtil.java

                return ImmutableListMultimap.of();
            }
            ImmutableListMultimap.Builder<String, HashCode> builder = ImmutableListMultimap.builder();
            roots.accept(snapshot -> {
                builder.put(snapshot.getAbsolutePath(), snapshot.getHash());
                return SnapshotVisitResult.SKIP_SUBTREE;
            });
            return builder.build();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/AbstractVirtualFileSystem.java

            FileSystemLocationSnapshot snapshot = snapshotSupplier.get();
            storeIfUnchanged(absolutePath, versionBefore, snapshot);
            return snapshot;
        }
    
        @Override
        public <T> T store(String baseLocation, StoringAction<T> storingAction) {
            long versionBefore = versionHierarchyRoot.getVersion(baseLocation);
            return storingAction.snapshot(snapshot -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/SnapshotterFixture.groovy

                        : temporaryFolder.file(it)
                }
                def snapshot = snapshotter.snapshot(TestFiles.fixed(files)).snapshot
                builder.put(propertyName, snapshot)
            }
            return builder.build()
        }
    
        FileSystemLocationSnapshot snapshot(File file) {
            snapshotter.snapshot(TestFiles.fixed(file)).snapshot as FileSystemLocationSnapshot
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:32 UTC 2023
    - 2K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/RelativePathFingerprintingStrategy.java

                        } else {
                            return SnapshotVisitResult.CONTINUE;
                        }
                    } else {
                        fingerprint = fingerprint(stringInterner.intern(relativePath.toRelativePath()), snapshot.getType(), snapshot);
                    }
    
                    if (fingerprint != null) {
                        builder.put(absolutePath, fingerprint);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  8. platforms/software/antlr/src/integTest/groovy/org/gradle/api/plugins/antlr/IncrementalAntlrTaskIntegrationTest.groovy

            when:
            def test1TokensFileSnapshot = test1TokenFile.snapshot()
            def test1LexerFileSnapshot = test1LexerFile.snapshot()
            def test1ParserFileSnapshot = test1ParserFile.snapshot()
    
            def test2TokensFileSnapshot = test2TokenFile.snapshot()
            def test2LexerFileSnapshot = test2LexerFile.snapshot()
            def test2ParserFileSnapshot = test2ParserFile.snapshot()
    
            changedGrammar("Test2")
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/CompilationOutputsFixture.groovy

            this.includeExtensions = includeExtensions
        }
    
        private List<File> snapshot = []
    
        // Executes optional operation and makes a snapshot of outputs (sets the last modified timestamp to zero for all files)
        public <T> T snapshot(Closure<T> operation = null) {
            T result = operation?.call()
            snapshot.clear()
            targetDir.eachFileRecurse(FileType.FILES) {
                if (isIncluded(it)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/RemoteSnapshotMetadata.java

            int number = 0;
    
            Versioning versioning = metadata.getVersioning();
            if (versioning != null) {
                Snapshot snapshot = versioning.getSnapshot();
                if (snapshot != null && snapshot.getBuildNumber() > 0) {
                    number = snapshot.getBuildNumber();
                }
            }
    
            return number;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top