bytes.Buffer.Grow
standard libraryThe 2654th most-called standard-library method by production calls. Called 301 times across 134 modules; 226 of those run outside tests and generated code.
- prod calls
- 226
- non-test, non-generated
- all calls
- 301
- total callsites
- modules
- 134
- distinct callers
- in loop
- 5%
- of prod calls
- in tests
- 19%
- 58 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 →
- Concrete method95%A method on a value whose type is known exactly.
- Embedded method5%Reached through an embedded type.
who calls this
Notable callers
Production calls into Buffer.Grow from notable Go projects. Open one on the map to see what else it hammers.
- Grafana 15 7%
- InfluxDB 4 2%
- containerd 3 1%
- Dgraph 3 1%
- Tailscale 3 1%
where it's called
Callsites in the wild
12 representative callsites of 301, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
Tencent/WeKnora @v0.7.1
internal/application/repository/retriever/elasticsearch/v7/repository.go:360 ↗
in loop - in loop
- in loop
- in loop
- in loop
-
google.golang.org/api @v0.292.0
google-api-go-generator/gen.go:392
in loop - in loop
-
tailscale.com @v1.102.2
feature/tap/tap_linux.go:465
in loop -
vitess.io/vitess @v0.24.2
go/vt/vttablet/tabletmanager/vreplication/replicator_plan.go:556
in loop - in loop
- in loop
top callers
The modules that reach for it
The modules that call Buffer.Grow most in this snapshot.
- github.com/segmentio/kafka-go207%
- github.com/grafana/pyroscope83%
- github.com/elastic/go-elasticsearch/v772%
- github.com/sagernet/sing72%
- github.com/anthropics/anthropic-sdk-go62%
siblings
More from bytes
The other most-called members in this package. See all →