sync/atomic.StoreInt32
standard libraryThe 1133rd most-called standard-library function by production calls. Called 816 times across 176 modules; 560 of those run outside tests and generated code.
- prod calls
- 560
- non-test, non-generated
- all calls
- 816
- total callsites
- modules
- 176
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 31%
- 256 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 StoreInt32 from notable Go projects. Open one on the map to see what else it hammers.
- NATS 28 5%
- CockroachDB 27 5%
- Kubernetes 21 4%
- gRPC 18 3%
- Consul 14 3%
where it's called
Callsites in the wild
12 representative callsites of 816, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
cockroachdb/cockroach @v19.2.12+incompatible
in loop - in loop
- in loop
-
bettercap/readline @v0.0.0-20210228151553-655e48bcb7bf
in loop - in loop
-
cloudwego/eino @v0.9.13
in loop -
dop251/goja @v0.0.0-20260723142020-b4aef50fa347
in loop -
dop251/goja_nodejs @v0.0.0-20260212111938-1f56ff5bcf14
in loop -
eclipse/paho.mqtt.golang @v1.5.1
in loop -
fish2018/pansou @v0.0.0-20260614140555-de1fcb7311c7
in loop - in loop
top callers
The modules that reach for it
The modules that call StoreInt32 most in this snapshot.
- github.com/cockroachdb/cockroach547%
- github.com/hyperledger/fabric547%
- github.com/nats-io/nats-server/v2456%
- github.com/panjf2000/ants/v2283%
- github.com/seaweedfs/seaweedfs273%
siblings
More from sync/atomic
The other most-called functions in this package. See all →