summaryrefslogtreecommitdiff
path: root/AvalancheTest.h
diff options
context:
space:
mode:
authortanjent@gmail.com <tanjent@gmail.com@77a7d1d3-4c08-bdc2-d393-d5859734b01a>2010-11-02 00:50:04 +0000
committertanjent@gmail.com <tanjent@gmail.com@77a7d1d3-4c08-bdc2-d393-d5859734b01a>2010-11-02 00:50:04 +0000
commit7e5c363a6f2ae202b928097bd3a1936db46df1b9 (patch)
treef780f37fae2211ec8edefe7b3bbdfa04424751ff /AvalancheTest.h
parentb5082b0d1cb91eabc73e91d6db5b5c5035bdbad6 (diff)
downloadsrc-7e5c363a6f2ae202b928097bd3a1936db46df1b9.tar.gz
Initial source checkin
git-svn-id: http://smhasher.googlecode.com/svn/trunk@2 77a7d1d3-4c08-bdc2-d393-d5859734b01a
Diffstat (limited to 'AvalancheTest.h')
-rw-r--r--AvalancheTest.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/AvalancheTest.h b/AvalancheTest.h
new file mode 100644
index 0000000..88a0bc1
--- /dev/null
+++ b/AvalancheTest.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include "Types.h"
+
+double maxBias ( std::vector<int> & counts, int reps );
+double rmsBias ( std::vector<int> & counts, int reps );
+
+bool AvalancheTest ( pfHash hash, const int keybits, const int hashbits, const int reps );