- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkGlobalUint64 (0.49 sec)
-
src/math/rand/v2/rand_test.go
func BenchmarkGlobalInt64Parallel(b *testing.B) { b.RunParallel(func(pb *testing.PB) { var t int64 for pb.Next() { t += Int64() } atomic.AddUint64(&Sink, uint64(t)) }) } func BenchmarkGlobalUint64(b *testing.B) { var t uint64 for n := b.N; n > 0; n-- { t += Uint64() } Sink = t } func BenchmarkGlobalUint64Parallel(b *testing.B) { b.RunParallel(func(pb *testing.PB) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 17.4K bytes - Viewed (0)