- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 42 for BeUint64 (0.14 sec)
-
src/internal/chacha8rand/chacha8.go
} // Init seeds the State with the given seed value. func (s *State) Init(seed [32]byte) { s.Init64([4]uint64{ byteorder.LeUint64(seed[0*8:]), byteorder.LeUint64(seed[1*8:]), byteorder.LeUint64(seed[2*8:]), byteorder.LeUint64(seed[3*8:]), }) } // Init64 seeds the state with the given seed value. func (s *State) Init64(seed [4]uint64) { s.seed = seed block(&s.seed, &s.buf, 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:47:29 UTC 2024 - 4.4K bytes - Viewed (0) -
src/os/dir_unix.go
case 8: return uint64(byteorder.BeUint64(b)) default: panic("syscall: readInt with unsupported size") } } func readIntLE(b []byte, size uintptr) uint64 { switch size { case 1: return uint64(b[0]) case 2: return uint64(byteorder.LeUint16(b)) case 4: return uint64(byteorder.LeUint32(b)) case 8: return uint64(byteorder.LeUint64(b)) default:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 20:11:45 UTC 2024 - 4.8K bytes - Viewed (0) -
src/crypto/md5/md5.go
b, d.s[3] = consumeUint32(b) b = b[copy(d.x[:], b):] b, d.len = consumeUint64(b) d.nx = int(d.len % BlockSize) return nil } func consumeUint64(b []byte) ([]byte, uint64) { return b[8:], byteorder.BeUint64(b[0:8]) } func consumeUint32(b []byte) ([]byte, uint32) { return b[4:], byteorder.BeUint32(b[0:4]) } // New returns a new hash.Hash computing the MD5 checksum. The Hash also
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 4.3K bytes - Viewed (0) -
src/crypto/sha256/sha256.go
b, d.h[7] = consumeUint32(b) b = b[copy(d.x[:], b):] b, d.len = consumeUint64(b) d.nx = int(d.len % chunk) return nil } func consumeUint64(b []byte) ([]byte, uint64) { return b[8:], byteorder.BeUint64(b) } func consumeUint32(b []byte) ([]byte, uint32) { return b[4:], byteorder.BeUint32(b) } func (d *digest) Reset() { if !d.is224 { d.h[0] = init0 d.h[1] = init1 d.h[2] = init2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 5.7K bytes - Viewed (0) -
src/crypto/sha1/sha1.go
b, d.h[4] = consumeUint32(b) b = b[copy(d.x[:], b):] b, d.len = consumeUint64(b) d.nx = int(d.len % chunk) return nil } func consumeUint64(b []byte) ([]byte, uint64) { return b[8:], byteorder.BeUint64(b) } func consumeUint32(b []byte) ([]byte, uint32) { return b[4:], byteorder.BeUint32(b) } func (d *digest) Reset() { d.h[0] = init0 d.h[1] = init1 d.h[2] = init2 d.h[3] = init3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 5.7K bytes - Viewed (0) -
src/crypto/sha512/sha512.go
b, d.h[7] = consumeUint64(b) b = b[copy(d.x[:], b):] b, d.len = consumeUint64(b) d.nx = int(d.len % chunk) return nil } func consumeUint64(b []byte) ([]byte, uint64) { return b[8:], byteorder.BeUint64(b) } // New returns a new hash.Hash computing the SHA-512 checksum. func New() hash.Hash { if boring.Enabled { return boring.NewSHA512() } d := &digest{function: crypto.SHA512} d.Reset()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:50:58 UTC 2024 - 9.2K bytes - Viewed (0) -
src/net/netip/netip.go
// An IPv4-mapped IPv6 address is left as an IPv6 address. // (Use Unmap to convert them if needed.) func AddrFrom16(addr [16]byte) Addr { return Addr{ addr: uint128{ byteorder.BeUint64(addr[:8]), byteorder.BeUint64(addr[8:]), }, z: z6noz, } } // ParseAddr parses s as an IP address, returning the result. The string // s can be in dotted decimal ("192.0.2.1"), IPv6 ("2001:db8::68"),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 43.2K bytes - Viewed (0) -
src/crypto/internal/bigmod/nat.go
return x, nil } // bigEndianUint returns the contents of buf interpreted as a // big-endian encoded uint value. func bigEndianUint(buf []byte) uint { if _W == 64 { return uint(byteorder.BeUint64(buf)) } return uint(byteorder.BeUint32(buf)) } func (x *Nat) setBytes(b []byte, m *Modulus) error { x.resetFor(m) i, k := len(b), 0 for k < len(x.limbs) && i >= _S {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 18:57:38 UTC 2024 - 24K bytes - Viewed (0) -
src/math/big/nat.go
i++ } return } // bigEndianWord returns the contents of buf interpreted as a big-endian encoded Word value. func bigEndianWord(buf []byte) Word { if _W == 64 { return Word(byteorder.BeUint64(buf)) } return Word(byteorder.BeUint32(buf)) } // setBytes interprets buf as the bytes of a big-endian unsigned // integer, sets z to that value, and returns z.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 21:31:58 UTC 2024 - 31.7K bytes - Viewed (0) -
src/hash/maphash/maphash_purego.go
} func rthashString(s string, state uint64) uint64 { return rthash([]byte(s), state) } func randUint64() uint64 { buf := make([]byte, 8) _, _ = rand.Read(buf) return byteorder.LeUint64(buf) } // This is a port of wyhash implementation in runtime/hash64.go, // without using unsafe for purego. const ( m1 = 0xa0761d6478bd642f m2 = 0xe7037ed1a0b428db m3 = 0x8ebc6af09c88c6e3
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 12 05:36:29 UTC 2024 - 1.8K bytes - Viewed (0)