func math/big.NewInt
54 uses
math/big (current package)
int.go#L68: func NewInt(x int64) *Int {
rat.go#L445: if f := NewInt(0).lehmerGCD(nil, nil, &z.a, &z.b); f.Cmp(intOne) != 0 {
crypto/dsa
dsa.go#L189: two := big.NewInt(2)
crypto/ecdsa
ecdsa.go#L188: two := big.NewInt(2)
crypto/rsa
rsa.go#L38: var bigZero = big.NewInt(0)
rsa.go#L39: var bigOne = big.NewInt(1)
rsa.go#L334: e := big.NewInt(int64(priv.E))
rsa.go#L388: e := big.NewInt(int64(pub.E))
rsa.go#L523: bigE := big.NewInt(int64(priv.E))
encoding/asn1
asn1.go#L130: var bigOne = big.NewInt(1)
github.com/jackc/pgtype
numeric.go#L23: var big0 *big.Int = big.NewInt(0)
numeric.go#L24: var big1 *big.Int = big.NewInt(1)
numeric.go#L25: var big10 *big.Int = big.NewInt(10)
numeric.go#L26: var big100 *big.Int = big.NewInt(100)
numeric.go#L27: var big1000 *big.Int = big.NewInt(1000)
numeric.go#L29: var bigMaxInt8 *big.Int = big.NewInt(math.MaxInt8)
numeric.go#L30: var bigMinInt8 *big.Int = big.NewInt(math.MinInt8)
numeric.go#L31: var bigMaxInt16 *big.Int = big.NewInt(math.MaxInt16)
numeric.go#L32: var bigMinInt16 *big.Int = big.NewInt(math.MinInt16)
numeric.go#L33: var bigMaxInt32 *big.Int = big.NewInt(math.MaxInt32)
numeric.go#L34: var bigMinInt32 *big.Int = big.NewInt(math.MinInt32)
numeric.go#L35: var bigMaxInt64 *big.Int = big.NewInt(math.MaxInt64)
numeric.go#L36: var bigMinInt64 *big.Int = big.NewInt(math.MinInt64)
numeric.go#L37: var bigMaxInt *big.Int = big.NewInt(int64(maxInt))
numeric.go#L38: var bigMinInt *big.Int = big.NewInt(int64(minInt))
numeric.go#L40: var bigMaxUint8 *big.Int = big.NewInt(math.MaxUint8)
numeric.go#L41: var bigMaxUint16 *big.Int = big.NewInt(math.MaxUint16)
numeric.go#L42: var bigMaxUint32 *big.Int = big.NewInt(math.MaxUint32)
numeric.go#L46: var bigNBase *big.Int = big.NewInt(nbase)
numeric.go#L47: var bigNBaseX2 *big.Int = big.NewInt(nbase * nbase)
numeric.go#L48: var bigNBaseX3 *big.Int = big.NewInt(nbase * nbase * nbase)
numeric.go#L49: var bigNBaseX4 *big.Int = big.NewInt(nbase * nbase * nbase * nbase)
numeric.go#L93: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L95: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L97: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L99: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L101: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L103: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L105: *dst = Numeric{Int: big.NewInt(value), Status: Present}
numeric.go#L109: *dst = Numeric{Int: big.NewInt(int64(value)), Status: Present}
numeric.go#L370: mul.Exp(big10, big.NewInt(int64(dst.Exp)), nil)
numeric.go#L376: div.Exp(big10, big.NewInt(int64(-dst.Exp)), nil)
numeric.go#L470: *dst = Numeric{Int: big.NewInt(0), Status: Present}
numeric.go#L501: accum.Add(accum, big.NewInt(int64accum))
numeric.go#L629: divisor.Exp(big10, big.NewInt(int64(-exp)), nil)
golang.org/x/crypto/openpgp/packet
public_key.go#L189: e: fromBig(big.NewInt(int64(pub.E))),
public_key_v3.go#L46: e: fromBig(big.NewInt(int64(pub.E))),
golang.org/x/crypto/ssh
kex.go#L604: one := big.NewInt(1)
kex.go#L706: gex.g = big.NewInt(2)
messages.go#L583: var bigOne = big.NewInt(1)
golang.org/x/crypto/ssh/agent
client.go#L541: E: big.NewInt(int64(k.E)),
google.golang.org/api/idtoken
validate.go#L205: r := big.NewInt(0).SetBytes(sig[:es256KeySize])
validate.go#L206: s := big.NewInt(0).SetBytes(sig[es256KeySize:])
vendor/golang.org/x/crypto/cryptobyte
asn1.go#L301: var bigOne = big.NewInt(1)
 |
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. |