- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 316 for offsetsof (0.14 sec)
-
src/internal/bytealg/bytealg.go
import ( "internal/cpu" "unsafe" ) // Offsets into internal/cpu records for use in assembly. const ( offsetX86HasSSE42 = unsafe.Offsetof(cpu.X86.HasSSE42) offsetX86HasAVX2 = unsafe.Offsetof(cpu.X86.HasAVX2) offsetX86HasPOPCNT = unsafe.Offsetof(cpu.X86.HasPOPCNT) offsetS390xHasVX = unsafe.Offsetof(cpu.S390X.HasVX) offsetPPC64HasPOWER9 = unsafe.Offsetof(cpu.PPC64.IsPOWER9) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 3.1K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
_ = unsafe.Offsetof((((((((x))).f))))) unsafe /* ERROR "not used" */ .Offsetof(x.f) var y0 S0 assert(unsafe.Offsetof(y0.a) == 0) assert(unsafe.Offsetof(y0.b) == 4) assert(unsafe.Offsetof(y0.c) == 8) assert(unsafe.Offsetof(y0.d) == 16) assert(unsafe.Offsetof(y0.e) == 24) var y1 S1 assert(unsafe.Offsetof(y1.x) == 0) assert(unsafe.Offsetof(y1.y) == 8) assert(unsafe.Offsetof(y1.z) == 24)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
test/sizeof.go
var s1 S1 switch { case unsafe.Offsetof(s1.A) != 0: panic("unsafe.Offsetof(s1.A) != 0") case unsafe.Offsetof(s1.B) != 8: panic("unsafe.Offsetof(s1.B) != 8") case unsafe.Offsetof(s1.C) != 16: panic("unsafe.Offsetof(s1.C) != 16") case unsafe.Offsetof(s1.D) != 24: panic("unsafe.Offsetof(s1.D) != 24") case unsafe.Offsetof(s1.E) != 32: panic("unsafe.Offsetof(s1.E) != 32") case unsafe.Offsetof(s1.F) != 40:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 2.9K bytes - Viewed (0) -
src/runtime/align_runtime_test.go
unsafe.Offsetof(heapStatsDelta{}.largeFreeCount), unsafe.Offsetof(heapStatsDelta{}.committed), unsafe.Offsetof(heapStatsDelta{}.released), unsafe.Offsetof(heapStatsDelta{}.inHeap), unsafe.Offsetof(heapStatsDelta{}.inStacks), unsafe.Offsetof(heapStatsDelta{}.inPtrScalarBits), unsafe.Offsetof(heapStatsDelta{}.inWorkBufs), unsafe.Offsetof(lfnode{}.next), unsafe.Offsetof(mstats{}.last_gc_nanotime), unsafe.Offsetof(mstats{}.last_gc_unix),
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 1.8K bytes - Viewed (0) -
test/fixedbugs/issue4909a.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 23:59:57 UTC 2020 - 839 bytes - Viewed (0) -
src/os/dirent_aix.go
package os import ( "syscall" "unsafe" ) func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Ino), unsafe.Sizeof(syscall.Dirent{}.Ino)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 759 bytes - Viewed (0) -
src/os/dirent_netbsd.go
func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Fileno), unsafe.Sizeof(syscall.Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
test/fixedbugs/bug292.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 413 bytes - Viewed (0) -
src/os/dirent_linux.go
package os import ( "syscall" "unsafe" ) func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Ino), unsafe.Sizeof(syscall.Dirent{}.Ino)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0) -
src/os/dirent_openbsd.go
func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Fileno), unsafe.Sizeof(syscall.Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Reclen), unsafe.Sizeof(syscall.Dirent{}.Reclen)) } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 20 00:59:20 UTC 2020 - 1.2K bytes - Viewed (0)