- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CompareFunc (0.06 sec)
-
cmd/data-scanner_test.go
if sz != 0 { gots = append(gots, oi) } }) if len(gots) != len(test.wants) { t.Fatalf("Expected %d objects but got %d", len(test.wants), len(gots)) } if slices.CompareFunc(gots, test.wants, func(g, w ObjectInfo) int { if g.VersionID == w.VersionID { return 0 } return -1 }) != 0 { t.Fatalf("Expected %v but got %v", test.wants, gots) }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 12K bytes - Viewed (0) -
api/go1.21.txt
pkg slices, func CompactFunc[$0 interface{ ~[]$1 }, $1 interface{}]($0, func($1, $1) bool) $0 #57433 pkg slices, func Compare[$0 interface{ ~[]$1 }, $1 cmp.Ordered]($0, $0) int #60091 pkg slices, func CompareFunc[$0 interface{ ~[]$2 }, $1 interface{ ~[]$3 }, $2 interface{}, $3 interface{}]($0, $1, func($2, $3) int) int #60091 pkg slices, func Contains[$0 interface{ ~[]$1 }, $1 comparable]($0, $1) bool #57433
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 07 09:39:17 UTC 2023 - 25.6K bytes - Viewed (0)