Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 1,472 for asSnapshot (0.14 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ValueSnapshot.java

     */
    public interface ValueSnapshot extends Hashable {
        /**
         * Takes a snapshot of the given value, using this as a candidate snapshot. If the value is the same as the value represented by this snapshot, this snapshot must be returned.
         */
        ValueSnapshot snapshot(@Nullable Object value, ValueSnapshotter snapshotter);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy

            when:
            source "class A { /* change */ }"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses 'A', 'B', 'C'
    
            when:
            outputs.snapshot()
            source "class B { /* change */ }"
            run language.compileTaskName
    
            then:
            outputs.recompiledClasses 'B', 'C'
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  3. platforms/native/language-native/src/integTest/groovy/org/gradle/language/cpp/CppIncrementalBuildIntegrationTest.groovy

            """
        }
    
        @ToBeFixedForConfigurationCache
        def "rebuilds executable with single source file change"() {
            given:
            run installApp
            libObjects.snapshot()
            appObjects.snapshot()
    
            when:
            appSourceFile.replace("world", "planet")
    
            and:
            run installApp
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 40.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/ManagedValueSnapshot.java

            return super.hashCode() ^ className.hashCode();
        }
    
        @Override
        public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
            ValueSnapshot snapshot = snapshotter.snapshot(value);
            if (snapshot.equals(this)) {
                return this;
            }
            return snapshot;
        }
    
        @Override
        public String toString() {
            return "(" + className + ") " + state;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenJvmLibraryArtifactResolutionIntegrationTest.groovy

            snapshotSources.expectHead()
            snapshotSources.expectGet()
    
            then:
            checkArtifactsResolvedAndCached()
    
            when:
            def snapshot = file("sources/some-artifact-1.0-SNAPSHOT-sources.jar").snapshot()
            snapshotModule.publishWithChangedContent()
            fixture.withSnapshotTimestamp(snapshotModule.uniqueSnapshotVersion)
                    .createVerifyTask("verifyRefresh")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/strategy/DefaultVersionComparatorTest.groovy

            "1.0-rc"       | "1.0-sp"
            "1.0-rc"       | "1.0"
            "1.0-rc-1"     | "1.0"
    
            "1.0-snapshot" | "1.0-final"
            "1.0-snapshot" | "1.0-ga"
            "1.0-snapshot" | "1.0-release"
            "1.0-snapshot" | "1.0-sp"
            "1.0-snapshot" | "1.0"
    
            "1.0-final"    | "1.0-ga"
            "1.0-final"    | "1.0-release"
            "1.0-final"    | "1.0-sp"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/IsolatedCodecs.kt

    import org.gradle.internal.snapshot.impl.IsolatedManagedValue
    import org.gradle.internal.snapshot.impl.IsolatedMap
    import org.gradle.internal.snapshot.impl.IsolatedJavaSerializedValueSnapshot
    import org.gradle.internal.snapshot.impl.IsolatedSet
    import org.gradle.internal.snapshot.impl.MapEntrySnapshot
    import org.gradle.internal.snapshot.impl.NullValueSnapshot
    import org.gradle.internal.snapshot.impl.StringValueSnapshot
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/DirectorySensitivity.java

         * default behavior is to fingerprint directories, for others, they ignore directories by default.
         */
        DEFAULT(snapshot -> true),
        /**
         * Ignore directories
         */
        IGNORE_DIRECTORIES(snapshot -> snapshot.getType() != FileType.Directory);
    
        @SuppressWarnings("ImmutableEnumChecker")
        private final Predicate<FileSystemLocationSnapshot> fingerprintCheck;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/Environment.kt

            TrackingProperties(System.getProperties().uncheckedCast()) { prefix, snapshot ->
                listener.systemPropertiesPrefixedBy(prefix, snapshot)
            }
    
        override fun getVariables(): Environment.Properties =
            TrackingProperties(System.getenv()) { prefix, snapshot ->
                listener.envVariablesPrefixedBy(prefix, snapshot)
            }
    
        private
        class TrackingProperties(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

            }
            return snapshot;
        }
    
        private void collectEntry(FileSystemLocationSnapshot snapshot) {
            Directory directory = directoryStack.peekLast();
            if (directory != null) {
                directory.collectEntry(snapshot);
            } else {
                assert result == null;
                result = snapshot;
            }
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
Back to top