Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 119 for memhash (0.2 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/CachingFileHasher.java

            return "{hasher cache: " + cache + "}";
        }
    
        @Override
        public HashCode hash(File file) {
            return snapshot(file).getHash();
        }
    
        @Override
        public HashCode hash(File file, long length, long lastModified) {
            return snapshot(file, length, lastModified).getHash();
        }
    
        private FileInfo snapshot(File file) {
            FileMetadata fileMetadata = fileSystem.stat(file);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/ReproducibleArchivesIntegrationTest.groovy

            succeeds taskName
    
            def archive = file("build/test.${fileExtension}")
            then:
            def firstFileHash = archive.md5Hash
    
            when:
            file('dir1/file11.txt').makeOlder()
            archive.delete()
            succeeds taskName
    
            then:
            archive.md5Hash == firstFileHash
    
            where:
            taskName << ['tar', 'zip']
            taskType = taskName.capitalize()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 02 14:30:00 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/CopyingClasspathFileTransformer.java

            if (!cachedFile.isFile()) {
                // Just copy the jar
                GFileUtils.copyFile(source, cachedFile);
            }
            return cachedFile;
        }
    
        @Override
        public ClasspathFileHasher getFileHasher() {
            return FileSystemLocationSnapshot::getHash;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/OutputFileChanges.java

                FileSystemLocationSnapshot currentSnapshot = (FileSystemLocationSnapshot) current;
                if (previousSnapshot.getHash().equals(currentSnapshot.getHash())) {
                    return true;
                } else if (currentSnapshot.getType() != FileType.Directory || previousSnapshot.getType() != FileType.Directory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 8K bytes
    - Viewed (0)
  5. src/crypto/aes/gcm_ppc64x.go

    // algorithm.
    func (g *gcmAsm) paddedGHASH(hash *[16]byte, data []byte) {
    	if siz := len(data) - (len(data) % gcmBlockSize); siz > 0 {
    		gcmHash(hash[:], &g.productTable, data[:], siz)
    		data = data[siz:]
    	}
    	if len(data) > 0 {
    		var s [16]byte
    		copy(s[:], data)
    		gcmHash(hash[:], &g.productTable, s[:], len(s))
    	}
    }
    
    // auth calculates GHASH(ciphertext, additionalData), masks the result with
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/caching/impl/DefaultCachingStateFactory.java

                logger.warn("Appending input file fingerprints for '{}' to build cache key: {} - {}",
                    propertyName, fingerprint.getHash(), fingerprint);
                cacheKeyHasher.putString(propertyName);
                cacheKeyHasher.putHash(fingerprint.getHash());
            });
    
            beforeExecutionState.getOutputFileLocationSnapshots().keySet().forEach(propertyName -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 05 16:15:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/metrics.go

    	})
    }
    
    func recordAuthenticationLatency(result, jwtIssuerHash string, duration time.Duration) {
    	jwtAuthenticatorLatencyMetric.WithLabelValues(result, jwtIssuerHash).Observe(duration.Seconds())
    }
    
    func getHash(data string) string {
    	if len(data) > 0 {
    		return fmt.Sprintf("sha256:%x", sha256.Sum256([]byte(data)))
    	}
    	return ""
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 19:29:33 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/ComponentMetadataRuleExecutorTest.groovy

            def key = Mock(ModuleComponentResolveMetadata)
            def inputsSnapshot = new StringValueSnapshot("1")
            def hasher = Hashing.newHasher()
            inputsSnapshot.appendToHasher(hasher)
            def keyHash = hasher.hash()
            def cachedResult = Mock(ModuleComponentResolveMetadata)
            Multimap<String, ImplicitInputRecord<?, ?>> implicits = HashMultimap.create()
            def record = Mock(ImplicitInputRecord)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. src/internal/concurrent/hashtriemap.go

    // produces a subtree of indirect nodes to hold the two new entries.
    func (ht *HashTrieMap[K, V]) expand(oldEntry, newEntry *entry[K, V], newHash uintptr, hashShift uint, parent *indirect[K, V]) *node[K, V] {
    	// Check for a hash collision.
    	oldHash := ht.keyHash(unsafe.Pointer(&oldEntry.key), ht.seed)
    	if oldHash == newHash {
    		// Store the old entry in the new entry's overflow list, then store
    		// the new entry.
    		newEntry.overflow.Store(oldEntry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 16:01:55 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/PathAssembler.java

            return new LocalDistribution(distDir, distZip);
        }
    
        private String rootDirName(String distName, WrapperConfiguration configuration) {
            String urlHash = getHash(Download.safeUri(configuration.getDistribution()).toASCIIString());
            return distName + "/" + urlHash;
        }
    
        /**
         * This method computes a hash of the provided {@code string}.
         * <p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top