internal/abi.Name.Bytes (field)
23 uses
internal/abi (current package)
type.go#L590: Bytes *byte
type.go#L596: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), whySafe))
type.go#L602: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), "the runtime doesn't need to give you a reason"))
type.go#L607: return (*n.Bytes)&(1<<0) != 0
type.go#L612: return (*n.Bytes)&(1<<1) != 0
type.go#L617: return (*n.Bytes)&(1<<3) != 0
type.go#L635: if n.Bytes == nil {
type.go#L659: if n.Bytes == nil {
type.go#L711: return Name{Bytes: &b[0]}
internal/reflectlite
type.go#L211: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L224: pkgPathName := name{(*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
type.go#L244: return abi.Name{Bytes: (*byte)(resolveNameOff(unsafe.Pointer(t.Type), int32(off)))}
reflect
type.go#L386: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L399: pkgPathName := abi.Name{Bytes: (*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
type.go#L509: return aNameOff(addReflectOff(unsafe.Pointer(n.Bytes)))
type.go#L526: return abi.Name{Bytes: (*byte)(resolveNameOff(unsafe.Pointer(t), int32(off)))}
runtime
runtime1.go#L604: return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
runtime1.go#L626: return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
type.go#L121: return name{Bytes: (*byte)(unsafe.Pointer(res))}
type.go#L136: return name{Bytes: (*byte)(res)}
type.go#L237: if n.Bytes == nil || *n.Data(0)&(1<<2) == 0 {
type.go#L248: pkgPathName := resolveNameOff(unsafe.Pointer(n.Bytes), nameOff)
|
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. |