/external/chromium_org/third_party/smhasher/src/ |
DifferentialTest.h | 96 // Check all possible keybits-choose-N differentials for collisions, report 135 const int keybits = sizeof(keytype) * 8; local 138 double diffcount = chooseUpToK(keybits,diffbits); 149 printf("Testing %0.f up-to-%d-bit differentials in %d-bit keys -> %d bit hashes.\n",diffcount,diffbits,keybits,hashbits); 250 int keybits = sizeof(keytype) * 8; local 259 for(int keybit = 0; keybit < keybits; keybit++)
|
AvalancheTest.h | 33 const int keybits = keybytes * 8; local 49 for(int iBit = 0; iBit < keybits; iBit++) 76 const int keybits = keybytes * 8; local 79 printf("Testing %3d-bit keys -> %3d-bit hashes, %8d reps",keybits,hashbits,reps); 83 std::vector<int> bins(keybits*hashbits,0); 200 const int keybits = keybytes * 8; local 207 for(int i = 0; i < keybits; i++) 209 if(i % (keybits/10) == 0) printf("."); 242 const int keybits = keybytes * 8; local 257 std::vector<int> bins(keybits*pagesize,0) 350 const int keybits = keybytes * 8; local [all...] |
KeysetTest.h | 164 template < int keybits, typename hashtype > 167 printf("Keyset 'Sparse' - %d-bit keys with %s %d bits set - ",keybits, inclusive ? "up to" : "exactly", setbits); 169 typedef Blob<keybits> keytype; 205 const int keybits = sizeof(keytype) * 8; local 213 int testcount = keybits; 215 printf("Keyset 'Windowed' - %3d-bit key, %3d-bit window - %d tests, %d keys per test\n",keybits,windowbits,testcount,keycount);
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
x11_input_method_context_impl_gtk2.cc | 266 char keybits[32] = {0}; local 267 XQueryKeymap(xkey.display, keybits); 268 if (IsAnyOfKeycodesPressed(meta_keycodes_, keybits, sizeof keybits * 8)) 270 if (IsAnyOfKeycodesPressed(super_keycodes_, keybits, sizeof keybits * 8)) 272 if (IsAnyOfKeycodesPressed(hyper_keycodes_, keybits, sizeof keybits * 8)) 285 const char* keybits, 291 if (keybits[keycode / 8] & 1 << (keycode % 8) [all...] |