Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 173 for tophash (0.14 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy

                    }
                }
    
                task transform(type: TransformTask) {
                    inputFile = file("file1.txt").toPath()
                    inputDir = file("dir1").toPath()
                    outputFile = file("build/file1.txt").toPath()
                    outputDir = file("build/dir1").toPath()
                }
    """
    
            when:
            file("file1.txt").text = "123"
            file("dir1/file2.txt").text = "1234"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/java/customDirs/kotlin/build.gradle.kts

        val reportsDir = project.reporting.baseDirectory
        val testResultsDir = project.java.testResultsDir
    
        doLast {
            logger.quiet(rootDir.toPath().relativize(reportsDir.get().asFile.toPath()).toString())
            logger.quiet(rootDir.toPath().relativize(testResultsDir.get().asFile.toPath()).toString())
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/hash/DefaultChecksumService.java

        public HashCode md5(File file) {
            return doHash(file, md5);
        }
    
        @Override
        public HashCode sha1(File file) {
            return doHash(file, sha1);
        }
    
        @Override
        public HashCode sha256(File file) {
            return doHash(file, sha256);
        }
    
        @Override
        public HashCode sha512(File file) {
            return doHash(file, sha512);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Jun 04 22:23:37 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/internal/classpath/DefaultClasspathBuilder.java

            try {
                Files.createDirectories(parentDir.toPath());
                inPlaceBuilder.jar(tmpFile, action);
                Files.move(tmpFile.toPath(), jarFile.toPath(), StandardCopyOption.REPLACE_EXISTING);
            } finally {
                Files.deleteIfExists(tmpFile.toPath());
            }
        }
    
        private void buildDirectory(File destinationDir, Action action) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy

                    "Files.newByteChannel(File(\"$filePath\").toPath()).close()"
                }
    
                @Override
                String getJavaExpression() {
                    """
                    ((Supplier<Object>) () -> {
                        try {
                            Files.newByteChannel(new File("$filePath").toPath()).close();
                        } catch (IOException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/AbstractBaseDirFileResolver.java

            Path baseDir = getBaseDir().toPath();
            Path file = resolve(path).toPath();
            if (file.equals(baseDir)) {
                return ".";
            } else {
                return baseDir.relativize(file).toString();
            }
        }
    
        @Override
        public String resolveForDisplay(Object path) {
            Path file = resolve(path).toPath();
            Path baseDir = getBaseDir().toPath();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/utils/DefaultInstrumentationAnalysisSerializer.java

        }
    
        @Override
        public void writeDependencyAnalysis(File output, InstrumentationDependencyAnalysis dependencyAnalysis) {
            try (KryoBackedEncoder encoder = new KryoBackedEncoder(Files.newOutputStream(output.toPath()))) {
                writeMetadata(dependencyAnalysis.getMetadata(), encoder);
                HierarchicalNameSerializer nameSerializer = new HierarchicalNameSerializer(stringInterner);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  8. platforms/ide/ide-native/src/main/groovy/org/gradle/ide/visualstudio/tasks/internal/VisualStudioFiltersFile.groovy

            'default.vcxproj.filters'
        }
    
        def addSource(File sourceFile) {
            sources.appendNode("ClCompile", [Include: toPath(sourceFile)]).appendNode('Filter', 'Source Files')
        }
    
        def addHeader(File headerFile) {
            headers.appendNode("ClInclude", [Include: toPath(headerFile)]).appendNode('Filter', 'Header Files')
        }
    
        def getFilters() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  9. docs/debugging/hash-set/main.go

    	"os"
    	"strings"
    
    	"github.com/dchest/siphash"
    	"github.com/google/uuid"
    )
    
    // hashes the key returning an integer based on the input algorithm.
    // This function currently supports
    // - SIPMOD
    func sipHashMod(key string, cardinality int, id [16]byte) int {
    	if cardinality <= 0 {
    		return -1
    	}
    	// use the faster version as per siphash docs
    	// https://github.com/dchest/siphash#usage
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  10. pkg/util/filesystem/util.go

    )
    
    // IsPathClean will replace slashes to Separator (which is OS-specific).
    // This will make sure that all slashes are the same before comparing.
    func IsPathClean(path string) bool {
    	return filepath.ToSlash(filepath.Clean(path)) == filepath.ToSlash(path)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 876 bytes
    - Viewed (0)
Back to top