- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkModAdd (0.29 sec)
-
src/crypto/internal/bigmod/nat_test.go
x[i]-- } return &Nat{limbs: x} } func makeBenchmarkExponent() []byte { e := make([]byte, 256) for i := 0; i < 32; i++ { e[i] = 0xFF } return e } func BenchmarkModAdd(b *testing.B) { x := makeBenchmarkValue() y := makeBenchmarkValue() m := makeBenchmarkModulus() b.ResetTimer() for i := 0; i < b.N; i++ { x.Add(y, m) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:56:20 UTC 2024 - 11.6K bytes - Viewed (0)