- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for contentHash (0.27 sec)
-
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) -
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) -
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) -
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) -
subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 17:32:21 UTC 2024 - 24.2K bytes - Viewed (0) -
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) -
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) -
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) -
staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/config.go
// It does not attempt to decode or load the config, and serves as a cheap check to determine if the file has changed. func GetEncryptionConfigHash(filepath string) (string, error) { _, contentHash, err := loadDataAndHash(filepath) return contentHash, err } // prefixTransformersAndProbes creates the set of transformers and KMS probes based on the given resource config.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 16:56:39 UTC 2024 - 41.2K bytes - Viewed (0) -
src/cmd/internal/obj/objfile.go
} w.tmpHash64 = contentHash64(s) w.Bytes(w.tmpHash64[:]) } func (w *writer) Hash(s *LSym) { if !s.ContentAddressable() { panic("Hash of non-content-addressable symbol") } w.tmpHash = w.contentHash(s) w.Bytes(w.tmpHash[:]) } // contentHashSection returns a mnemonic for s's section. // The goal is to prevent content-addressability from moving symbols between sections.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0)