Skip to content
callcount

reflect.Type.Len

standard library

The 5522nd most-called standard-library method by production calls. Called 120 times across 42 modules; 107 of those run outside tests and generated code.

All of reflect → Docs on pkg.go.dev ↗

prod calls
107
non-test, non-generated
all calls
120
total callsites
modules
42
distinct callers
in loop
18%
of prod calls
in tests
11%
13 calls
resolved
0%
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 →

  • Interface method100%Called through an interface. The runtime target may differ.

who calls this

Notable callers

Production calls into Type.Len from notable Go projects. Open one on the map to see what else it hammers.

where it's called

Callsites in the wild

12 representative callsites of 120, prioritizing in-loop and non-test usage. We link to source, never display it.

Type.Len · 12 of 120 callsites

top callers

The modules that reach for it

The modules that call Type.Len most in this snapshot.

  • github.com/ugorji/go/codec2017%
  • github.com/google/gvisor98%
  • github.com/parquet-go/parquet-go76%
  • github.com/tinygo-org/tinygo65%
  • github.com/sagernet/tailscale54%

siblings

More from reflect

The other most-called members in this package. See all →