- Timestamp:
- May 23, 2012, 3:16:20 PM (7 years ago)
- Location:
- trunk/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/bitblock.hpp
r2133 r2135 43 43 static IDISA_ALWAYS_INLINE BitBlock mask_reverse_zeroes(uint32_t count); 44 44 static IDISA_ALWAYS_INLINE uint32_t bitstream_scan(BitBlock * v, uint32_t pos); 45 static IDISA_ALWAYS_INLINE void assert_bitblock_align(void * addr); 45 46 static IDISA_ALWAYS_INLINE void assert_bitblock_align(BitBlock v); 46 47 -
trunk/lib/bitblock_align.hpp
r2133 r2135 12 12 using namespace std; 13 13 14 static IDISA_ALWAYS_INLINE void assert_bitblock_align(void * addr) { 15 assert(0 == (addr) & (sizeof(BitBlock)-1)); 16 } 17 14 18 static IDISA_ALWAYS_INLINE void assert_bitblock_align(BitBlock v) { 15 assert(0 != (&v) & (sizeof(BitBlock)-1));19 assert(0 == (&v) & (sizeof(BitBlock)-1)); 16 20 } 17 21 -
trunk/lib/hash.hpp
r2093 r2135 10 10 // #define HASH_HPP_DEBUG 11 11 12 #define NDEBUG // if NDEBUG then disable assertions12 //#define NDEBUG // if NDEBUG then disable assertions 13 13 14 14 #include "../lib/bitblock.hpp"
Note: See TracChangeset
for help on using the changeset viewer.