bytes.Clone
standard libraryThe 3649th most-called standard-library function by production calls. Called 237 times across 58 modules; 163 of those run outside tests and generated code.
- prod calls
- 163
- non-test, non-generated
- all calls
- 237
- total callsites
- modules
- 58
- distinct callers
- in loop
- 15%
- of prod calls
- in tests
- 31%
- 74 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 10%
- Kubernetes 7 4%
- InfluxDB 3 2%
- Cilium 1 <1%
- Docker 1 <1%
where it's called
Callsites in the wild
12 representative callsites of 237, prioritizing in-loop and non-test usage. We link to source, never display it.
-
canopy-network/canopy @v0.1.21-0.20260804152417-f06389d8a755
in loop - in loop
- in loop
-
sagernet/tailscale @v1.102.1
in loop -
slackhq/nebula @v1.11.0
in loop -
x/net @v0.57.0
html/token.go:904
in loop -
nats-io/nats.go @v1.52.0
in loop -
tailscale/tailscale @v1.102.2
in loop -
tailscale.com @v1.102.2
logtail/logtail.go:489
in loop - in loop
-
canopy-network/canopy @v0.1.21-0.20260804152417-f06389d8a755
in loop - in loop
top callers
The modules that reach for it
The modules that call Clone most in this snapshot.
- github.com/ethereum/go-ethereum3113%
- github.com/sagernet/tailscale229%
- github.com/tailscale/tailscale229%
- tailscale.com229%
- github.com/canopy-network/canopy198%
siblings
More from bytes
The other most-called functions in this package. See all →