Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,472 for asSnapshot (0.18 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy

            renderer.enableUserStandardOutputListeners()
            renderer.addStandardOutputListener(listener)
            renderer.configure(LogLevel.INFO)
            def snapshot = renderer.snapshot()
            renderer.configure(LogLevel.DEBUG)
    
            when:
            renderer.restore(snapshot)
            renderer.onOutput(event('info', LogLevel.INFO))
            renderer.onOutput(event('debug', LogLevel.DEBUG))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 01 19:25:32 UTC 2024
    - 17.8K 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-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

        public byte[] getValue() {
            return serializedValue;
        }
    
        @Override
        public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (equals(snapshot)) {
                return this;
            }
            return snapshot;
        }
    
        @Override
        public void appendToHasher(Hasher hasher) {
            if (implementationHash == null) {
    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-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)
  5. 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)
  6. 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)
  7. 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)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

    import org.gradle.internal.snapshot.FileSystemLocationSnapshot;
    import org.gradle.internal.snapshot.FileSystemSnapshot;
    import org.gradle.internal.snapshot.MissingFileSnapshot;
    import org.gradle.internal.snapshot.RegularFileSnapshot;
    import org.gradle.internal.snapshot.SnapshottingFilter;
    import org.gradle.internal.snapshot.impl.DirectorySnapshotter;
    import org.gradle.internal.snapshot.impl.DirectorySnapshotterStatistics;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top