Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for contentHash (0.12 sec)

  1. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultFileSystemLocationFingerprint.java

        private final HashCode normalizedContentHash;
        private final String normalizedPath;
    
        public DefaultFileSystemLocationFingerprint(String normalizedPath, FileType type, HashCode contentHash) {
            this.normalizedContentHash = hashForType(type, contentHash);
            this.normalizedPath = normalizedPath;
        }
    
        private static HashCode hashForType(FileType fileType, HashCode hash) {
            switch (fileType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
Back to top