Skip to content
callcount

google.golang.org/protobuf/encoding/protowire.AppendVarint

third-party

The 9123rd most-called third-party function by production calls. Called 307 times across 10 modules; 65 of those run outside tests and generated code.

All of google.golang.org/protobuf/encoding/protowire → Docs on pkg.go.dev ↗

prod calls
65
non-test, non-generated
all calls
307
total callsites
modules
10
distinct callers
in loop
43%
of prod calls
in tests
7%
21 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 AppendVarint 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 307, prioritizing in-loop and non-test usage. We link to source, never display it.

AppendVarint · 12 of 307 callsites
  • in loop
  • google.golang.org/protobuf @v1.36.11

    internal/encoding/messageset/messageset.go:126

    in loop
  • vitess.io/vitess @v0.24.2

    go/sqltypes/value.go:752

    in loop
  • in loop
  • google.golang.org/protobuf @v1.36.11

    internal/impl/codec_gen.go:155

    in loop
  • vitess.io/vitess @v0.24.2

    go/sqltypes/value.go:753

    in loop
  • google.golang.org/protobuf @v1.36.11

    internal/impl/codec_gen.go:156

    in loop
  • google.golang.org/protobuf @v1.36.11

    internal/impl/codec_field_opaque.go:162

    in loop
  • google.golang.org/protobuf @v1.36.11

    internal/encoding/messageset/messageset.go:162

    in loop
  • google.golang.org/protobuf @v1.36.11

    internal/impl/codec_field_opaque.go:164

    in loop
  • google.golang.org/protobuf @v1.36.11

    testing/protopack/pack.go:207

    in loop
  • google.golang.org/protobuf @v1.36.11

    testing/protopack/pack.go:209

    in loop

top callers

The modules that reach for it

The modules that call AppendVarint most in this snapshot.

  • google.golang.org/protobuf27489%
  • github.com/slackhq/nebula165%
  • github.com/bufbuild/buf41%
  • github.com/golang/protobuf3<1%
  • github.com/canopy-network/canopy2<1%

siblings

More from google.golang.org/protobuf/encoding/protowire

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