Differences From Artifact [d433d98b76]:
- File
src/OFMacros.h
— part of check-in
[bf02f0ef25]
at
2008-11-23 06:11:59
on branch trunk
— New string API, string class completely rewritten.
One class for all string types now. (user: js, size: 661) [annotate] [blame] [check-ins using]
To Artifact [9f2e3ed2ba]:
- File src/OFMacros.h — part of check-in [92c12b1d4f] at 2008-11-29 11:59:34 on branch trunk — Optimize branch prediction for ifs inside loops. (user: js, size: 861) [annotate] [blame] [check-ins using]
︙ | |||
24 25 26 27 28 29 30 | 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | + + + + + + + + | } #else #define OF_BSWAP_V(buf, len) #endif #define OF_ROL(val, bits) \ (((val) << (bits)) | ((val) >> (32 - (bits)))) #ifdef __GNUC__ #define OF_LIKELY(cond) __builtin_expect(!!(cond), 1) #define OF_UNLIKELY(cond) __builtin_expect(!!(cond), 0) #else #define OF_LIKELY(cond) cond #define OF_UNLIKELY(cond) cond #endif |