flag.Int
standard libraryThe 785th most-called standard-library function by production calls. Called 941 times across 149 modules; 885 of those run outside tests and generated code.
0% in production calls vs 2026-W37 (883 → 885)
- prod calls
- 885
- non-test, non-generated
- all calls
- 941
- total callsites
- modules
- 149
- distinct callers
- in loop
- 0%
- of prod calls
- in tests
- 6%
- 56 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 Int from notable Go projects. Open one on the map to see what else it hammers.
- VictoriaMetrics 160 18%
- gRPC 76 9%
- Go (golang.org/x) 25 3%
- Kubernetes 21 2%
- Dgraph 19 2%
where it's called
Callsites in the wild
12 representative callsites of 941, prioritizing in-loop and non-test usage. We link to source, never display it.
-
-
go/profiler @v0.6.0
busybench/busybench.go:35
-
cockroachdb/cockroach @v19.2.12+incompatible
-
miekg/dns @v0.6.114
cmd/reflect/reflect.go:54
-
-
docker/docker @v28.5.2+incompatible
-
etcd-io/etcd @v2.3.8+incompatible
-
DNSCrypt/dnscrypt-proxy @v0.0.0-20260907210843-47ce24df6e86
-
-
-
OpenDiablo2/OpenDiablo2 @v0.0.0-20211021131836-7f92c571bf04
-
top callers
The modules that reach for it
The modules that call Int most in this snapshot.
- github.com/VictoriaMetrics/VictoriaLogs9310%
- github.com/VictoriaMetrics/VictoriaMetrics677%
- github.com/seaweedfs/seaweedfs394%
- github.com/grpc/grpc-go384%
- google.golang.org/grpc384%
siblings
More from flag
The other most-called functions in this package. See all →