Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for tophash (0.11 sec)

  1. src/hash/maphash/maphash.go

    // Copyright 2019 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.
    
    // Package maphash provides hash functions on byte sequences.
    // These hash functions are intended to be used to implement hash tables or
    // other data structures that need to map arbitrary strings or byte
    // sequences to a uniform distribution on unsigned 64-bit integers.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 19:15:34 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/registration/InstrumentationTransformRegisterer.java

            DefaultScriptClassPathResolver.InstrumentationPhase toPhase
        ) {
            dependencyHandler.registerTransform(
                transform,
                spec -> {
                    spec.getFrom().attribute(INSTRUMENTED_ATTRIBUTE, fromPhase.getValue());
                    spec.getTo().attribute(INSTRUMENTED_ATTRIBUTE, toPhase.getValue());
                    spec.parameters(params -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  3. platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/DefaultStreamHasher.java

            try {
                return doHash(inputStream, ByteStreams.nullOutputStream());
            } catch (IOException e) {
                throw new UncheckedIOException("Failed to create MD5 hash for file content.", e);
            }
        }
    
        @Override
        public HashCode hashCopy(InputStream inputStream, OutputStream outputStream) throws IOException {
            return doHash(inputStream, outputStream);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:43:29 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/FallbackHandlingResourceHasher.java

         */
        abstract Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext);
    
        /**
         * Try to hash the resource, and signal for fallback if it can't be hashed.
         *
         * @return An Optional containing the hash, or an empty Optional if fallback should be triggered
         */
        abstract Optional<HashCode> tryHash(ZipEntryContext zipEntryContext);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. src/internal/filepathlite/path.go

    	if !fs.ValidPath(path) {
    		return "", errInvalidPath
    	}
    	return localize(path)
    }
    
    // ToSlash is filepath.ToSlash.
    func ToSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    	return replaceStringByte(path, Separator, '/')
    }
    
    // FromSlash is filepath.ToSlash.
    func FromSlash(path string) string {
    	if Separator == '/' {
    		return path
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasher.java

            hasher.putString(getClass().getName());
        }
    
        @Override
        Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.of(snapshotContext)
                .flatMap(IoFunction.wrap(this::hashContent));
        }
    
        @Override
        Optional<HashCode> tryHash(ZipEntryContext zipEntryContext) {
            return Optional.of(zipEntryContext)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/Methods.java

                        return Arrays.equals(a.getGenericParameterTypes(), b.getGenericParameterTypes());
                    }
                }
                return false;
            }
    
            @Override
            protected int doHash(Method method) {
                return new HashCodeBuilder()
                    .append(method.getName())
                    .append(method.getParameterTypes())
                    .toHashCode();
            }
        };
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/PropertiesFileAwareClasspathResourceHasher.java

        @Override
        boolean filter(ZipEntryContext context) {
            return !context.getEntry().isDirectory() && matchesAnyFilters(context.getRelativePathSegments());
        }
    
        @Override
        public Optional<HashCode> tryHash(RegularFileSnapshotContext snapshotContext) {
            return Optional.ofNullable(matchingFiltersFor(snapshotContext.getRelativePathSegments()))
                .map(resourceEntryFilter -> {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/java/customDirs/groovy/build.gradle

        def reportsDir = project.reporting.baseDirectory
        def 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.2K bytes
    - Viewed (0)
  10. 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)
Back to top