(b *testing.B)
| 2832 | } |
| 2833 | |
| 2834 | func BenchmarkBigIntBitset(b *testing.B) { |
| 2835 | z := new(BigInt) |
| 2836 | z.SetBit(z, 512, 1) |
| 2837 | b.ResetTimer() |
| 2838 | b.StartTimer() |
| 2839 | for i := b.N - 1; i >= 0; i-- { |
| 2840 | z.SetBit(z, i&512, 1) |
| 2841 | } |
| 2842 | } |
| 2843 | |
| 2844 | func BenchmarkBigIntBitsetNeg(b *testing.B) { |
| 2845 | z := NewBigInt(-1) |
nothing calls this directly
no test coverage detected
searching dependent graphs…