internal/abi.Name.Bytes (field)
23 uses
internal/abi (current package)
type.go#L617: Bytes *byte
type.go#L623: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), whySafe))
type.go#L629: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), "the runtime doesn't need to give you a reason"))
type.go#L634: return (*n.Bytes)&(1<<0) != 0
type.go#L639: return (*n.Bytes)&(1<<1) != 0
type.go#L644: return (*n.Bytes)&(1<<3) != 0
type.go#L662: if n.Bytes == nil {
type.go#L686: if n.Bytes == nil {
type.go#L738: return Name{Bytes: &b[0]}
internal/reflectlite
type.go#L197: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L210: pkgPathName := name{(*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
type.go#L234: return abi.Name{Bytes: (*byte)(resolveNameOff(unsafe.Pointer(t.Type), int32(off)))}
reflect
type.go#L415: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L428: pkgPathName := abi.Name{Bytes: (*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
type.go#L541: return aNameOff(addReflectOff(unsafe.Pointer(n.Bytes)))
type.go#L558: return abi.Name{Bytes: (*byte)(resolveNameOff(unsafe.Pointer(t), int32(off)))}
runtime
runtime1.go#L657: return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
runtime1.go#L698: return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
type.go#L130: return name{Bytes: (*byte)(unsafe.Pointer(res))}
type.go#L145: return name{Bytes: (*byte)(res)}
type.go#L255: if n.Bytes == nil || *n.Data(0)&(1<<2) == 0 {
type.go#L266: pkgPathName := resolveNameOff(unsafe.Pointer(n.Bytes), nameOff)
 |
The pages are generated with Golds v0.7.6. (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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |