- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ifaceeq (0.47 sec)
-
src/reflect/value.go
if !tt.nameOff(m.Name).IsExported() { panic("reflect: " + op + " of unexported method") } iface := (*nonEmptyInterface)(v.ptr) if iface.itab == nil { panic("reflect: " + op + " of method on nil interface value") } rcvrtype = iface.itab.Type fn = unsafe.Pointer(&unsafe.Slice(&iface.itab.Fun[0], i+1)[i]) t = (*funcType)(unsafe.Pointer(tt.typeOff(m.Typ))) } else { rcvrtype = v.typ()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0) -
src/reflect/all_test.go
if _, ok := rv.Interface().(Iface); ok != table.impl { if table.impl { t.Errorf("test-%d-%d: type=%v fails to implement Iface.\n", i, j, table.typ) } else { t.Errorf("test-%d-%d: type=%v should NOT implement Iface\n", i, j, table.typ) } continue } if !table.impl { continue } v := rv.Interface().(Iface).Get() if v != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 218.8K bytes - Viewed (0)