Searched defs:comparable (Results 1 – 5 of 5) sorted by relevance
| /build/soong/android/ |
| D | util.go | 151 func IndexList[T comparable](t T, list []T) int { 160 func InList[T comparable](t T, list []T) bool { 164 func setFromList[T comparable](l []T) map[T]bool { 210 func ListSetDifference[T comparable](l1, l2 []T) (bool, []T, []T) { 234 func HasIntersection[T comparable](l1, l2 []T) bool { 387 func firstUnique[T comparable](slice []T) []T { 396 func firstUniqueInPlace[T comparable](slice []T) []T { 427 func firstUniqueMap[T comparable](in []T) []T { 650 func AppendIfNotZero[T comparable](slice []T, value T) []T {
|
| D | test_asserts.go | 38 func AssertSameArray[T comparable](t *testing.T, message string, expected []T, actual []T) {
|
| /build/blueprint/depset/ |
| D | depset.go | 296 func firstUniqueInPlace[T comparable](slice []T) []T { 327 func firstUniqueMap[T comparable](in []T) []T {
|
| /build/blueprint/uniquelist/ |
| D | uniquelist.go | 118 func Make[T comparable](slice []T) UniqueList[T] {
|
| /build/blueprint/ |
| D | context_test.go | 1953 func listContainsValue[K comparable](l []K, target K) bool { 1962 func mapContainsValue[K comparable, V comparable](m map[K][]V, target V) (bool, K) {
|