Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewMethodSet (0.04 sec)

  1. src/cmd/api/main_test.go

    	default:
    		w.emitf("type %s %s", name, w.typeString(typ.Underlying()))
    	}
    
    	// emit methods with value receiver
    	var methodNames map[string]bool
    	vset := types.NewMethodSet(typ)
    	for i, n := 0, vset.Len(); i < n; i++ {
    		m := vset.At(i)
    		if m.Obj().Exported() {
    			w.emitMethod(m)
    			if methodNames == nil {
    				methodNames = make(map[string]bool)
    			}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 03:25:33 UTC 2025
    - 31.4K bytes
    - Viewed (0)
  2. api/go1.5.txt

    pkg go/types, func NewInterface([]*Func, []*Named) *Interface
    pkg go/types, func NewLabel(token.Pos, *Package, string) *Label
    pkg go/types, func NewMap(Type, Type) *Map
    pkg go/types, func NewMethodSet(Type) *MethodSet
    pkg go/types, func NewNamed(*TypeName, Type, []*Func) *Named
    pkg go/types, func NewPackage(string, string) *Package
    pkg go/types, func NewParam(token.Pos, *Package, string, Type) *Var
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
Back to top