bytes.Clone
standard libraryThe 3104th most-called standard-library function by production calls. Called 389 times across 81 modules; 197 of those run outside tests and generated code.
1% in production calls vs 2026-W39 (195 → 197)
- prod calls
- 197
- non-test, non-generated
- all calls
- 389
- total callsites
- modules
- 81
- distinct callers
- in loop
- 18%
- of prod calls
- in tests
- 49%
- 192 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 Clone from notable Go projects. Open one on the map to see what else it hammers.
- Tailscale 17 9%
- Kubernetes 4 2%
- Go (golang.org/x) 3 2%
- InfluxDB 3 2%
- Prometheus 3 2%
where it's called
Callsites in the wild
12 representative callsites of 389, prioritizing in-loop and non-test usage. We link to source, never display it.
- in loop
-
canopy-network/canopy @v0.1.29-0.20260925213558-8c2976334ef5
in loop - in loop
- in loop
-
gopacket/gopacket @v1.7.3
in loop - in loop
-
sagernet/tailscale @v1.102.1-sing-box-1.14-mod.5
in loop -
slackhq/nebula @v1.11.2
in loop - in loop
-
x/net @v0.59.0
html/token.go:904
in loop -
grafana/dskit @v0.0.0-20260928073014-b6a53f6bee29
in loop -
nats-io/nats.go @v1.54.0
in loop
top callers
The modules that reach for it
The modules that call Clone most in this snapshot.
- github.com/terrastruct/d25514%
- github.com/weaviate/weaviate4311%
- github.com/ethereum/go-ethereum318%
- github.com/canopy-network/canopy256%
- github.com/tailscale/tailscale226%
siblings
More from bytes
The other most-called functions in this package. See all →