Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/erasure-sets_test.go

    	}{
    		{16},
    		{64},
    		{128},
    		{256},
    		{512},
    		{1024},
    	}
    	for _, testCase := range cases {
    		testCase := testCase
    		key := randString(testCase.key)
    		b.Run("", func(b *testing.B) {
    			b.SetBytes(1024)
    			b.ReportAllocs()
    			b.ResetTimer()
    			for i := 0; i < b.N; i++ {
    				crcHashMod(key, 16)
    			}
    		})
    	}
    }
    
    func BenchmarkSipHash(b *testing.B) {
    	cases := []struct {
    		key int
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 07:21:56 GMT 2024
    - 6.9K bytes
    - Viewed (0)
Back to top