- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for nameOffFor (0.26 sec)
-
src/reflect/type.go
vm := vmethods[j] vmName := nameOffFor(V, vm.Name) if vmName.Name() == tmName.Name() && typeOffFor(V, vm.Mtyp) == t.typeOff(tm.Typ) { if !tmName.IsExported() { tmPkgPath := pkgPath(tmName) if tmPkgPath == "" { tmPkgPath = t.PkgPath.Name() } vmPkgPath := pkgPath(vmName) if vmPkgPath == "" { vmPkgPath = nameOffFor(V, v.PkgPath).Name() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/reflect/value.go
} else { rcvrtype = v.typ() ms := v.typ().ExportedMethods() if uint(i) >= uint(len(ms)) { panic("reflect: internal error: invalid method index") } m := ms[i] if !nameOffFor(v.typ(), m.Name).IsExported() { panic("reflect: " + op + " of unexported method") } ifn := textOffFor(v.typ(), m.Ifn) fn = unsafe.Pointer(&ifn) t = (*funcType)(unsafe.Pointer(typeOffFor(v.typ(), m.Mtyp)))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 119.9K bytes - Viewed (0)