type runtime.slice
26 uses
runtime (current package)
alg.go#L298: s := (*slice)(unsafe.Pointer(&b))
cgocall.go#L259: p := (*slice)(unsafe.Pointer(&gp.cgoCtxt))
cgocall.go#L266: p := (*slice)(unsafe.Pointer(&gp.cgoCtxt))
cgocall.go#L490: s := (*slice)(p)
debuglog.go#L305: bb := (*slice)(unsafe.Pointer(&b))
iface.go#L382: if (*slice)(unsafe.Pointer(&val)).array == nil {
mbarrier.go#L282: func reflect_typedslicecopy(elemType *_type, dst, src slice) int {
metrics.go#L479: sl := slice{samplesp, len, cap}
mheap.go#L506: sp := (*slice)(unsafe.Pointer(&new))
print.go#L18: rp := (*slice)(unsafe.Pointer(&ret))
print.go#L249: sp := (*slice)(unsafe.Pointer(&s))
slice.go#L13: type slice struct {
slice.go#L125: func growslice(et *_type, old slice, cap int) slice {
slice.go#L141: return slice{unsafe.Pointer(&zerobase), old.len, cap}
slice.go#L239: return slice{p, old.len, newcap}
stack.go#L1308: *(*slice)(unsafe.Pointer(&objs)) = slice{array: noescape(p), len: int(n), cap: int(n)}
string.go#L268: *(*slice)(unsafe.Pointer(&b)) = slice{p, size, size}
string.go#L281: *(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(cap)}
string.go#L296: *(*slice)(unsafe.Pointer(&b)) = slice{p, size, int(mem / 4)}
string.go#L313: *(*slice)(unsafe.Pointer(&b)) = slice{bp, n, 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. |