- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for getContentHash (0.2 sec)
-
platforms/native/language-native/src/test/groovy/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileProcessorTest.groovy
return file } @Override HashCode getContentHash() { return getContentHash(file) } } } } private HashCode getContentHash(File file) { fileSystemAccess.invalidate([file.absolutePath])
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 08 15:31:28 UTC 2024 - 13.7K bytes - Viewed (0) -
platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/PrecompiledGroovyScript.java
return firstPassSource.getClassName(); } String getBodyClassName() { return scriptSource.getClassName(); } HashCode getContentHash() { return scriptSource.getResource().getContentHash(); } String getFileName() { return firstPassSource.getFileName(); } ScriptSource getFirstPassSource() { return firstPassSource;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 22:36:52 UTC 2023 - 6.1K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/CrossBuildInMemoryCachingScriptClassCache.java
CachedCompiledScript cached = cachedCompiledScripts.getIfPresent(key); HashCode hash = source.getResource().getContentHash(); if (cached != null) { if (hash.equals(cached.hash)) { cached.compiledScript.onReuse(); return Cast.uncheckedCast(cached.compiledScript); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Dec 09 15:05:17 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/EmptyFileTextResource.java
public Charset getCharset() { return null; } @Override public Reader getAsReader() { return new StringReader(""); } @Override public HashCode getContentHash() throws ResourceException { return SIGNATURE; } @Override public String getText() { return ""; } @Override public boolean getExists() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalCompileFilesFactory.java
if (includeFile == null) { // Include file not found (but previously was found) return false; } HashCode hash = includeFile.getContentHash(); if (!hash.equals(includeFileEdge.getResolvedTo())) { // Include file changed return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 14.6K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/SourceIncludesResolver.java
Collection<IncludeFile> getFiles(); } interface IncludeFile { boolean isQuotedInclude(); String getPath(); File getFile(); HashCode getContentHash(); } /** * Resolves the given include directive to zero or more include files. */ IncludeResolutionResult resolveInclude(File sourceFile, Include include, MacroLookup visibleMacros);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.9K bytes - Viewed (0) -
platforms/core-execution/build-cache/src/main/java/org/gradle/caching/internal/controller/CacheManifest.java
} public FileType getType() { return type; } public String getRelativePath() { return relativePath; } public HashCode getContentHash() { return contentHash; } public long getLength() { return length; } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:43:12 UTC 2023 - 2.5K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/CachingTextResource.java
maybeFetch(); return content.length() == 0; } @Override public String getText() { maybeFetch(); return content; } @Override public HashCode getContentHash() throws ResourceException { maybeFetch(); return contentHash; } @Override public Reader getAsReader() { maybeFetch(); return new StringReader(content);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/StringTextResource.java
return new StringReader(getText()); } @Override public String getText() { return contents.toString(); } @Override public HashCode getContentHash() throws ResourceException { if (contentHash == null) { PrimitiveHasher hasher = Hashing.newPrimitiveHasher(); hasher.putHash(SIGNATURE); hasher.putString(getText());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 3.3K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/TextResource.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 4.5K bytes - Viewed (0)