Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newBasic (0.53 sec)

  1. src/cmd/compile/internal/types/type.go

    func fieldsHasShape(fields []*Field) bool {
    	for _, f := range fields {
    		if f.Type != nil && f.Type.HasShape() {
    			return true
    		}
    	}
    	return false
    }
    
    // newBasic returns a new basic type of the given kind.
    func newBasic(kind Kind, obj Object) *Type {
    	t := newType(kind)
    	t.obj = obj
    	return t
    }
    
    // NewInterface returns a new interface for the given methods and
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top