- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test28896 (0.06 sec)
-
src/cmd/cgo/internal/test/test.go
case 1: return unsafe.Offsetof(po.g2) case 2: return unsafe.Offsetof(ui.f2) case 3: return unsafe.Offsetof(uo.g2) default: panic("can't happen") } } func test28896(t *testing.T) { for i := 0; i < 4; i++ { c := uintptr(C.offset(C.int(i))) g := offset(i) if c != g { t.Errorf("%d: C: %d != Go %d", i, c, g) } } } // issue 29383
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 48.5K bytes - Viewed (0)