/external/chromium_org/third_party/smhasher/src/ |
Bitvec.h | 17 uint32_t getbit ( const void * blob, int len, uint32_t bit ); 37 inline uint32_t getbit ( T & blob, uint32_t bit ) function 39 return getbit(&blob,sizeof(blob),bit); 42 template<> inline uint32_t getbit ( uint32_t & blob, uint32_t bit ) { return (blob >> (bit & 31)) & 1; } function 43 template<> inline uint32_t getbit ( uint64_t & blob, uint32_t bit ) { return (blob >> (bit & 63)) & 1; } function
|
Bitvec.cpp | 122 uint32_t getbit ( const void * block, int len, uint32_t bit ) function 200 setbit(blob,len,i,getbit(blob,len,i-c)); 280 setbit(blob,len,i,getbit(blob,len,i+c)); 359 uint32_t bit = getbit(blob,len,nbits-1); 454 uint32_t bit = getbit(blob,len,0);
|