Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sds
bake
Commits
c05b20fc
Commit
c05b20fc
authored
Jan 13, 2021
by
Philip Carns
Browse files
fix stray code formatting issues
parent
a14e2539
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/bake.h
View file @
c05b20fc
...
...
@@ -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 */
...
...
src/uthash.h
View file @
c05b20fc
...
...
@@ -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)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment