- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TestSmhasherCyclic (0.18 sec)
-
src/hash/maphash/smhasher_test.go
for y := 1; y < 256; y++ { b[j] = byte(y) h.addB(b) b[j] = 0 } } b[i] = 0 } } } // Test strings with repeats, like "abcdabcdabcdabcd..." func TestSmhasherCyclic(t *testing.T) { if testing.Short() { t.Skip("Skipping in short mode") } t.Parallel() r := rand.New(rand.NewSource(1234)) const REPEAT = 8 const N = 1000000 h := newHashSet()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 16:41:38 UTC 2024 - 11K bytes - Viewed (0) -
src/runtime/hash_test.go
for y := 1; y < 256; y++ { b[j] = byte(y) h.addB(b) b[j] = 0 } } b[i] = 0 } } } // Test strings with repeats, like "abcdabcdabcdabcd..." func TestSmhasherCyclic(t *testing.T) { if testing.Short() { t.Skip("Skipping in short mode") } if race.Enabled { t.Skip("Too long for race mode") } t.Parallel() r := rand.New(rand.NewSource(1234))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 06 17:50:18 UTC 2024 - 18.4K bytes - Viewed (0)