func BenchmarkXxhash64VeryShort(b *testing.B) { k := []byte("Test-key-100") for i := 0; i < b.N; i++ { N.Checksum64(k) } }
func TestHash64Short(t *testing.T) { r := N.Checksum64(in) if r != expected64 { t.Errorf("expected 0x%x, got 0x%x.", expected64, r) } }
func BenchmarkXxhash64(b *testing.B) { for i := 0; i < b.N; i++ { N.Checksum64(in) } }