- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for check2ndField (0.15 sec)
-
src/reflect/all_test.go
} type T2inner struct { a, b int } type T2 struct { T2inner f int } x := T1{T1inner{2}, 17} check2ndField(x, uintptr(unsafe.Pointer(&x.f))-uintptr(unsafe.Pointer(&x)), t) x1 := T2{T2inner{2, 3}, 17} check2ndField(x1, uintptr(unsafe.Pointer(&x1.f))-uintptr(unsafe.Pointer(&x1)), t) } func Nil(a any, t *testing.T) { n := ValueOf(a).Field(0) if !n.IsNil() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)