Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _SliceEqual (0.16 sec)

  1. 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)
Back to top