sync/atomic.AddInt32
standard libraryThe 1018th most-called standard-library function by production calls. Called 2,138 times across 251 modules; 640 of those run outside tests and generated code.
- prod calls
- 640
- non-test, non-generated
- all calls
- 2,138
- total callsites
- modules
- 251
- distinct callers
- in loop
- 20%
- of prod calls
- in tests
- 55%
- 1,181 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 AddInt32 from notable Go projects. Open one on the map to see what else it hammers.
- Dgraph 32 5%
- Kubernetes 32 5%
- gRPC 28 4%
- CockroachDB 27 4%
- MinIO 22 3%
where it's called
Callsites in the wild
12 representative callsites of 2,138, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
dgraph-io/badger @v1.6.2
in loop -
etcd-io/etcd @v2.3.8+incompatible
in loop -
ardanlabs/gotraining @v0.0.0-20260512011504-4ae5a46bfc66
in loop - in loop
- in loop
- in loop
- in loop
top callers
The modules that reach for it
The modules that call AddInt32 most in this snapshot.
- github.com/99designs/gqlgen25612%
- github.com/cloudwego/eino1447%
- github.com/zeromicro/go-zero894%
- github.com/cockroachdb/cockroach784%
- github.com/nats-io/nats-server/v2563%
siblings
More from sync/atomic
The other most-called functions in this package. See all →