pike.git / src / post_modules / CritBit / critbit / key_int.h

version» Context lines:

pike.git/src/post_modules/CritBit/critbit/key_int.h:1: Inside #if undefined(CB_KEY_PIKEINT_H)
  #ifndef CB_KEY_PIKEINT_H   #define CB_KEY_PIKEINT_H   #include "bitvector.h"   #include "pike_int_types.h"      #if SIZEOF_INT_TYPE == 4   typedef unsigned INT32 CB_NAME(string);   typedef unsigned INT32 CB_NAME(char);   #else - typedef unsigned INT64 CB_NAME(string); - typedef unsigned INT64 CB_NAME(char); + typedef UINT64 CB_NAME(string); + typedef UINT64 CB_NAME(char);   #endif      #ifdef cb_char   # undef cb_char   #endif   #define cb_char CB_NAME(char)      #ifdef cb_string   # undef cb_string   #endif
pike.git/src/post_modules/CritBit/critbit/key_int.h:49:   #define CB_LENGTH(str) 1   #define CB_SIZE(key) ((key)->len)   #define CB_GET_BIT(str, size) \    (BITN(cb_char, CB_GET_CHAR((str), (size).chars), (size).bits))   #define CB_COUNT_PREFIX(s1, s2, n) \    ((size_t)gclz(CB_GET_CHAR((s1), (n)) ^ CB_GET_CHAR((s2), (n))))      static inline cb_size cb_prefix_count_integer(const cb_string s1,    const cb_string s2,    const cb_size len, -  const cb_size start) { +  const cb_size UNUSED(start)) {    cb_size ret;       if (s1 == s2) return len;       ret.chars = 0;    ret.bits = (size_t)gclz(s1 ^ s2);       if (!len.chars) ret.bits = MINIMUM(len.bits, ret.bits);       return ret;   }      #define cb_prefix_count cb_prefix_count_integer      #endif /* CB_SOURCE */      #endif