- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 69 for ValueSnapshot (0.3 sec)
-
platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/ValueSnapshot.java
* In particular, implementations should not hold on to user ClassLoaders.</p> */ 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) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java
encoder.writeSmallInt(GRADLE_SERIALIZED_SNAPSHOT); if (valueSnapshot.getImplementationHash() == null) { encoder.writeBoolean(false); } else { encoder.writeBoolean(true); serializer.write(encoder, valueSnapshot.getImplementationHash()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 14.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SetValueSnapshot.java
import org.gradle.internal.snapshot.ValueSnapshot; import org.gradle.internal.snapshot.ValueSnapshotter; public class SetValueSnapshot extends AbstractSetSnapshot<ValueSnapshot> implements ValueSnapshot { public SetValueSnapshot(ImmutableSet<ValueSnapshot> elements) { super(elements); } @Override public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/impl/DefaultInputFingerprinter.java
} @Override public Result fingerprintInputProperties( ImmutableSortedMap<String, ValueSnapshot> previousValueSnapshots, ImmutableSortedMap<String, ? extends FileCollectionFingerprint> previousFingerprints, ImmutableSortedMap<String, ValueSnapshot> knownCurrentValueSnapshots, ImmutableSortedMap<String, CurrentFileCollectionFingerprint> knownCurrentFingerprints,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 26 14:58:23 UTC 2024 - 10.1K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java
@Override public ValueSnapshot list(ImmutableList<ValueSnapshot> elements) { return new ListValueSnapshot(elements); } @Override public ValueSnapshot set(ImmutableSet<ValueSnapshot> elements) { return new SetValueSnapshot(elements); } @Override public ValueSnapshot map(ImmutableList<MapEntrySnapshot<ValueSnapshot>> elements) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 11 20:22:01 UTC 2024 - 6.5K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/InputValueChanges.java
ImmutableMap.Builder<String, String> changedBuilder = ImmutableMap.builder(); for (Map.Entry<String, ValueSnapshot> entry : current.entrySet()) { String propertyName = entry.getKey(); ValueSnapshot currentSnapshot = entry.getValue(); ValueSnapshot previousSnapshot = previous.get(propertyName); if (previousSnapshot != null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/TransformWorkspaceIdentity.java
import org.gradle.internal.hash.Hasher; import org.gradle.internal.hash.Hashing; import org.gradle.internal.snapshot.ValueSnapshot; class TransformWorkspaceIdentity implements UnitOfWork.Identity { private final ValueSnapshot secondaryInputsSnapshot; private final String uniqueId; private TransformWorkspaceIdentity(ValueSnapshot secondaryInputsSnapshot, HashCode uniqueId) { this.uniqueId = uniqueId.toString();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 14 10:18:24 UTC 2023 - 3.6K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultPreviousExecutionStateSerializer.java
} ImmutableSortedMap.Builder<String, ValueSnapshot> builder = ImmutableSortedMap.naturalOrder(); for (int i = 0; i < size; i++) { builder.put(decoder.readString(), readValueSnapshot(decoder)); } return builder.build(); } public void writeInputProperties(Encoder encoder, ImmutableMap<String, ValueSnapshot> properties) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 08:25:58 UTC 2024 - 8.7K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/MapValueSnapshot.java
import org.gradle.internal.snapshot.ValueSnapshot; import org.gradle.internal.snapshot.ValueSnapshotter; public class MapValueSnapshot extends AbstractMapSnapshot<ValueSnapshot> implements ValueSnapshot { public MapValueSnapshot(ImmutableList<MapEntrySnapshot<ValueSnapshot>> entries) { super(entries); } @Override public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java
return serializedValue; } @Override public ValueSnapshot snapshot(Object value, ValueSnapshotter snapshotter) { ValueSnapshot snapshot = snapshotter.snapshot(value); if (hasSameSerializedValue(snapshot)) { return this; } return snapshot; } private boolean hasSameSerializedValue(ValueSnapshot snapshot) { if (snapshot instanceof GradleSerializedValueSnapshot) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 3.2K bytes - Viewed (0)