Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 189 for tophash (0.65 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. src/runtime/alg.go

    		// typehash, but we want to report the topmost type in
    		// the error text (e.g. in a struct with a field of slice type
    		// we want to report the struct, not the slice).
    		panic(errorString("hash of unhashable type " + toRType(t).string()))
    	}
    	if isDirectIface(t) {
    		return c1 * typehash(t, unsafe.Pointer(&a.data), h^c0)
    	} else {
    		return c1 * typehash(t, a.data, h^c0)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. 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)
  4. guava/src/com/google/common/base/Equivalence.java

     *     source-compatible</a> since 4.0)
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    /*
     * The type parameter is <T> rather than <T extends @Nullable> so that we can use T in the
     * doEquivalent and doHash methods to indicate that the parameter cannot be null.
     */
    public abstract class Equivalence<T> implements BiPredicate<@Nullable T, @Nullable T> {
      /** Constructor for use by subclasses. */
      protected Equivalence() {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K 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. 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)
  7. 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)
  8. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheRepository.kt

                throw UnsupportedOperationException()
    
            override fun delete() {
                if (file.exists()) {
                    Files.delete(file.toPath())
                }
            }
    
            override fun moveFrom(file: File) {
                Files.move(file.toPath(), this.file.toPath(), StandardCopyOption.ATOMIC_MOVE)
            }
    
            override fun stateFileForIncludedBuild(build: BuildDefinition): ConfigurationCacheStateFile =
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  9. src/hash/maphash/maphash_purego.go

    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build purego
    
    package maphash
    
    import (
    	"crypto/rand"
    	"internal/byteorder"
    	"math/bits"
    )
    
    func rthash(buf []byte, seed uint64) uint64 {
    	if len(buf) == 0 {
    		return seed
    	}
    	return wyhash(buf, seed, uint64(len(buf)))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/native/src/jmh/java/org/gradle/internal/nativeintegration/filesystem/FileMetadataAccessorBenchmark.java

            missing = new File(UUID.randomUUID().toString());
            missingPath = missing.toPath();
            directory = File.createTempFile("jmh", "dir");
            directoryPath = directory.toPath();
            directory.mkdirs();
            realFile = File.createTempFile("jmh", "tmp");
            realFilePath = realFile.toPath();
    
            FileOutputStream fos = new FileOutputStream(realFile);
            fos.write(new byte[1024]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top