encoding/binary.littleEndian.Uint32 (method)
87 uses
encoding/binary (current package)
binary.go#L63: func (littleEndian) Uint32(b []byte) uint32 {
archive/zip
reader.go#L613: v := binary.LittleEndian.Uint32(*b)
compress/gzip
gunzip.go#L189: if t := int64(le.Uint32(z.buf[4:8])); t > 0 {
gunzip.go#L264: digest := le.Uint32(z.buf[:4])
gunzip.go#L265: size := le.Uint32(z.buf[4:8])
crypto/md5
md5block.go#L27: x0 := binary.LittleEndian.Uint32(q[4*0x0:])
md5block.go#L28: x1 := binary.LittleEndian.Uint32(q[4*0x1:])
md5block.go#L29: x2 := binary.LittleEndian.Uint32(q[4*0x2:])
md5block.go#L30: x3 := binary.LittleEndian.Uint32(q[4*0x3:])
md5block.go#L31: x4 := binary.LittleEndian.Uint32(q[4*0x4:])
md5block.go#L32: x5 := binary.LittleEndian.Uint32(q[4*0x5:])
md5block.go#L33: x6 := binary.LittleEndian.Uint32(q[4*0x6:])
md5block.go#L34: x7 := binary.LittleEndian.Uint32(q[4*0x7:])
md5block.go#L35: x8 := binary.LittleEndian.Uint32(q[4*0x8:])
md5block.go#L36: x9 := binary.LittleEndian.Uint32(q[4*0x9:])
md5block.go#L37: xa := binary.LittleEndian.Uint32(q[4*0xa:])
md5block.go#L38: xb := binary.LittleEndian.Uint32(q[4*0xb:])
md5block.go#L39: xc := binary.LittleEndian.Uint32(q[4*0xc:])
md5block.go#L40: xd := binary.LittleEndian.Uint32(q[4*0xd:])
md5block.go#L41: xe := binary.LittleEndian.Uint32(q[4*0xe:])
md5block.go#L42: xf := binary.LittleEndian.Uint32(q[4*0xf:])
github.com/cespare/xxhash/v2
xxhash.go#L213: func u32(b []byte) uint32 { return binary.LittleEndian.Uint32(b) }
go.opencensus.io/tag
map_codec.go#L108: i := binary.LittleEndian.Uint32(eg.buf[eg.readIdx:])
golang.org/x/crypto/chacha20
chacha_generic.go#L98: binary.LittleEndian.Uint32(key[0:4]),
chacha_generic.go#L99: binary.LittleEndian.Uint32(key[4:8]),
chacha_generic.go#L100: binary.LittleEndian.Uint32(key[8:12]),
chacha_generic.go#L101: binary.LittleEndian.Uint32(key[12:16]),
chacha_generic.go#L102: binary.LittleEndian.Uint32(key[16:20]),
chacha_generic.go#L103: binary.LittleEndian.Uint32(key[20:24]),
chacha_generic.go#L104: binary.LittleEndian.Uint32(key[24:28]),
chacha_generic.go#L105: binary.LittleEndian.Uint32(key[28:32]),
chacha_generic.go#L108: binary.LittleEndian.Uint32(nonce[0:4]),
chacha_generic.go#L109: binary.LittleEndian.Uint32(nonce[4:8]),
chacha_generic.go#L110: binary.LittleEndian.Uint32(nonce[8:12]),
chacha_generic.go#L361: x4 := binary.LittleEndian.Uint32(key[0:4])
chacha_generic.go#L362: x5 := binary.LittleEndian.Uint32(key[4:8])
chacha_generic.go#L363: x6 := binary.LittleEndian.Uint32(key[8:12])
chacha_generic.go#L364: x7 := binary.LittleEndian.Uint32(key[12:16])
chacha_generic.go#L365: x8 := binary.LittleEndian.Uint32(key[16:20])
chacha_generic.go#L366: x9 := binary.LittleEndian.Uint32(key[20:24])
chacha_generic.go#L367: x10 := binary.LittleEndian.Uint32(key[24:28])
chacha_generic.go#L368: x11 := binary.LittleEndian.Uint32(key[28:32])
chacha_generic.go#L369: x12 := binary.LittleEndian.Uint32(nonce[0:4])
chacha_generic.go#L370: x13 := binary.LittleEndian.Uint32(nonce[4:8])
chacha_generic.go#L371: x14 := binary.LittleEndian.Uint32(nonce[8:12])
chacha_generic.go#L372: x15 := binary.LittleEndian.Uint32(nonce[12:16])
golang.org/x/crypto/curve25519
curve25519_generic.go#L70: return int64(binary.LittleEndian.Uint32(in))
golang.org/x/pkgsite/internal/godoc/codec
codec.go#L150: return binary.LittleEndian.Uint32(d.readBytes(4))
google.golang.org/grpc/credentials/alts/internal/conn
aeadrekey.go#L107: nonce2 := binary.LittleEndian.Uint32(nonce[sizeUint64:])
aeadrekey.go#L109: mask2 := binary.LittleEndian.Uint32(mask[sizeUint64:])
common.go#L61: length := binary.LittleEndian.Uint32(msgLenField)
record.go#L181: msgType := binary.LittleEndian.Uint32(msg[:msgTypeFieldSize])
vendor/golang.org/x/crypto/chacha20
chacha_generic.go#L98: binary.LittleEndian.Uint32(key[0:4]),
chacha_generic.go#L99: binary.LittleEndian.Uint32(key[4:8]),
chacha_generic.go#L100: binary.LittleEndian.Uint32(key[8:12]),
chacha_generic.go#L101: binary.LittleEndian.Uint32(key[12:16]),
chacha_generic.go#L102: binary.LittleEndian.Uint32(key[16:20]),
chacha_generic.go#L103: binary.LittleEndian.Uint32(key[20:24]),
chacha_generic.go#L104: binary.LittleEndian.Uint32(key[24:28]),
chacha_generic.go#L105: binary.LittleEndian.Uint32(key[28:32]),
chacha_generic.go#L108: binary.LittleEndian.Uint32(nonce[0:4]),
chacha_generic.go#L109: binary.LittleEndian.Uint32(nonce[4:8]),
chacha_generic.go#L110: binary.LittleEndian.Uint32(nonce[8:12]),
chacha_generic.go#L361: x4 := binary.LittleEndian.Uint32(key[0:4])
chacha_generic.go#L362: x5 := binary.LittleEndian.Uint32(key[4:8])
chacha_generic.go#L363: x6 := binary.LittleEndian.Uint32(key[8:12])
chacha_generic.go#L364: x7 := binary.LittleEndian.Uint32(key[12:16])
chacha_generic.go#L365: x8 := binary.LittleEndian.Uint32(key[16:20])
chacha_generic.go#L366: x9 := binary.LittleEndian.Uint32(key[20:24])
chacha_generic.go#L367: x10 := binary.LittleEndian.Uint32(key[24:28])
chacha_generic.go#L368: x11 := binary.LittleEndian.Uint32(key[28:32])
chacha_generic.go#L369: x12 := binary.LittleEndian.Uint32(nonce[0:4])
chacha_generic.go#L370: x13 := binary.LittleEndian.Uint32(nonce[4:8])
chacha_generic.go#L371: x14 := binary.LittleEndian.Uint32(nonce[8:12])
chacha_generic.go#L372: x15 := binary.LittleEndian.Uint32(nonce[12:16])
vendor/golang.org/x/crypto/chacha20poly1305
chacha20poly1305_amd64.go#L34: state[4] = binary.LittleEndian.Uint32(key[0:4])
chacha20poly1305_amd64.go#L35: state[5] = binary.LittleEndian.Uint32(key[4:8])
chacha20poly1305_amd64.go#L36: state[6] = binary.LittleEndian.Uint32(key[8:12])
chacha20poly1305_amd64.go#L37: state[7] = binary.LittleEndian.Uint32(key[12:16])
chacha20poly1305_amd64.go#L38: state[8] = binary.LittleEndian.Uint32(key[16:20])
chacha20poly1305_amd64.go#L39: state[9] = binary.LittleEndian.Uint32(key[20:24])
chacha20poly1305_amd64.go#L40: state[10] = binary.LittleEndian.Uint32(key[24:28])
chacha20poly1305_amd64.go#L41: state[11] = binary.LittleEndian.Uint32(key[28:32])
chacha20poly1305_amd64.go#L44: state[13] = binary.LittleEndian.Uint32(nonce[0:4])
chacha20poly1305_amd64.go#L45: state[14] = binary.LittleEndian.Uint32(nonce[4:8])
chacha20poly1305_amd64.go#L46: state[15] = binary.LittleEndian.Uint32(nonce[8:12])
vendor/golang.org/x/crypto/curve25519
curve25519_generic.go#L70: return int64(binary.LittleEndian.Uint32(in))
 |
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. |