golang.org/x/sys/unix.SetsockoptInt
third-partyThe 2539th most-called third-party function by production calls. Called 259 times across 50 modules; 242 of those run outside tests and generated code.
2% in production calls vs 2026-W37 (237 → 242)
- prod calls
- 242
- non-test, non-generated
- all calls
- 259
- total callsites
- modules
- 50
- distinct callers
- in loop
- 2%
- of prod calls
- in tests
- 7%
- 17 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 SetsockoptInt from notable Go projects. Open one on the map to see what else it hammers.
where it's called
Callsites in the wild
12 representative callsites of 259, prioritizing in-loop and non-test usage. We link to source, never display it.
-
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop - in loop
- in loop
-
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop - in loop
-
google/gvisor @v0.0.0-20260919054224-26f3455a4cb9
in loop -
x/sys @v0.48.0
unix/creds_test.go:44
in loop test -
x/sys @v0.48.0
unix/creds_test.go:163
in loop test -
x/sys @v0.48.0
unix/creds_test.go:227
in loop test -
x/sys @v0.48.0
unix/creds_test.go:229
in loop test -
cilium/dns @v1.1.50
-
miekg/dns @v0.6.114
cmd/atomdns/internal/reuse/listen.go:16
top callers
The modules that reach for it
The modules that call SetsockoptInt most in this snapshot.
- github.com/google/gvisor218%
- github.com/sagernet/quic-go166%
- github.com/apernet/quic-go125%
- github.com/cilium/cilium125%
- github.com/lucas-clemente/quic-go125%
siblings
More from golang.org/x/sys/unix
The other most-called functions in this package. See all →