runtime.mstats.by_size (field)
11 uses
runtime (current package)
malloc.go#L432: memstats.by_size[i].size = uint32(class_to_size[i])
mstats.go#L84: by_size [_NumSizeClasses]struct {
mstats.go#L545: if l := len(memstats.by_size); l < bySizeLen {
mstats.go#L549: stats.BySize[i].Size = memstats.by_size[i].size
mstats.go#L550: stats.BySize[i].Mallocs = memstats.by_size[i].nmalloc
mstats.go#L551: stats.BySize[i].Frees = memstats.by_size[i].nfree
mstats.go#L629: for i := 0; i < len(memstats.by_size); i++ {
mstats.go#L630: memstats.by_size[i].nmalloc = 0
mstats.go#L631: memstats.by_size[i].nfree = 0
mstats.go#L649: memstats.by_size[i].nmalloc = a
mstats.go#L655: memstats.by_size[i].nfree = f
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |