Run renamed .inc files by clang-format for the first time
This commit is contained in:
parent
4128fbc535
commit
09c6368668
|
@ -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; \
|
||||
|
|
Loading…
Reference in New Issue