Beispiel #1
0
func BenchmarkXXChecksumString64Short(b *testing.B) {
	var bv uint64
	k := "Test-key-100"
	for i := 0; i < b.N; i++ {
		bv += N.ChecksumString64(k)
	}
}
// ChecksumString64 returns the checksum of the input data with the seed set to 0
func ChecksumString64(in string) uint64 { return N.ChecksumString64(in) }
Beispiel #3
0
func BenchmarkXXChecksumString64(b *testing.B) {
	var bv uint64
	for i := 0; i < b.N; i++ {
		bv += N.ChecksumString64(inS)
	}
}