Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for contentHash (0.25 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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