Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 164 for tophash (0.35 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. src/cmd/go/testdata/script/mod_get_missing_ziphash.txt

    go get use
    cmp go.sum go.sum.tidy
    go build -n use
    
    # If we delete the hash *and* the ziphash file, we should see the same behavior.
    cp go.sum.bug go.sum
    rm $WORK/gopath/pkg/mod/cache/download/rsc.io/quote/@v/v1.5.2.ziphash
    ! go build -n use
    stderr '^use.go:3:8: missing go.sum entry for module providing package rsc.io/quote \(imported by use\); to add:\n\tgo get use$'
    go get use
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  4. src/cmd/go/internal/modfetch/zip_sum_test/zip_sum_test.go

    				t.Errorf("%s: %v", test.m, err)
    			}
    			zipHash := hex.EncodeToString(h.Sum(nil))
    			if zipHash != test.wantFileHash {
    				if *updateTestData {
    					t.Logf("%s: updating zip file hash to %s", test.m, zipHash)
    					test.wantFileHash = zipHash
    					needUpdate = true
    				} else {
    					t.Errorf("%s: got zip file hash %s; want hash %s (but content sum matches)", test.m, zipHash, test.wantFileHash)
    				}
    			}
    		})
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 18 19:33:59 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/changedetection/state/DefaultResourceSnapshotterCacheService.java

                if (resourceHash.equals(NO_HASH)) {
                    return null;
                }
                return resourceHash;
            }
    
            resourceHash = hashCodeSupplier.get();
    
            if (resourceHash != null) {
                indexedCache.put(resourceHashCacheKey, resourceHash);
            } else {
                indexedCache.put(resourceHashCacheKey, NO_HASH);
            }
            return resourceHash;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 10 13:47:15 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top