- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TypeHasNoAlg (0.16 sec)
-
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 } // IsComparable reports whether t is a comparable type. func IsComparable(t *Type) bool {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 18 15:30:00 UTC 2024 - 2.4K bytes - Viewed (0)