Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for haveIdenticalUnderlyingType (0.17 sec)

  1. src/reflect/type.go

    	// x's type T and V must have identical underlying types.
    	return haveIdenticalUnderlyingType(T, V, true)
    }
    
    func haveIdenticalType(T, V *abi.Type, cmpTags bool) bool {
    	if cmpTags {
    		return T == V
    	}
    
    	if nameFor(T) != nameFor(V) || T.Kind() != V.Kind() || pkgPathFor(T) != pkgPathFor(V) {
    		return false
    	}
    
    	return haveIdenticalUnderlyingType(T, V, false)
    }
    
    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