func unsafe.Offsetof
38 uses
unsafe (current package)
unsafe.go#L194: func Offsetof(x ArbitraryType) uintptr
go.opentelemetry.io/otel/api/global/internal
meter.go#L341: "meterProvider.delegate": unsafe.Offsetof(meterProvider{}.delegate),
meter.go#L342: "meterImpl.delegate": unsafe.Offsetof(meterImpl{}.delegate),
meter.go#L343: "syncImpl.delegate": unsafe.Offsetof(syncImpl{}.delegate),
meter.go#L344: "asyncImpl.delegate": unsafe.Offsetof(asyncImpl{}.delegate),
meter.go#L345: "syncHandle.delegate": unsafe.Offsetof(syncHandle{}.delegate),
golang.org/x/sys/unix
dirent.go#L81: const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
syscall_darwin.go#L98: return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
syscall_darwin.go#L102: return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
syscall_darwin.go#L106: return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
internal/bytealg
bytealg.go#L14: offsetX86HasSSE2 = unsafe.Offsetof(cpu.X86.HasSSE2)
bytealg.go#L15: offsetX86HasSSE42 = unsafe.Offsetof(cpu.X86.HasSSE42)
bytealg.go#L16: offsetX86HasAVX2 = unsafe.Offsetof(cpu.X86.HasAVX2)
bytealg.go#L17: offsetX86HasPOPCNT = unsafe.Offsetof(cpu.X86.HasPOPCNT)
bytealg.go#L19: offsetS390xHasVX = unsafe.Offsetof(cpu.S390X.HasVX)
runtime
cpuflags.go#L14: offsetX86HasAVX = unsafe.Offsetof(cpu.X86.HasAVX)
cpuflags.go#L15: offsetX86HasAVX2 = unsafe.Offsetof(cpu.X86.HasAVX2)
cpuflags.go#L16: offsetX86HasERMS = unsafe.Offsetof(cpu.X86.HasERMS)
cpuflags.go#L17: offsetX86HasSSE2 = unsafe.Offsetof(cpu.X86.HasSSE2)
cpuflags.go#L19: offsetARMHasIDIVA = unsafe.Offsetof(cpu.ARM.HasIDIVA)
cpuflags.go#L21: offsetMIPS64XHasMSA = unsafe.Offsetof(cpu.MIPS64X.HasMSA)
map.go#L83: dataOffset = unsafe.Offsetof(struct {
mfinal.go#L98: unsafe.Offsetof(finalizer{}.fn) != 0 ||
mfinal.go#L99: unsafe.Offsetof(finalizer{}.arg) != sys.PtrSize ||
mfinal.go#L100: unsafe.Offsetof(finalizer{}.nret) != 2*sys.PtrSize ||
mfinal.go#L101: unsafe.Offsetof(finalizer{}.fint) != 3*sys.PtrSize ||
mfinal.go#L102: unsafe.Offsetof(finalizer{}.ot) != 4*sys.PtrSize) {
mheap.go#L2041: if uintptr(unsafe.Offsetof(gcBitsArena{}.bits))&7 == 0 {
mstats.go#L446: if offset := unsafe.Offsetof(memstats.heap_live); offset%8 != 0 {
mstats.go#L450: if offset := unsafe.Offsetof(memstats.heapStats); offset%8 != 0 {
mstats.go#L454: if offset := unsafe.Offsetof(memstats.gcPauseDist); offset%8 != 0 {
runtime1.go#L202: if unsafe.Offsetof(y1.y) != 1 {
syscall
dirent.go#L81: const namoff = uint64(unsafe.Offsetof(Dirent{}.Name))
route_bsd.go#L116: offsetofInet4 = int(unsafe.Offsetof(RawSockaddrInet4{}.Addr))
route_bsd.go#L117: offsetofInet6 = int(unsafe.Offsetof(RawSockaddrInet6{}.Addr))
syscall_darwin.go#L58: return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino))
syscall_darwin.go#L62: return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen))
syscall_darwin.go#L66: return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen))
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |