Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intSlice (0.08 sec)

  1. src/reflect/type.go

    	m.Name = pname.Name()
    	fl := flag(Func)
    	mtyp := t.typeOff(p.Mtyp)
    	ft := (*funcType)(unsafe.Pointer(mtyp))
    	in := make([]Type, 0, 1+ft.NumIn())
    	in = append(in, t)
    	for _, arg := range ft.InSlice() {
    		in = append(in, toRType(arg))
    	}
    	out := make([]Type, 0, ft.NumOut())
    	for _, ret := range ft.OutSlice() {
    		out = append(out, toRType(ret))
    	}
    	mt := FuncOf(in, out, ft.IsVariadic())
    	m.Type = mt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top