runtime.slice.array (field)
19 uses
runtime (current package)
alg.go#L299: return memhash(s.array, seed, uintptr(s.len))
cgocall.go#L260: atomicstorep(unsafe.Pointer(&p.array), unsafe.Pointer(&s[0]))
cgocall.go#L491: p = s.array
debuglog.go#L306: bb.array = str.str
iface.go#L382: if (*slice)(unsafe.Pointer(&val)).array == nil {
mbarrier.go#L284: return slicecopy(dst.array, dst.len, src.array, src.len, elemType.size)
mbarrier.go#L286: return typedslicecopy(elemType, dst.array, dst.len, src.array, src.len)
mheap.go#L507: sp.array = sysAlloc(uintptr(n)*sys.PtrSize, &memstats.other_sys)
mheap.go#L508: if sp.array == nil {
print.go#L20: rp.array = sp.str
print.go#L251: printpointer(sp.array)
slice.go#L14: array unsafe.Pointer
slice.go#L128: racereadrangepc(old.array, uintptr(old.len*int(et.size)), callerpc, funcPC(growslice))
slice.go#L131: msanread(old.array, uintptr(old.len*int(et.size)))
slice.go#L234: bulkBarrierPreWriteSrcOnly(uintptr(p), uintptr(old.array), lenmem-et.size+et.ptrdata)
slice.go#L237: memmove(p, old.array, lenmem)
stack.go#L1308: *(*slice)(unsafe.Pointer(&objs)) = slice{array: noescape(p), len: int(n), cap: int(n)}
 |
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. |