encoding/binary.Size
standard libraryThe 3476th most-called standard-library function by production calls. Called 242 times across 44 modules; 182 of those run outside tests and generated code.
No change in production calls since 2026-W48.
- prod calls
- 182
- non-test, non-generated
- all calls
- 242
- total callsites
- modules
- 44
- distinct callers
- in loop
- 9%
- of prod calls
- in tests
- 25%
- 60 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 16 9%
- Cilium 15 8%
- containerd 4 2%
- Dgraph 3 2%
where it's called
Callsites in the wild
12 representative callsites of 242, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
Binject/debug @v0.0.0-20261126045459-e12a5013357a
in loop - in loop
- in loop
- in loop
- in loop
- in loop
- in loop
- in loop
-
go.temporal.io/server @v1.32.2
common/archiver/gcloud/history_archiver.go:173
in loop -
Binject/debug @v0.0.0-20261126045459-e12a5013357a
in loop - in loop
top callers
The modules that reach for it
The modules that call Size most in this snapshot.
- github.com/anchore/syft3113%
- github.com/Binject/debug2812%
- 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 →