- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for _SliceEqual (0.09 sec)
-
test/typeparam/graph.go
// license that can be found in the LICENSE file. package main import ( "errors" "fmt" ) // _SliceEqual reports whether two slices are equal: the same length and all // elements equal. All floating point NaNs are considered equal. func _SliceEqual[Elem comparable](s1, s2 []Elem) bool { if len(s1) != len(s2) { return false } for i, v1 := range s1 { v2 := s2[i] if v1 != v2 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 5.7K bytes - Viewed (0)