Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GradleSerializedValueSnapshot (0.36 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

            }
            return snapshot;
        }
    
        private boolean hasSameSerializedValue(ValueSnapshot snapshot) {
            if (snapshot instanceof GradleSerializedValueSnapshot) {
                GradleSerializedValueSnapshot newSnapshot = (GradleSerializedValueSnapshot) snapshot;
                if (!Objects.equal(implementationHash, newSnapshot.implementationHash)) {
                    // Different implementation - assume value has changed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/SnapshotSerializer.java

                encoder.writeString(valueSnapshot.getValue().getType().getName());
            } else if (snapshot instanceof GradleSerializedValueSnapshot) {
                GradleSerializedValueSnapshot valueSnapshot = (GradleSerializedValueSnapshot) snapshot;
                encoder.writeSmallInt(GRADLE_SERIALIZED_SNAPSHOT);
                if (valueSnapshot.getImplementationHash() == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/DefaultValueSnapshotter.java

                return value.asSnapshot();
            }
    
            @Override
            public ValueSnapshot gradleSerialized(Object value, byte[] serializedValue) {
                return new GradleSerializedValueSnapshot(classLoaderHasher.getClassLoaderHash(value.getClass().getClassLoader()), serializedValue);
            }
    
            @Override
            public ValueSnapshot javaSerialized(Object value, byte[] serializedValue) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top