Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for compareUint32Slices (0.49 sec)

  1. src/math/rand/rand_test.go

    		te = de
    		testFe[i] = float32(math.Exp(-de))
    		testWe[i] = float32(de / m2)
    	}
    	return
    }
    
    // compareUint32Slices returns the first index where the two slices
    // disagree, or <0 if the lengths are the same and all elements
    // are identical.
    func compareUint32Slices(s1, s2 []uint32) int {
    	if len(s1) != len(s2) {
    		if len(s1) > len(s2) {
    			return len(s2) + 1
    		}
    		return len(s1) + 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. src/math/rand/v2/rand_test.go

    		te = de
    		testFe[i] = float32(math.Exp(-de))
    		testWe[i] = float32(de / m2)
    	}
    	return
    }
    
    // compareUint32Slices returns the first index where the two slices
    // disagree, or <0 if the lengths are the same and all elements
    // are identical.
    func compareUint32Slices(s1, s2 []uint32) int {
    	if len(s1) != len(s2) {
    		if len(s1) > len(s2) {
    			return len(s2) + 1
    		}
    		return len(s1) + 1
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top