File: bits_test.go

package info (click to toggle)
golang-github-cronokirby-saferith 0.33.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 444 kB
  • sloc: asm: 2,297; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 184 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package saferith

import (
	"math/rand"
	"testing"
)

var result Word

func BenchmarkLimbMask(b *testing.B) {
	for i := 0; i < b.N; i++ {
		x := rand.Int()
		result = limbMask(x)
	}
}