/external/chromium_org/third_party/smhasher/src/ |
D | main.cpp | 258 bool drawDiagram = false; in test() local 260 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+0,8,10000000,drawDiagram); in test() 261 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+1,8,10000000,drawDiagram); in test() 262 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+2,8,10000000,drawDiagram); in test() 263 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+3,8,10000000,drawDiagram); in test() 264 result &= CyclicKeyTest<hashtype>(hash,sizeof(hashtype)+4,8,10000000,drawDiagram); in test() 280 bool drawDiagram = false; in test() local 284 result &= TwoBytesTest2<hashtype>(hash,i,drawDiagram); in test() 299 bool drawDiagram = false; in test() local 301 result &= SparseKeyTest< 32,hashtype>(hash,6,true,true,true,drawDiagram); in test() [all …]
|
D | Stats.h | 106 double TestDistribution ( std::vector<hashtype> & hashes, bool drawDiagram ) in TestDistribution() argument 110 if(drawDiagram) printf("\n"); in TestDistribution() 150 if(drawDiagram) printf("["); in TestDistribution() 156 if(drawDiagram) plot(n); in TestDistribution() 176 if(drawDiagram) printf("]\n"); in TestDistribution() 191 …d::vector<hashtype> & hashes, std::vector<hashtype> & collisions, bool testDist, bool drawDiagram ) in TestHashList() argument 242 TestDistribution(hashes,drawDiagram); in TestHashList() 251 …TestHashList ( std::vector<hashtype> & hashes, bool /*testColl*/, bool testDist, bool drawDiagram ) in TestHashList() argument 255 return TestHashList(hashes,collisions,testDist,drawDiagram); in TestHashList() 261 …hfunc<hashtype> hash, std::vector<keytype> & keys, bool testColl, bool testDist, bool drawDiagram ) in TestKeyList() argument [all …]
|
D | KeysetTest.h | 53 …sh, int maxlen, uint32_t * blocks, int blockcount, bool testColl, bool testDist, bool drawDiagram ) in CombinationKeyTest() argument 73 result &= TestHashList<hashtype>(hashes,testColl,testDist,drawDiagram); in CombinationKeyTest() 109 …hashtype> hash, uint32_t * blocks, int blockcount, bool testColl, bool testDist, bool drawDiagram ) in PermutationKeyTest() argument 125 result &= TestHashList<hashtype>(hashes,testColl,testDist,drawDiagram); in PermutationKeyTest() 165 …ashtype> hash, const int setbits, bool inclusive, bool testColl, bool testDist, bool drawDiagram ) in SparseKeyTest() argument 191 result &= TestHashList<hashtype>(hashes,testColl,testDist,drawDiagram); in SparseKeyTest() 203 …hashtype> hash, const int windowbits, bool testCollision, bool testDistribution, bool drawDiagram ) in WindowedKeyTest() argument 235 result &= TestHashList(hashes,testCollision,testDistribution,drawDiagram); in WindowedKeyTest() 250 bool CyclicKeyTest ( pfHash hash, int cycleLen, int cycleReps, const int keycount, bool drawDiagram… in CyclicKeyTest() argument 284 result &= TestHashList(hashes,true,true,drawDiagram); in CyclicKeyTest() [all …]
|