pike.git / src / post_modules / CritBit / tree_low.c

version» Context lines:

pike.git/src/post_modules/CritBit/tree_low.c:34:   # define CB_SOURCE   #endif      static inline void cb_zap_node(const struct cb_tree*, cb_node_t);   static inline cb_node_t cb_node_from_string(const struct cb_tree*,    const cb_key, const cb_value *);         static inline cb_key CB_KEY_FROM_STRING(const cb_string string) {    cb_key key; -  /* printf("key from string: %p (%d, %d)\n", -  string, key.len.chars, key.len.bits); */ +     key.str = string;    key.len.chars = CB_LENGTH(string);    key.len.bits = 0; -  +  /* fprintf(stderr, "key from string: %p (%ld, %ld)\n", +  string, key.len.chars, key.len.bits); */    return key;   }      static inline cb_size cb_prefix_count_fallback(const cb_string s1,    const cb_string s2,    const cb_size len,    cb_size start) {    ptrdiff_t i;    unsigned INT32 width = MAX(CB_WIDTH(s1), CB_WIDTH(s2));