Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 62 for ziphash (0.18 sec)

  1. src/cmd/go/internal/modfetch/fetch.go

    	// Do the file I/O before acquiring the go.sum lock.
    	ziphash, err := CachePath(ctx, mod, "ziphash")
    	if err != nil {
    		base.Fatalf("verifying %v", module.VersionError(mod, err))
    	}
    	data, err := lockedfile.Read(ziphash)
    	if err != nil {
    		base.Fatalf("verifying %v", module.VersionError(mod, err))
    	}
    	data = bytes.TrimSpace(data)
    	if !isValidSum(data) {
    		// Recreate ziphash file from zip file and use that to check the mod sum.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/verify.go

    			return nil
    		}
    		errs = append(errs, fmt.Errorf("%s %s: missing ziphash: %v", mod.Path, mod.Version, err))
    		return errs
    	}
    	h := string(bytes.TrimSpace(data))
    
    	if zipErr != nil && errors.Is(zipErr, fs.ErrNotExist) {
    		// ok
    	} else {
    		hZ, err := dirhash.HashZip(zip, dirhash.DefaultHash)
    		if err != nil {
    			errs = append(errs, fmt.Errorf("%s %s: %v", mod.Path, mod.Version, err))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 16:56:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/cache.go

    	} else if !os.IsNotExist(err) {
    		return dir, err
    	}
    
    	// Check if a .ziphash file exists. It should be created before the
    	// zip is extracted, but if it was deleted (by another program?), we need
    	// to re-calculate it. Note that checkMod will repopulate the ziphash
    	// file if it doesn't exist, but if the module is excluded by checks
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  4. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/ZipHasher.java

    import java.util.Set;
    
    public class ZipHasher implements RegularFileSnapshotContextHasher, ConfigurableNormalizer {
    
        private static final Set<String> KNOWN_ZIP_EXTENSIONS = ImmutableSet.of("zip", "jar", "war", "rar", "ear", "apk", "aar", "klib");
        private static final Logger LOGGER = LoggerFactory.getLogger(ZipHasher.class);
        private static final HashCode EMPTY_HASH_MARKER = Hashing.signature(ZipHasher.class);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. 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)
  6. platforms/jvm/normalization-java/src/main/java/org/gradle/internal/fingerprint/classpath/impl/ClasspathFingerprintingStrategy.java

            ResourceSnapshotterCacheService cacheService,
            Interner<String> stringInterner,
            ZipHasher.HashingExceptionReporter hashingExceptionReporter
        ) {
            ZipHasher fallbackZipHasher = new ZipHasher(runtimeClasspathResourceHasher);
            ZipHasher zipHasher = new ZipHasher(classpathResourceHasher, fallbackZipHasher, hashingExceptionReporter);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  7. src/runtime/map_faststr.go

    	top := tophash(hash)
    
    	var insertb *bmap
    	var inserti uintptr
    	var insertk unsafe.Pointer
    
    bucketloop:
    	for {
    		for i := uintptr(0); i < abi.MapBucketCount; i++ {
    			if b.tophash[i] != top {
    				if isEmpty(b.tophash[i]) && insertb == nil {
    					insertb = b
    					inserti = i
    				}
    				if b.tophash[i] == emptyRest {
    					break bucketloop
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy

        ResourceEntryFilter propertyResourceFilter = new IgnoringResourceEntryFilter(ImmutableSet.copyOf("created-by", "पशुपतिरपि"))
        ZipHasher zipHasher = new ZipHasher(resourceHasher(ResourceEntryFilter.FILTER_NOTHING, ResourceEntryFilter.FILTER_NOTHING))
        ZipHasher ignoringZipHasher = new ZipHasher(resourceHasher(manifestResourceFilter, propertyResourceFilter))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/wrapper-shared/src/test/groovy/org/gradle/wrapper/InstallTest.groovy

            install = new Install(new Logger(true), download, pathAssembler)
        }
    
        private void initConfiguration() {
            configuration.zipBase = PathAssembler.PROJECT_STRING
            configuration.zipPath = 'someZipPath'
            configuration.distributionBase = PathAssembler.GRADLE_USER_HOME_STRING
            configuration.distributionPath = 'someDistPath'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/wrapper/WrapperConfiguration.java

        }
    
        public String getZipBase() {
            return zipBase;
        }
    
        public void setZipBase(String zipBase) {
            this.zipBase = zipBase;
        }
    
        public String getZipPath() {
            return zipPath;
        }
    
        public void setZipPath(String zipPath) {
            this.zipPath = zipPath;
        }
    
        public int getNetworkTimeout() {
            return networkTimeout;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:12:34 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top