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

version» Context lines:

pike.git/src/post_modules/CritBit/tree_high.c:36:       string_builder_sprintf(buf, "(%d, %d) b: ", key.len.chars, key.len.bits);       for (; CB_LT(i, key.len); CB_INC(i, 0, 1)) {    string_builder_sprintf(buf, "%d", CB_GET_BIT(key.str, i));    }    string_builder_sprintf(buf, " %d", CB_GET_BIT(key.str, key.len));    }   }    - static inline void cb_print_key(struct string_builder * buf, cb_key key) { + static inline void cb_print_key(struct string_builder * buf, const cb_key key) {    cb_size i;       for (i.chars = 0; i.chars < key.len.chars; i.chars++) {    for (i.bits = 0; i.bits < CB_WIDTH(s); i.bits++) {    string_builder_putchar(buf, CB_GET_BIT(key.str, i) ? '1' : '0');    }    }       /* string_builder_putchars(buf, ' ', 11-key.len.chars); */