func unsafe.String
11 uses
unsafe (current package)
unsafe.go#L262: func String(ptr *byte, len IntegerType) string
internal/abi
unsafestring_go120.go#L13: return unsafe.String(b, l)
internal/reflectlite
type.go#L198: return unsafe.String(n.data(1+i, "non-empty string"), l)
type.go#L207: return unsafe.String(n.data(1+i+l+i2, "non-empty string"), l2)
runtime
proc.go#L675: s := unsafe.String(p, findnull(p))
string.go#L105: return unsafe.String((*byte)(p), 1)
string.go#L115: return unsafe.String((*byte)(p), n)
string.go#L163: return unsafe.String(ptr, n)
string.go#L268: return unsafe.String((*byte)(p), size), unsafe.Slice((*byte)(p), size)
strings
builder.go#L49: return unsafe.String(unsafe.SliceData(b.buf), len(b.buf))
clone.go#L27: return unsafe.String(&b[0], len(b))
|
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |