func unsafe.StringData
8 uses
unsafe (current package)
unsafe.go#L271: func StringData(str string) *byte
os
file.go#L300: b := unsafe.Slice(unsafe.StringData(s), len(s))
runtime
debuglog.go#L344: strData := unsafe.StringData(x)
heapdump.go#L160: dumpmemrange(unsafe.Pointer(unsafe.StringData(s)), uintptr(len(s)))
heapdump.go#L204: dwrite(unsafe.Pointer(unsafe.StringData(pkgpath)), uintptr(len(pkgpath)))
heapdump.go#L206: dwrite(unsafe.Pointer(unsafe.StringData(name)), uintptr(len(name)))
runtime.go#L225: writeErrData(unsafe.StringData(s), int32(len(s)))
string.go#L165: ptr := uintptr(unsafe.Pointer(unsafe.StringData(s)))
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)