summaryrefslogtreecommitdiffstats
path: root/src/util/murmurhash3.c
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-01-09 14:18:12 -0500
committerSimo Sorce <simo@redhat.com>2012-01-09 15:00:39 -0500
commit8df169fdffb564ec932fede4216a123a71f1cc9a (patch)
tree7fd24957835a48d78c734c6bb870b4fcea9bf828 /src/util/murmurhash3.c
parent5a70b84cb66fb8c7a3fce0e3f2e4b61e0b2ea9d4 (diff)
downloadsssd-8df169fdffb564ec932fede4216a123a71f1cc9a.tar.gz
sssd-8df169fdffb564ec932fede4216a123a71f1cc9a.tar.xz
sssd-8df169fdffb564ec932fede4216a123a71f1cc9a.zip
Add a random + identity test for murmurhash3
This test always generate a random string so each time the test is run we will test the hash function with a new value. It also hashes the same string twice and compares the result so that we have a chance of catching if uninitialized variables are getting mixed into the value calculation and end up generating different results for the same input.
Diffstat (limited to 'src/util/murmurhash3.c')
0 files changed, 0 insertions, 0 deletions