Run renamed .inc files by clang-format for the first time

This commit is contained in:
Lassi Kortela 2019-08-09 17:23:10 +03:00
parent 4128fbc535
commit 09c6368668
2 changed files with 148 additions and 146 deletions

View File

@ -7,7 +7,8 @@
#define hash_size(h) ((h)->size / 2)
// compute empirical max-probe for a given size
#define max_probe(size) ((size)<=(HT_N_INLINE*2) ? (HT_N_INLINE/2) : (size)>>3)
#define max_probe(size) \
((size) <= (HT_N_INLINE * 2) ? (HT_N_INLINE / 2) : (size) >> 3)
#define HTIMPL(HTNAME, HFUNC, EQFUNC) \
static void **HTNAME##_lookup_bp(htable_t *h, void *key) \
@ -43,7 +44,8 @@ static void **HTNAME##_lookup_bp(htable_t *h, void *key) \
\
/* table full */ \
/* quadruple size, rehash, retry the insert */ \
/* it's important to grow the table really fast; otherwise we waste */ \
/* it's important to grow the table really fast; otherwise we waste \
*/ \
/* lots of time rehashing all the keys over and over. */ \
sz = h->size; \
ol = h->table; \