Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 461 for hashed (0.19 sec)

  1. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	}
    
    	hashes, err := r.ReadHashes(indexes)
    	if err != nil {
    		return nil, err
    	}
    	if len(hashes) != len(indexes) {
    		return nil, fmt.Errorf("tlog: ReadHashes(%d indexes) = %d hashes", len(indexes), len(hashes))
    	}
    
    	tile := make([]byte, size*HashSize)
    	for i := 0; i < size; i++ {
    		copy(tile[i*HashSize:], hashes[i][:])
    	}
    	return tile, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/impl/DefaultFileSystemAccess.java

            this.statisticsCollector = statisticsCollector;
            this.defaultExcludes = ImmutableList.copyOf(defaultExcludes);
            this.directorySnapshotter = new DirectorySnapshotter(hasher, stringInterner, this.defaultExcludes, statisticsCollector);
            this.hasher = hasher;
            this.virtualFileSystem = virtualFileSystem;
        }
    
        @Override
        public FileSystemLocationSnapshot read(String location) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:35 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/scripts/BuildScriptCompilationAndInstrumentation.java

        public Identity identify(Map<String, ValueSnapshot> identityInputs, Map<String, CurrentFileCollectionFingerprint> identityFileInputs) {
            Hasher hasher = Hashing.newHasher();
            identityInputs.values().forEach(value -> requireNonNull(value).appendToHasher(hasher));
            String identity = hasher.hash().toString();
            return () -> identity;
        }
    
        @Override
        @OverridingMethodsMustInvokeSuper
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/fmahash_test.go

    	source := filepath.Join("testdata", "fma.go")
    	output := filepath.Join(tmpdir, "fma.exe")
    	cmd := testenv.Command(t, gocmd, "build", "-o", output, source)
    	// The hash-dependence on file path name is dodged by specifying "all hashes ending in 1" plus "all hashes ending in 0"
    	// i.e., all hashes.  This will print all the FMAs; this test is only interested in one of them (that should appear near the end).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 21:57:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/services/CacheInstrumentationDataBuildService.java

                    if (snapshot.getType() == FileType.Missing) {
                        return null;
                    }
    
                    hasher.putHash(snapshot.getHash());
                    hasher.putString(file.getName());
                    return hasher.hash().toString();
                });
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. platforms/core-configuration/core-kotlin-extensions/src/main/kotlin/org/gradle/internal/extensions/core/FileSystemExtensions.kt

            // Making the hash order-independent by sorting the entries maximizes CC hits, even if the OS-returned order changes.
            Arrays.sort(entries)
            entries.forEach(hasher::putString)
            hasher.hash()
        } ?: NON_DIRECTORY_CHILDREN_NAMES_HASH
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 16:55:36 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/transform/DefaultTransform.java

                hasher.putString(entry.getKey());
                entry.getValue().appendToHasher(hasher);
            }
            for (Map.Entry<String, CurrentFileCollectionFingerprint> entry : result.getFileFingerprints().entrySet()) {
                hasher.putString(entry.getKey());
                hasher.putHash(entry.getValue().getHash());
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  8. samples/bookinfo/src/productpage/Dockerfile

    #   limitations under the License.
    
    FROM python:3.12.1-slim
    
    WORKDIR /
    
    COPY requirements.txt ./
    RUN pip3 install -vvv --require-hashes --no-cache-dir -r requirements.txt
    
    COPY test-requirements.txt ./
    RUN pip3 install --no-cache-dir --require-hashes -r test-requirements.txt
    
    COPY productpage.py /opt/microservices/
    COPY tests/unit/* /opt/microservices/
    COPY templates /opt/microservices/templates
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 10 14:35:54 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. src/runtime/map_fast64.go

    	if h.flags&hashWriting != 0 {
    		fatal("concurrent map writes")
    	}
    	hash := t.Hasher(noescape(unsafe.Pointer(&key)), uintptr(h.hash0))
    
    	// Set hashWriting after calling t.hasher for consistency with mapassign.
    	h.flags ^= hashWriting
    
    	if h.buckets == nil {
    		h.buckets = newobject(t.Bucket) // newarray(t.bucket, 1)
    	}
    
    again:
    	bucket := hash & bucketMask(h.B)
    	if h.growing() {
    		growWork_fast64(t, h, bucket)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. internal/hash/checksum.go

    		return "SHA1"
    	case c.Is(ChecksumSHA256):
    		return "SHA256"
    	case c.Is(ChecksumNone):
    		return ""
    	}
    	return "invalid"
    }
    
    // Hasher returns a hasher corresponding to the checksum type.
    // Returns nil if no checksum.
    func (c ChecksumType) Hasher() hash.Hash {
    	switch {
    	case c.Is(ChecksumCRC32):
    		return crc32.NewIEEE()
    	case c.Is(ChecksumCRC32C):
    		return crc32.New(crc32.MakeTable(crc32.Castagnoli))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 08 16:18:34 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top