/external/chromium_org/third_party/smhasher/src/ |
Bitslice.cpp | 57 const int hashbits = hashbytes * 8; local 61 slices.resize(hashbits); 68 for(int j = 0; j < hashbits; j++)
|
DifferentialTest.h | 136 const int hashbits = sizeof(hashtype) * 8; local 140 double expected = testcount / pow(2.0,double(hashbits)); 149 printf("Testing %0.f up-to-%d-bit differentials in %d-bit keys -> %d bit hashes.\n",diffcount,diffbits,keybits,hashbits);
|
AvalancheTest.h | 34 const int hashbits = hashbytes * 8; local 55 for(int iOut = 0; iOut < hashbits; iOut++) 77 const int hashbits = hashbytes * 8; local 79 printf("Testing %3d-bit keys -> %3d-bit hashes, %8d reps",keybits,hashbits,reps); 83 std::vector<int> bins(keybits*hashbits,0); 117 const int hashbits = hashbytes * 8; local 119 std::vector<int> bins(hashbits*hashbits*4,0); 139 for(int out1 = 0; out1 < hashbits; out1++) 140 for(int out2 = 0; out2 < hashbits; out2++ 244 const int hashbits = hashbytes * 8; local 352 const int hashbits = hashbytes * 8; local [all...] |
Stats.h | 112 const int hashbits = sizeof(hashtype) * 8; local 131 for(int start = 0; start < hashbits; start++) 303 const int hashbits = nbytes * 8; local 311 for(int a = 0; a < hashbits; a++) 317 for(int b = 0; b < hashbits; b++) 356 const int hashbits = sizeof(hashtype) * 8; local 364 for(int start = 0; start < hashbits; start += 8) 385 davg /= double(hashbits/8);
|
main.cpp | 38 int hashbits; member in struct:HashInfo 106 pass &= VerificationTest(info->hash,info->hashbits,info->verification,false); 118 pass &= VerificationTest(info->hash,info->hashbits,info->verification,true); 130 const int hashbits = sizeof(hashtype) * 8; local 142 VerificationTest(hash,hashbits,info->verification,true); 143 SanityTest(hash,hashbits); 144 AppendedZeroesTest(hash,hashbits); 434 result &= WindowedKeyTest< Blob<hashbits*2>, hashtype > ( hash, 20, testCollision, testDistribution, drawDiagram ); 508 g_outputVCode = MurmurOAAT(out,g_hashUnderTest->hashbits/8,g_outputVCode); 526 if(pInfo->hashbits == 32 [all...] |