math/big.Int.SetBytes
standard libraryThe 1073rd most-called standard-library method by production calls. Called 867 times across 131 modules; 654 of those run outside tests and generated code.
No change in production calls since 2026-W48.
- prod calls
- 654
- non-test, non-generated
- all calls
- 867
- total callsites
- modules
- 131
- distinct callers
- in loop
- 7%
- of prod calls
- in tests
- 25%
- 213 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 →
- Concrete method100%A method on a value whose type is known exactly.
- Embedded method<1%Reached through an embedded type.
who calls this
Notable callers
Production calls into Int.SetBytes from notable Go projects. Open one on the map to see what else it hammers.
- Go (golang.org/x) 53 8%
- Cilium 24 4%
- Grafana 19 3%
- Kubernetes 13 2%
- SPIFFE 6 <1%
where it's called
Callsites in the wild
12 representative callsites of 867, prioritizing in-loop and non-test usage. We link to source, never display it.
-
cilium/dns @v1.1.50
in loop -
miekg/dns @v0.6.152
dnssec_keyscan.go:91
in loop -
MicahParks/jwkset @v0.12.0
in loop -
NoFxAiOS/nofx @v0.0.0-20261104124651-65e9037b4527
in loop -
XTLS/Xray-core @v1.260327.0
in loop -
canopy-network/canopy @v0.1.35-0.20261118183009-1c37b13eb465
in loop -
cloudflare/circl @v1.6.5
in loop -
drand/kyber @v1.3.3
in loop - in loop
-
miekg/dns @v1.1.73
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Int.SetBytes most in this snapshot.
- github.com/ethereum/go-ethereum8410%
- github.com/cloudflare/circl678%
- golang.org/x/crypto587%
- github.com/MicahParks/jwkset445%
- github.com/zmap/zcrypto324%
siblings
More from math/big
The other most-called members in this package. See all →