Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 745 for hashed (0.11 sec)

  1. src/runtime/hash32.go

    func memhash32Fallback(p unsafe.Pointer, seed uintptr) uintptr {
    	a, b := mix32(uint32(seed), uint32(4^hashkey[0]))
    	t := readUnaligned32(p)
    	a ^= t
    	b ^= t
    	a, b = mix32(a, b)
    	a, b = mix32(a, b)
    	return uintptr(a ^ b)
    }
    
    func memhash64Fallback(p unsafe.Pointer, seed uintptr) uintptr {
    	a, b := mix32(uint32(seed), uint32(8^hashkey[0]))
    	a ^= readUnaligned32(p)
    	b ^= readUnaligned32(add(p, 4))
    	a, b = mix32(a, b)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/HashingInputStream.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingInputStream extends FilterInputStream {
      private final Hasher hasher;
    
      /**
       * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data
       * read from it to the underlying {@link InputStream}.
       *
       * <p>The {@link InputStream} should not be read from before or after the hand-off.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/HashingOutputStream.java

    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingOutputStream extends FilterOutputStream {
      private final Hasher hasher;
    
      /**
       * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all
       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/HashingInputStream.java

     */
    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingInputStream extends FilterInputStream {
      private final Hasher hasher;
    
      /**
       * Creates an input stream that hashes using the given {@link HashFunction} and delegates all data
       * read from it to the underlying {@link InputStream}.
       *
       * <p>The {@link InputStream} should not be read from before or after the hand-off.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/HashingOutputStream.java

    @Beta
    @ElementTypesAreNonnullByDefault
    public final class HashingOutputStream extends FilterOutputStream {
      private final Hasher hasher;
    
      /**
       * Creates an output stream that hashes using the given {@link HashFunction}, and forwards all
       * data written to it to the underlying {@link OutputStream}.
       *
       * <p>The {@link OutputStream} should not be written to before or after the hand-off.
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/fingerprint/impl/DefaultCurrentFileCollectionFingerprint.java

            this.rootHashes = rootHashes;
        }
    
        @Override
        public HashCode getHash() {
            if (hash == null) {
                Hasher hasher = Hashing.newHasher();
                hashingStrategy.appendToHasher(hasher, fingerprints.values());
                hash = hasher.hash();
            }
            return hash;
        }
    
        @Override
        public boolean isEmpty() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  7. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/snapshot/MerkleDirectorySnapshotBuilder.java

                }
                Hasher hasher = Hashing.newHasher();
                hasher.putHash(DIR_SIGNATURE);
                for (FileSystemLocationSnapshot child : children) {
                    hasher.putString(child.getName());
                    hasher.putHash(child.getHash());
                }
                return new DirectorySnapshot(absolutePath, name, accessType, hasher.hash(), children);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:34:50 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/LineEndingNormalizingResourceHasherTest.groovy

            def hasher = LineEndingNormalizingResourceHasher.wrap(delegate, LineEndingSensitivity.DEFAULT)
            def snapshotContext = snapshotContext(file)
            def zipContext = zipContext(file)
    
            when:
            hasher.hash(snapshotContext)
    
            then:
            1 * delegate.hash(snapshotContext)
    
            when:
            hasher.hash(zipContext)
    
            then:
            1 * delegate.hash(zipContext)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  9. platforms/jvm/normalization-java/src/main/java/org/gradle/api/internal/changedetection/state/LineEndingNormalizingInputStreamHasher.java

    import org.gradle.internal.hash.HashCode;
    import org.gradle.internal.hash.Hashing;
    import org.gradle.internal.hash.PrimitiveHasher;
    
    import java.io.BufferedInputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Optional;
    
    /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. src/cmd/go/internal/cache/hash.go

    	}
    	h.Write(hashSalt)
    	if verify {
    		h.buf = new(bytes.Buffer)
    	}
    	return h
    }
    
    // Write writes data to the running hash.
    func (h *Hash) Write(b []byte) (int, error) {
    	if debugHash {
    		fmt.Fprintf(os.Stderr, "HASH[%s]: %q\n", h.name, b)
    	}
    	if h.buf != nil {
    		h.buf.Write(b)
    	}
    	return h.h.Write(b)
    }
    
    // Sum returns the hash of the data written previously.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 14 16:18:34 UTC 2021
    - 4.9K bytes
    - Viewed (0)
Back to top