Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for IdenticalIgnoreTags (0.45 sec)

  1. src/cmd/compile/internal/types2/api_predicates.go

    func Identical(x, y Type) bool {
    	var c comparer
    	return c.identical(x, y, nil)
    }
    
    // IdenticalIgnoreTags reports whether x and y are identical types if tags are ignored.
    // Receivers of [Signature] types are ignored.
    func IdenticalIgnoreTags(x, y Type) bool {
    	var c comparer
    	c.ignoreTags = true
    	return c.identical(x, y, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  2. src/go/types/api_predicates.go

    func Identical(x, y Type) bool {
    	var c comparer
    	return c.identical(x, y, nil)
    }
    
    // IdenticalIgnoreTags reports whether x and y are identical types if tags are ignored.
    // Receivers of [Signature] types are ignored.
    func IdenticalIgnoreTags(x, y Type) bool {
    	var c comparer
    	c.ignoreTags = true
    	return c.identical(x, y, nil)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 08 16:36:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/identity.go

    // (shape or not) if their underlying types are the same, or they are both pointers.
    func Identical(t1, t2 *Type) bool {
    	return identical(t1, t2, 0, nil)
    }
    
    // IdenticalIgnoreTags is like Identical, but it ignores struct tags
    // for struct identity.
    func IdenticalIgnoreTags(t1, t2 *Type) bool {
    	return identical(t1, t2, identIgnoreTags, nil)
    }
    
    // IdenticalStrict is like Identical, but matches types exactly, without the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/go/types/conversions.go

    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    	if V, ok := V.(*Pointer); ok {
    		if T, ok := T.(*Pointer); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/conversions.go

    	// and V and T are not type parameters"
    	if IdenticalIgnoreTags(Vu, Tu) && Vp == nil && Tp == nil {
    		return true
    	}
    
    	// "V and T are unnamed pointer types and their pointer base types
    	// have identical underlying types if tags are ignored
    	// and their pointer base types are not type parameters"
    	if V, ok := V.(*Pointer); ok {
    		if T, ok := T.(*Pointer); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/subr.go

    	if types.IdenticalIgnoreTags(src.Underlying(), dst.Underlying()) {
    		return ir.OCONVNOP, ""
    	}
    
    	// 3. src and dst are unnamed pointer types and, ignoring struct tags,
    	// their base types have identical underlying types.
    	if src.IsPtr() && dst.IsPtr() && src.Sym() == nil && dst.Sym() == nil {
    		if types.IdenticalIgnoreTags(src.Elem().Underlying(), dst.Elem().Underlying()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  7. api/go1.8.txt

    pkg expvar, method (*Int) Value() int64
    pkg expvar, method (*String) Value() string
    pkg go/doc, func IsPredeclared(string) bool
    pkg go/types, func Default(Type) Type
    pkg go/types, func IdenticalIgnoreTags(Type, Type) bool
    pkg math/big, method (*Float) Scan(fmt.ScanState, int32) error
    pkg math/big, method (*Int) Sqrt(*Int) *Int
    pkg math/rand, func Uint64() uint64
    pkg math/rand, method (*Rand) Uint64() uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 21 05:25:57 UTC 2016
    - 16.3K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"ExprString", Func, 5},
    		{"FieldVal", Const, 5},
    		{"Float32", Const, 5},
    		{"Float64", Const, 5},
    		{"Func", Type, 5},
    		{"Id", Func, 5},
    		{"Identical", Func, 5},
    		{"IdenticalIgnoreTags", Func, 8},
    		{"Implements", Func, 5},
    		{"ImportMode", Type, 6},
    		{"Importer", Type, 5},
    		{"ImporterFrom", Type, 6},
    		{"Info", Type, 5},
    		{"Info.Defs", Field, 5},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
Back to top