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