Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for CMPeq (0.03 sec)

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

    // into equivalence classes (Types that compare CMPeq) matters.
    func (t *Type) Compare(x *Type) Cmp {
    	if x == t {
    		return CMPeq
    	}
    	return t.cmp(x)
    }
    
    func cmpForNe(x bool) Cmp {
    	if x {
    		return CMPlt
    	}
    	return CMPgt
    }
    
    func (r *Sym) cmpsym(s *Sym) Cmp {
    	if r == s {
    		return CMPeq
    	}
    	if r == nil {
    		return CMPlt
    	}
    	if s == nil {
    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