math/big.Int.Lsh (method)
15 uses
math/big (current package)
int.go#L914: tx := new(Int).Lsh(x, 1) // tx = 2*x
int.go#L1008: 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
elliptic.go#L75: threeX := new(big.Int).Lsh(x, 1)
elliptic.go#L177: i := new(big.Int).Lsh(h, 1)
elliptic.go#L195: r.Lsh(r, 1)
elliptic.go#L209: s1.Lsh(s1, 1)
elliptic.go#L249: alpha.Lsh(alpha, 1)
elliptic.go#L255: beta8 := new(big.Int).Lsh(beta, 3)
elliptic.go#L275: beta.Lsh(beta, 2)
elliptic.go#L283: gamma.Lsh(gamma, 3)
go/constant
value.go#L994: z.AndNot(z, newInt().Lsh(big.NewInt(-1), prec)) // z &^= (-1)<<prec
value.go#L1288: return makeInt(z.Lsh(z, s))
value.go#L1300: return makeInt(z.Lsh(x.val, s))