Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BenchmarkXORBytes (0.11 sec)

  1. src/crypto/subtle/xor_test.go

    		XORBytes(nil, make([]byte, 1), make([]byte, 1))
    	})
    	mustPanic(t, "subtle.XORBytes: dst too short", func() {
    		XORBytes(make([]byte, 1), make([]byte, 2), make([]byte, 3))
    	})
    }
    
    func BenchmarkXORBytes(b *testing.B) {
    	dst := make([]byte, 1<<15)
    	data0 := make([]byte, 1<<15)
    	data1 := make([]byte, 1<<15)
    	sizes := []int64{1 << 3, 1 << 7, 1 << 11, 1 << 15}
    	for _, size := range sizes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:51:19 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top