- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkCompareBytesBigUnaligned (0.38 sec)
-
src/bytes/compare_test.go
if Compare(b1, b2[offset:]) != 0 { b.Fatal("b1 != b2") } } b.SetBytes(int64(len(b1))) } func BenchmarkCompareBytesBigUnaligned(b *testing.B) { for i := 1; i < 8; i++ { b.Run(fmt.Sprintf("offset=%d", i), func(b *testing.B) { benchmarkCompareBytesBigUnaligned(b, i) }) } } func benchmarkCompareBytesBigBothUnaligned(b *testing.B, offset int) { b.StopTimer()
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Jul 13 23:11:42 UTC 2023 - 6.8K bytes - Viewed (0)