github.com/cespare/xxhash/v2.Digest.n (field)
14 uses
github.com/cespare/xxhash/v2 (current package)
xxhash.go#L41: n int // how much of mem is used
xxhash.go#L58: d.n = 0
xxhash.go#L72: if d.n+n < 32 {
xxhash.go#L74: copy(d.mem[d.n:], b)
xxhash.go#L75: d.n += n
xxhash.go#L79: if d.n > 0 {
xxhash.go#L81: copy(d.mem[d.n:], b)
xxhash.go#L86: b = b[32-d.n:]
xxhash.go#L87: d.n = 0
xxhash.go#L98: d.n = len(b)
xxhash.go#L136: i, end := 0, d.n
xxhash.go#L176: b = append(b, d.mem[:d.n]...)
xxhash.go#L177: b = b[:len(b)+len(d.mem)-d.n]
xxhash.go#L197: d.n = int(d.total % uint64(len(d.mem)))
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |