- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 146 for rthash (0.43 sec)
-
src/hash/maphash/maphash_runtime.go
) //go:linkname runtime_rand runtime.rand func runtime_rand() uint64 //go:linkname runtime_memhash runtime.memhash //go:noescape func runtime_memhash(p unsafe.Pointer, seed, s uintptr) uintptr func rthash(buf []byte, seed uint64) uint64 { if len(buf) == 0 { return seed } len := len(buf) // The runtime hasher only works on uintptr. For 64-bit // architectures, we use the hasher directly. Otherwise,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 1.2K bytes - Viewed (0) -
src/hash/maphash/maphash_purego.go
//go:build purego package maphash import ( "crypto/rand" "internal/byteorder" "math/bits" ) func rthash(buf []byte, seed uint64) uint64 { if len(buf) == 0 { return seed } return wyhash(buf, seed, uint64(len(buf))) } func rthashString(s string, state uint64) uint64 { return rthash([]byte(s), state) } func randUint64() uint64 { buf := make([]byte, 8) _, _ = rand.Read(buf)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 1.8K bytes - Viewed (0) -
src/hash/maphash/maphash.go
} // A Hash computes a seeded hash of a byte sequence. // // The zero Hash is a valid Hash ready to use. // A zero Hash chooses a random seed for itself during // the first call to a Reset, Write, Seed, or Sum64 method. // For control over the seed, use SetSeed. // // The computed hash values depend only on the initial seed and // the sequence of bytes provided to the Hash object, not on the way
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 19:15:34 UTC 2023 - 7.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java
dstIndex += blob.length; } else { System.arraycopy( lmHash, 0, dst, dstIndex, lmHash.length ); dstIndex += lmHash.length; System.arraycopy( ntHash, 0, dst, dstIndex, ntHash.length ); dstIndex += ntHash.length; dstIndex += writeString( accountName, dst, dstIndex );
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 7.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
dstIndex += this.blob.length; } else { System.arraycopy(this.lmHash, 0, dst, dstIndex, this.lmHash.length); dstIndex += this.lmHash.length; System.arraycopy(this.ntHash, 0, dst, dstIndex, this.ntHash.length); dstIndex += this.ntHash.length; dstIndex += writeString(this.accountName, dst, dstIndex);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Mar 17 10:20:23 UTC 2019 - 8.8K bytes - Viewed (0) -
src/internal/zstd/xxhash_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 17:34:06 UTC 2023 - 2.3K bytes - Viewed (0) -
platforms/core-execution/hashing/src/main/java/org/gradle/internal/hash/DefaultStreamHasher.java
return doHash(inputStream, outputStream); } private HashCode doHash(InputStream inputStream, OutputStream outputStream) throws IOException { byte[] buffer = takeBuffer(); try { PrimitiveHasher hasher = Hashing.newPrimitiveHasher(); hasher.putHash(SIGNATURE); while (true) { int nread = inputStream.read(buffer);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:43:29 UTC 2023 - 2.5K bytes - Viewed (0) -
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) -
src/internal/zstd/xxhash.go
xxhPrime64c5 = 0x27d4eb2f165667c5 ) // xxhash64 is the state of a xxHash-64 checksum. type xxhash64 struct { len uint64 // total length hashed v [4]uint64 // accumulators buf [32]byte // buffer cnt int // number of bytes in buffer } // reset discards the current state and prepares to compute a new hash. // We assume a seed of 0 since that is what zstd uses. func (xh *xxhash64) reset() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 18 20:34:13 UTC 2023 - 3.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java
* NT password hash */ public NtlmNtHashAuthenticator ( String domain, String username, byte[] passwordHash ) { super(domain, username, null, AuthenticationType.USER); if ( passwordHash == null || passwordHash.length != 16 ) { throw new IllegalArgumentException("Password hash must be provided, expected length 16 byte"); } this.ntHash = passwordHash; } /**
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Tue Jul 07 12:07:20 UTC 2020 - 2.5K bytes - Viewed (0)