/external/chromium_org/third_party/smhasher/src/ |
KeysetTest.cpp | 15 const int hashbytes = hashbits / 8; local 18 uint8_t * hashes = new uint8_t[hashbytes * 256]; 19 uint8_t * final = new uint8_t[hashbytes]; 22 memset(hashes,0,hashbytes*256); 23 memset(final,0,hashbytes); 32 hash(key,i,256-i,&hashes[i*hashbytes]); 37 hash(hashes,hashbytes*256,0,final); 82 const int hashbytes = hashbits/8; local 91 uint8_t * hash1 = new uint8_t[hashbytes]; 92 uint8_t * hash2 = new uint8_t[hashbytes]; 168 const int hashbytes = hashbits\/8; local [all...] |
AvalancheTest.h | 31 const int hashbytes = sizeof(hashtype); local 34 const int hashbits = hashbytes * 8; 57 int bitA = getbit(&A,hashbytes,iOut); 58 int bitB = getbit(&B,hashbytes,iOut); 74 const int hashbytes = sizeof(hashtype); local 77 const int hashbits = hashbytes * 8; 116 const int hashbytes = sizeof(hashtype); local 117 const int hashbits = hashbytes * 8; 243 const int hashbytes = sizeof(hashtype); local 244 const int hashbits = hashbytes * 8 351 const int hashbytes = sizeof(hashtype); local [all...] |
Bitslice.cpp | 56 const int hashbytes = sizeof(hashtype); local 57 const int hashbits = hashbytes * 8;
|