math/big.NewInt
standard libraryThe 349th most-called standard-library function by production calls. Called 6,746 times across 378 modules; 2,469 of those run outside tests and generated code.
- prod calls
- 2,469
- non-test, non-generated
- all calls
- 6,746
- total callsites
- modules
- 378
- distinct callers
- in loop
- 5%
- of prod calls
- in tests
- 63%
- 4,277 calls
- resolved
- 100%
- to a known target
resolution mix
How each call resolves
How each call was attributed. Only resolved kinds, where the target function is known, count toward the ranking. Interface dispatch and unresolved receivers are reported separately and never guessed. Read the taxonomy →
- Package function100%A direct call to an exported package function, resolved by type.
who calls this
Notable callers
Production calls into NewInt from notable Go projects. Open one on the map to see what else it hammers.
- Kubernetes 131 5%
- Cilium 50 2%
- SPIFFE 25 1%
- Vault 25 1%
- CockroachDB 24 <1%
where it's called
Callsites in the wild
12 representative callsites of 6,746, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cilium/cilium @v1.20.0
in loop - in loop
-
go/storage @v1.64.0
dataflux/range_splitter.go:174
in loop -
containerd/stargz-snapshotter/estargz @v0.18.2
testutil.go:2327
in loop -
docker/distribution @v2.8.3+incompatible
in loop -
Binject/binjection @v0.0.0-20210701074423-605d46e35deb
in loop - in loop
-
GoogleContainerTools/skaffold/v2 @v2.24.0
fs/assets/credits_generated/github.com/letsencrypt/boulder/goodkey/good_key.go:362 ↗
in loop -
XTLS/Xray-core @v1.260327.0
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call NewInt most in this snapshot.
- github.com/ethereum/go-ethereum2,96644%
- github.com/google/grumpy2093%
- github.com/canopy-network/canopy1853%
- github.com/cznic/mathutil1843%
- github.com/cloudflare/circl1773%
siblings
More from math/big
The other most-called functions in this package. See all →