Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getImplementationHash (0.28 sec)

  1. 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());
                }
                encoder.writeBinary(valueSnapshot.getValue());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 20:22:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ImplementationHashAware.java

    import org.gradle.internal.hash.HashCode;
    
    /**
     * Mixed into a ClassLoader implementation to allow the implementation hash of a  ClassLoader to be queried
     */
    public interface ImplementationHashAware {
        HashCode getImplementationHash();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 901 bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/JavaSerializedValueSnapshot.java

            this.implementationHash = implementationHash;
            this.serializedValue = serializedValue;
        }
    
        @Nullable
        public HashCode getImplementationHash() {
            return implementationHash;
        }
    
        public byte[] getValue() {
            return serializedValue;
        }
    
        @Override
    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-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/IsolatedJavaSerializedValueSnapshot.java

            super(implementationHash, serializedValue);
            this.originalClass = originalClass;
        }
    
        @Override
        public ValueSnapshot asSnapshot() {
            return new JavaSerializedValueSnapshot(getImplementationHash(), getValue());
        }
    
        @Override
        public Object isolate() {
            return populateClass(originalClass);
        }
    
        @Nullable
        @Override
        public <S> S coerce(Class<S> type) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/snapshot/impl/GradleSerializedValueSnapshot.java

            byte[] serializedValue
        ) {
            this.implementationHash = implementationHash;
            this.serializedValue = serializedValue;
        }
    
        @Nullable
        public HashCode getImplementationHash() {
            return implementationHash;
        }
    
        public byte[] getValue() {
            return serializedValue;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/DefaultHashingClassLoaderFactory.java

            if (classLoader instanceof ImplementationHashAware) {
                ImplementationHashAware loader = (ImplementationHashAware) classLoader;
                return loader.getImplementationHash();
            }
            return hashCodes.get(classLoader);
        }
    
        private HashCode calculateClassLoaderHash(ClassPath classPath) {
            return classpathHasher.hash(classPath);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

                this.scriptSource = scriptSource;
                this.implementationHash = implementationHash;
            }
    
            @Override
            public HashCode getImplementationHash() {
                return implementationHash;
            }
    
            @Override
            protected Class<?> loadClass(String name, boolean resolve) throws ClassNotFoundException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/IsolatableSerializerRegistry.java

            protected void serialize(Encoder encoder, IsolatedJavaSerializedValueSnapshot value) throws Exception {
                encoder.writeString(value.getOriginalClass().getName());
                HashCode implementationHash = value.getImplementationHash();
                if (implementationHash == null) {
                    encoder.writeBoolean(false);
                } else {
                    encoder.writeBoolean(true);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 26.9K bytes
    - Viewed (0)
Back to top