encoding/binary.Size
standard libraryThe 3269th most-called standard-library function by production calls. Called 239 times across 43 modules; 183 of those run outside tests and generated code.
2% in production calls vs 2026-W37 (180 → 183)
- prod calls
- 183
- non-test, non-generated
- all calls
- 239
- total callsites
- modules
- 43
- distinct callers
- in loop
- 10%
- of prod calls
- in tests
- 23%
- 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 Size from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 20 11%
- Cilium 15 8%
- containerd 4 2%
- Dgraph 3 2%
where it's called
Callsites in the wild
12 representative callsites of 239, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
Binject/debug @v0.0.0-20260128230015-4e22595eaac6
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
go.temporal.io/server @v1.32.0
common/archiver/gcloud/history_archiver.go:173
in loop -
Binject/debug @v0.0.0-20260128230015-4e22595eaac6
in loop - in loop
top callers
The modules that reach for it
The modules that call Size most in this snapshot.
- github.com/Binject/debug2812%
- github.com/anchore/syft2711%
- github.com/tylertreat/BoomFilters2711%
- github.com/cilium/ebpf2510%
- github.com/u-root/u-root219%
siblings
More from encoding/binary
The other most-called functions in this package. See all →