Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestArrayHash (1.68 sec)

  1. src/runtime/hash_test.go

    func BenchmarkHash64(b *testing.B)    { benchmarkHash(b, 64) }
    func BenchmarkHash1024(b *testing.B)  { benchmarkHash(b, 1024) }
    func BenchmarkHash65536(b *testing.B) { benchmarkHash(b, 65536) }
    
    func TestArrayHash(t *testing.T) {
    	// Make sure that "" in arrays hash correctly. The hash
    	// should at least scramble the input seed so that, e.g.,
    	// {"","foo"} and {"foo",""} have different hashes.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top