math/big.Int.Lsh (method)
17 uses
math/big (current package)
int.go#L1012: tx := new(Int).Lsh(x, 1) // tx = 2*x
int.go#L1106: func (z *Int) Lsh(x *Int, n uint) *Int {
rat.go#L66: z.b.Lsh(&z.b, uint(shift))
rat.go#L68: z.a.Lsh(&z.a, uint(-shift))
crypto/elliptic
params.go#L40: threeX := new(big.Int).Lsh(x, 1)
params.go#L156: i := new(big.Int).Lsh(h, 1)
params.go#L174: r.Lsh(r, 1)
params.go#L188: s1.Lsh(s1, 1)
params.go#L235: alpha.Lsh(alpha, 1)
params.go#L241: beta8 := new(big.Int).Lsh(beta, 3)
params.go#L261: beta.Lsh(beta, 2)
params.go#L269: gamma.Lsh(gamma, 3)
crypto/x509
oid.go#L321: bigVal = bigVal.Lsh(bigVal, bitsPerByte).Or(bigVal, big.NewInt(int64(curVal)))
x509.go#L1680: maxSerial := big.NewInt(1).Lsh(big.NewInt(1), 20*8)
go/constant
value.go#L1003: z.AndNot(z, newInt().Lsh(big.NewInt(-1), prec)) // z &^= (-1)<<prec
value.go#L1294: return makeInt(z.Lsh(z, s))
value.go#L1306: return makeInt(z.Lsh(x.val, s))