math/big.Int.SetInt64 (method)
22 uses
math/big (current package)
float.go#L1089: return z.SetInt64(0), acc
float.go#L1116: return z.SetInt64(0), Exact
int.go#L49: func (z *Int) SetInt64(x int64) *Int {
int.go#L69: return new(Int).SetInt64(x)
int.go#L179: return z.SetInt64(1) // empty range
int.go#L181: return z.SetInt64(0) // range includes 0
int.go#L493: return z.SetInt64(1)
int.go#L681: Ua = new(Int).SetInt64(1)
int.go#L939: n.SetInt64(2)
int.go#L968: t.SetInt64(0).SetBit(&t, int(r-m-1), 1).Exp(&g, &t, p)
int.go#L986: return z.SetInt64(0) // sqrt(0) mod p = 0
rat.go#L323: z.a.SetInt64(a)
rat.go#L341: z.a.SetInt64(x)
crypto/dsa
dsa.go#L96: one.SetInt64(1)
dsa.go#L139: h.SetInt64(2)
crypto/ecdsa
ecdsa.go#L129: var one = new(big.Int).SetInt64(1)
crypto/elliptic
elliptic.go#L87: z.SetInt64(1)
elliptic.go#L261: Bz := new(big.Int).SetInt64(1)
crypto/rsa
rsa.go#L227: de := new(big.Int).SetInt64(int64(priv.E))
golang.org/x/crypto/ssh
kex.go#L394: g: new(big.Int).SetInt64(2),
kex.go#L404: g: new(big.Int).SetInt64(2),
keys.go#L368: e := new(big.Int).SetInt64(int64(r.E))
![]() |
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. |