func runtime.mallocgc
31 uses
runtime (current package)
chan.go#L95: c = (*hchan)(mallocgc(hchanSize, nil, true))
chan.go#L101: c = (*hchan)(mallocgc(hchanSize+mem, nil, true))
chan.go#L106: c.buf = mallocgc(mem, elem, true)
iface.go#L136: t2 := (*itabTableType)(mallocgc((2+2*t.size)*sys.PtrSize, nil, true))
iface.go#L325: x := mallocgc(t.size, t, true)
iface.go#L341: x = mallocgc(2, uint16Type, false)
iface.go#L354: x = mallocgc(4, uint32Type, false)
iface.go#L364: x = mallocgc(8, uint64Type, false)
iface.go#L374: x = mallocgc(unsafe.Sizeof(val), stringType, true)
iface.go#L385: x = mallocgc(unsafe.Sizeof(val), sliceType, true)
iface.go#L398: x := mallocgc(t.size, t, false)
iface.go#L413: x := mallocgc(t.size, t, true)
iface.go#L428: x := mallocgc(t.size, t, false)
malloc.go#L905: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L1177: return mallocgc(typ.size, typ, true)
malloc.go#L1182: return mallocgc(typ.size, typ, true)
malloc.go#L1187: return mallocgc(typ.size, typ, true)
malloc.go#L1193: return mallocgc(typ.size, typ, true)
malloc.go#L1199: return mallocgc(mem, typ, true)
mfinal.go#L192: frame = mallocgc(framesz, nil, true)
panic.go#L422: d = (*_defer)(mallocgc(total, deferType, true))
slice.go#L55: to = mallocgc(tomem, nil, false)
slice.go#L61: to = mallocgc(tomem, et, true)
slice.go#L98: return mallocgc(mem, et, true)
slice.go#L224: p = mallocgc(capmem, nil, false)
slice.go#L230: p = mallocgc(capmem, et, true)
string.go#L110: p = mallocgc(uintptr(n), nil, false)
string.go#L263: p := mallocgc(uintptr(size), nil, false)
string.go#L276: p := mallocgc(cap, nil, false)
string.go#L291: p := mallocgc(mem, nil, false)
string.go#L310: bp := mallocgc(uintptr(n), nil, false)
 |
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. |