runtime.MemStats.Mallocs (field)
9 uses
runtime (current package)
heapdump.go#L571: dumpint(m.Mallocs)
mstats.go#L206: Mallocs uint64
mstats.go#L488: stats.Mallocs = memstats.nmalloc
runtime/pprof
pprof.go#L622: fmt.Fprintf(w, "# Mallocs = %d\n", s.Mallocs)
testing
allocs.go#L29: mallocs := 0 - memstats.Mallocs
allocs.go#L38: mallocs += memstats.Mallocs
benchmark.go#L124: b.startAllocs = memStats.Mallocs
benchmark.go#L138: b.netAllocs += memStats.Mallocs - b.startAllocs
benchmark.go#L159: b.startAllocs = memStats.Mallocs
The pages are generated with Golds v0.2.8-preview. (GOOS=darwin GOARCH=arm64)