Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for contentHash (0.14 sec)

  1. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/GroovyScriptClassCompiler.java

            private final String contentHash;
    
            public BuildScriptRemapper(ClassVisitor cv, ScriptSource source, String originalClassName, String contentHash) {
                super(AsmConstants.ASM_LEVEL, cv);
                this.scriptSource = source;
                this.originalClassName = originalClassName;
                this.contentHash = contentHash;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:23:24 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java

            }
            return resourceHash;
        }
    
        private static HashCode resourceHashCacheKey(HashCode contentHash, HashCode configurationHash) {
            Hasher hasher = Hashing.newHasher();
            hasher.putHash(configurationHash);
            hasher.putHash(contentHash);
            return hasher.hash();
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/OverlappingOutputsFilterTest.groovy

            then:
            result == filteredOutputs
            0 * _
        }
    
        private static RegularFileSnapshot fileSnapshot(String name, HashCode contentHash) {
            new RegularFileSnapshot("/absolute/${name}", name, contentHash, DefaultFileMetadata.file(0L, 0L, FileMetadata.AccessType.DIRECT))
        }
    
        private static FileSystemLocationSnapshot directorySnapshot(RegularFileSnapshot... contents) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 22 09:41:30 UTC 2023
    - 4K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy

                    def originalClassName = type.getMethod('getOriginalClassName').invoke(o)
                    def contentHash = type.getMethod('getContentHash').invoke(o)
                    println "\${title} class name: \${originalClassName} (remapped: \${type.name})"
                    println "\${title} class hash: \${contentHash}"
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/cache/internal/DefaultFileContentCacheFactory.java

                return locationCache.computeIfAbsent(file,
                    location -> fileSystemAccess.readRegularFileContentHash(location.getAbsolutePath())
                        .map(contentHash -> contentCache.get(contentHash, key -> calculator.calculate(location, true))
                    ).orElseGet(
                        () -> calculator.calculate(location, false)
                    ));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

                        def contentHash = o.class.getMethod('getContentHash').invoke(o)
                        assert originalClassName
                        assert contentHash
                        println "Action type: ${originalClassName} (remapped name: ${o.class})"
                        println "Action hash: ${contentHash}"
                        if (!seen.add(contentHash)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  7. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/FileSystemSnapshotSerializer.java

                switch (type) {
                    case REGULAR_FILE:
                        HashCode contentHash = readHashCode(decoder);
                        long lastModified = decoder.readSmallLong();
                        long length = decoder.readSmallLong();
                        stack.add(new RegularFileSnapshot(internedAbsolutePath, internedName, contentHash, DefaultFileMetadata.file(lastModified, length, accessType)));
                        break;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 15:45:55 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultCachedClasspathTransformer.java

            if (snapshot.getType() == FileType.Missing) {
                return empty();
            }
            if (shouldUseFromCache(original)) {
                final HashCode contentHash = snapshot.getHash();
                if (!seen.add(contentHash)) {
                    // Already seen an entry with the same content hash, ignore it
                    return empty();
                }
                // It's a new content hash, transform it
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller.go

    	_ *encryptionconfig.EncryptionConfiguration,
    	configChanged bool,
    	_ error,
    ) {
    	contentHash, err := d.getEncryptionConfigHash(ctx, d.filePath)
    	if err != nil {
    		return nil, false, err
    	}
    
    	// check if encryptionConfig is different from the current. Do nothing if they are the same.
    	if contentHash == d.lastLoadedEncryptionConfigHash {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. src/cmd/internal/obj/objfile_test.go

    	r = Addrel(syms[5])
    	r.Sym = syms[1]
    	// s6 references s2
    	r = Addrel(syms[6])
    	r.Sym = syms[2]
    
    	// compute hashes
    	h := make([]goobj.HashType, len(syms))
    	w := &writer{}
    	for i := range h {
    		h[i] = w.contentHash(syms[i])
    	}
    
    	tests := []struct {
    		a, b  int
    		equal bool
    	}{
    		{0, 1, true},  // same contents, no relocs
    		{0, 2, false}, // different contents
    		{3, 4, true},  // same contents, same relocs
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:30 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top