- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for makeBenchmarkExponent (0.14 sec)
-
src/crypto/internal/bigmod/nat_test.go
return maxModulus(32) } func makeBenchmarkValue() *Nat { x := make([]uint, 32) for i := 0; i < 32; i++ { 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()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jan 12 00:56:20 UTC 2024 - 11.6K bytes - Viewed (0)