Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FirstMethodNameBytes (0.25 sec)

  1. src/internal/reflectlite/export_test.go

    }
    
    type EmbedWithUnexpMeth struct{}
    
    func (EmbedWithUnexpMeth) f() {}
    
    type pinUnexpMeth interface {
    	f()
    }
    
    var pinUnexpMethI = pinUnexpMeth(EmbedWithUnexpMeth{})
    
    func FirstMethodNameBytes(t Type) *byte {
    	_ = pinUnexpMethI
    
    	ut := t.uncommon()
    	if ut == nil {
    		panic("type has no methods")
    	}
    	m := ut.Methods()[0]
    	mname := t.(rtype).nameOff(m.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/reflect/export_test.go

    }
    
    type EmbedWithUnexpMeth struct{}
    
    func (EmbedWithUnexpMeth) f() {}
    
    type pinUnexpMeth interface {
    	f()
    }
    
    var pinUnexpMethI = pinUnexpMeth(EmbedWithUnexpMeth{})
    
    func FirstMethodNameBytes(t Type) *byte {
    	_ = pinUnexpMethI
    
    	ut := t.uncommon()
    	if ut == nil {
    		panic("type has no methods")
    	}
    	m := ut.Methods()[0]
    	mname := t.(*rtype).nameOff(m.Name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top