internal/abi.Name.Bytes (field)
23 uses
internal/abi (current package)
type.go#L591: Bytes *byte
type.go#L597: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), whySafe))
type.go#L603: return (*byte)(addChecked(unsafe.Pointer(n.Bytes), uintptr(off), "the runtime doesn't need to give you a reason"))
type.go#L608: return (*n.Bytes)&(1<<0) != 0
type.go#L613: return (*n.Bytes)&(1<<1) != 0
type.go#L618: return (*n.Bytes)&(1<<3) != 0
type.go#L636: if n.Bytes == nil {
type.go#L660: if n.Bytes == nil {
type.go#L712: 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#L443: if n.Bytes == nil || *n.DataChecked(0, "name flag field")&(1<<2) == 0 {
type.go#L456: pkgPathName := abi.Name{Bytes: (*byte)(resolveTypeOff(unsafe.Pointer(n.Bytes), nameOff))}
type.go#L569: return aNameOff(addReflectOff(unsafe.Pointer(n.Bytes)))
type.go#L586: return abi.Name{Bytes: (*byte)(resolveNameOff(unsafe.Pointer(t), int32(off)))}
runtime
runtime1.go#L654: return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
runtime1.go#L694: return unsafe.Pointer(resolveNameOff(ptrInModule, nameOff(off)).Bytes)
type.go#L306: return name{Bytes: (*byte)(unsafe.Pointer(res))}
type.go#L321: return name{Bytes: (*byte)(res)}
type.go#L420: if n.Bytes == nil || *n.Data(0)&(1<<2) == 0 {
type.go#L431: pkgPathName := resolveNameOff(unsafe.Pointer(n.Bytes), nameOff)
 |
The pages are generated with Golds v0.8.4. (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. |