Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for appendConfigurationToHasher (0.27 sec)

  1. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/RuntimeClasspathResourceHasher.java

        @Override
        public HashCode hash(ZipEntryContext zipEntryContext) throws IOException {
            return zipEntryContext.getEntry().withInputStream(Hashing::hashStream);
        }
    
        @Override
        public void appendConfigurationToHasher(Hasher hasher) {
            hasher.putString(getClass().getName());
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/normalization/java/ApiClassExtractor.java

            if (visitor.isPrivateInnerClass()) {
                return Optional.empty();
            }
            return Optional.of(apiClassWriter.toByteArray());
        }
    
        public void appendConfigurationToHasher(Hasher hasher) {
            hasher.putString(getClass().getName());
            if (exportedPackages != null) {
                exportedPackages.forEach(hasher::putString);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/AbstractFingerprintingStrategy.java

            this.emptyFingerprint = new EmptyCurrentFileCollectionFingerprint(identifier);
            Hasher hasher = Hashing.newHasher();
            hasher.putString(getClass().getName());
            configurableNormalizer.appendConfigurationToHasher(hasher);
            this.configurationHash = hasher.hash();
        }
    
        @Override
        public String getIdentifier() {
            return identifier;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/MetaInfAwareClasspathResourceHasherTest.groovy

            def configurationHasher = Mock(Hasher)
            def delegate = Mock(ResourceHasher)
            useDelegate(delegate)
    
            when:
            hasher.appendConfigurationToHasher(configurationHasher)
    
            then:
            1 * delegate.appendConfigurationToHasher(configurationHasher)
        }
    
        def "hashes original context with delegate for files that are not manifest files (filename: #filename)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasherTest.groovy

            def configurationHasher = Mock(Hasher)
            delegate = Mock(ResourceHasher)
    
            when:
            filteredHasher.appendConfigurationToHasher(configurationHasher)
    
            then:
            1 * delegate.appendConfigurationToHasher(configurationHasher)
        }
    
        def "hashes original context with delegate for files that do not match a resource filter (filename: #filename)"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

            this.cacheService = cacheService;
            this.stringInterner = stringInterner;
            this.zipHasher = zipHasher;
    
            Hasher hasher = Hashing.newHasher();
            zipHasher.appendConfigurationToHasher(hasher);
            this.zipHasherConfigurationHash = hasher.hash();
        }
    
        public static ClasspathFingerprintingStrategy runtimeClasspath(
            ResourceFilter classpathResourceFilter,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top