1
0

likely.h 171 B

1234567
  1. #ifdef __GNUC__
  2. #define likely(x) __builtin_expect(!!(x), 1)
  3. #define unlikely(x) __builtin_expect(!!(x), 0)
  4. #else
  5. #define likely(x) (x)
  6. #define unlikely(x) (x)
  7. #endif