- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for maxLength (0.16 sec)
-
src/bytes/compare_test.go
// no vector register is larger than 512 bytes for now const maxLength = 512 a := make([]byte, maxLength) b := make([]byte, maxLength) // randomish but deterministic data. No 0 or 255. for i := 0; i < maxLength; i++ { a[i] = byte(1 + 31*i%254) b[i] = byte(1 + 31*i%254) } for i := 2; i <= maxLength; i <<= 1 { for j := 0; j < i-1; j++ { a[j] = b[j] - 1 a[j+1] = b[j+1] + 1
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jul 13 23:11:42 GMT 2023 - 6.8K bytes - Viewed (0)