Skip to content
callcount

tailscale.com/types/views.Slice.Len

third-party

The 7103rd most-called third-party method by production calls. Called 111 times across 1 modules; 83 of those run outside tests and generated code.

All of tailscale.com/types/views → Docs on pkg.go.dev ↗

prod calls
83
non-test, non-generated
all calls
111
total callsites
modules
1
distinct callers
in loop
12%
of prod calls
in tests
25%
28 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 method100%A method on a value whose type is known exactly.

where it's called

Callsites in the wild

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

Slice.Len · 12 of 111 callsites
  • tailscale.com @v1.102.2

    types/netmap/netmap.go:224

    in loop
  • tailscale.com @v1.102.2

    feature/conn25/conn25.go:280

    in loop
  • tailscale.com @v1.102.2

    types/views/views.go:521

    in loop
  • tailscale.com @v1.102.2

    cmd/containerboot/main.go:845

    in loop
  • tailscale.com @v1.102.2

    control/controlclient/map.go:1215

    in loop
  • tailscale.com @v1.102.2

    tstest/natlab/vmtest/vmtest.go:1509

    in loop
  • tailscale.com @v1.102.2

    tstest/natlab/vmtest/vmtest.go:1532

    in loop
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local.go:1581

    in loop
  • tailscale.com @v1.102.2

    ipn/ipnlocal/local.go:1582

    in loop
  • tailscale.com @v1.102.2

    wgengine/magicsock/magicsock.go:4493

    in loop
  • tailscale.com @v1.102.2

    types/views/views_test.go:67

    in loop test
  • tailscale.com @v1.102.2

    types/views/views_test.go:77

    in loop test

top callers

The modules that reach for it

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

  • tailscale.com111100%

siblings

More from tailscale.com/types/views

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