Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AlgType (0.09 sec)

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

    	}
    }
    
    // AlgType returns the AlgKind used for comparing and hashing Type t.
    func AlgType(t *Type) AlgKind {
    	CalcSize(t)
    	return t.alg
    }
    
    // TypeHasNoAlg reports whether t does not have any associated hash/eq
    // algorithms because t, or some component of t, is marked Noalg.
    func TypeHasNoAlg(t *Type) bool {
    	return AlgType(t) == ANOALG
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 18 15:30:00 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top