Commit c05b20fc authored by Philip Carns's avatar Philip Carns
Browse files

fix stray code formatting issues

parent a14e2539
......@@ -29,8 +29,9 @@ typedef struct {
#define BAKE_SUCCESS 0 /* Success */
#define BAKE_ERR_ALLOCATION (-1) /* Error allocating something */
#define BAKE_ERR_INVALID_ARG (-2) /* An argument is invalid */
#define BAKE_ERR_MERCURY (-3) /* An error happened calling a Mercury function \
*/
#define BAKE_ERR_MERCURY \
(-3) /* An error happened calling a Mercury function \
*/
#define BAKE_ERR_ARGOBOTS \
(-4) /* An error happened calling an Argobots function */
#define BAKE_ERR_PMEM (-5) /* An error happened calling a pmem function */
......
......@@ -98,10 +98,11 @@ typedef unsigned char uint8_t;
#endif
/* initial number of buckets */
#define HASH_INITIAL_NUM_BUCKETS 32U /* initial number of buckets */
#define HASH_INITIAL_NUM_BUCKETS_LOG2 5U /* lg2 of initial number of buckets \
*/
#define HASH_BKT_CAPACITY_THRESH 10U /* expand when bucket count reaches */
#define HASH_INITIAL_NUM_BUCKETS 32U /* initial number of buckets */
#define HASH_INITIAL_NUM_BUCKETS_LOG2 \
5U /* lg2 of initial number of buckets \
*/
#define HASH_BKT_CAPACITY_THRESH 10U /* expand when bucket count reaches */
/* calculate the element whose hash handle address is hhe */
#define ELMT_FROM_HH(tbl, hhp) ((void*)(((char*)(hhp)) - ((tbl)->hho)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment