diff options
Diffstat (limited to 'src/solvers/coord/gendata.h')
| -rw-r--r-- | src/solvers/coord/gendata.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/solvers/coord/gendata.h b/src/solvers/coord/gendata.h index cbc8774..f803044 100644 --- a/src/solvers/coord/gendata.h +++ b/src/solvers/coord/gendata.h | |||
| @@ -1,21 +1,21 @@ | |||
| 1 | STATIC size_t gendata_coord(const coord_t [static 1], unsigned char *); | 1 | STATIC size_t gendata_coord(const coord_t [NON_NULL], unsigned char *); |
| 2 | STATIC size_t gendata_multicoord( | 2 | STATIC size_t gendata_multicoord( |
| 3 | const multicoord_t [static 1], unsigned char *); | 3 | const multicoord_t [NON_NULL], unsigned char *); |
| 4 | STATIC long long gendata_coord_dispatch(const char *, unsigned long long, | 4 | STATIC long long gendata_coord_dispatch(const char *, unsigned long long, |
| 5 | unsigned char *); | 5 | unsigned char *); |
| 6 | STATIC tableinfo_t genptable_coord( | 6 | STATIC tableinfo_t genptable_coord( |
| 7 | const coord_t [static 1], const unsigned char *, unsigned char *); | 7 | const coord_t [NON_NULL], const unsigned char *, unsigned char *); |
| 8 | STATIC uint64_t genptable_coord_init_solved( | 8 | STATIC uint64_t genptable_coord_init_solved( |
| 9 | const coord_t [static 1], const unsigned char *, unsigned char *); | 9 | const coord_t [NON_NULL], const unsigned char *, unsigned char *); |
| 10 | STATIC bool switch_to_fromnew(uint64_t, uint64_t, uint64_t); | 10 | STATIC bool switch_to_fromnew(uint64_t, uint64_t, uint64_t); |
| 11 | STATIC uint64_t genptable_coord_fillneighbors(const coord_t [static 1], | 11 | STATIC uint64_t genptable_coord_fillneighbors(const coord_t [NON_NULL], |
| 12 | const unsigned char *, uint64_t, uint8_t, unsigned char *); | 12 | const unsigned char *, uint64_t, uint8_t, unsigned char *); |
| 13 | STATIC uint64_t genptable_coord_fillfromnew(const coord_t [static 1], | 13 | STATIC uint64_t genptable_coord_fillfromnew(const coord_t [NON_NULL], |
| 14 | const unsigned char *, uint64_t, uint8_t, unsigned char *); | 14 | const unsigned char *, uint64_t, uint8_t, unsigned char *); |
| 15 | STATIC uint8_t get_coord_pval( | 15 | STATIC uint8_t get_coord_pval( |
| 16 | const coord_t [static 1], const unsigned char *, uint64_t); | 16 | const coord_t [NON_NULL], const unsigned char *, uint64_t); |
| 17 | STATIC void set_coord_pval( | 17 | STATIC void set_coord_pval( |
| 18 | const coord_t [static 1], unsigned char *, uint64_t, uint8_t); | 18 | const coord_t [NON_NULL], unsigned char *, uint64_t, uint8_t); |
| 19 | 19 | ||
| 20 | STATIC long long | 20 | STATIC long long |
| 21 | gendata_coord_dispatch( | 21 | gendata_coord_dispatch( |
| @@ -40,7 +40,7 @@ gendata_coord_dispatch( | |||
| 40 | } | 40 | } |
| 41 | 41 | ||
| 42 | STATIC size_t | 42 | STATIC size_t |
| 43 | gendata_coord(const coord_t coord[static 1], unsigned char *buf) | 43 | gendata_coord(const coord_t coord[NON_NULL], unsigned char *buf) |
| 44 | { | 44 | { |
| 45 | uint64_t coord_dsize, tablesize, ninfo; | 45 | uint64_t coord_dsize, tablesize, ninfo; |
| 46 | unsigned char *pruningbuf, *coord_data; | 46 | unsigned char *pruningbuf, *coord_data; |
| @@ -96,7 +96,7 @@ gendata_coord_error: | |||
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | STATIC size_t | 98 | STATIC size_t |
| 99 | gendata_multicoord(const multicoord_t mcoord[static 1], unsigned char *buf) | 99 | gendata_multicoord(const multicoord_t mcoord[NON_NULL], unsigned char *buf) |
| 100 | { | 100 | { |
| 101 | unsigned char *b; | 101 | unsigned char *b; |
| 102 | size_t i, s, ret; | 102 | size_t i, s, ret; |
| @@ -141,7 +141,7 @@ gendata_multicoord(const multicoord_t mcoord[static 1], unsigned char *buf) | |||
| 141 | 141 | ||
| 142 | STATIC tableinfo_t | 142 | STATIC tableinfo_t |
| 143 | genptable_coord( | 143 | genptable_coord( |
| 144 | const coord_t coord[static 1], | 144 | const coord_t coord[NON_NULL], |
| 145 | const unsigned char *data, | 145 | const unsigned char *data, |
| 146 | unsigned char *table | 146 | unsigned char *table |
| 147 | ) | 147 | ) |
| @@ -204,7 +204,7 @@ genptable_coord( | |||
| 204 | 204 | ||
| 205 | STATIC uint64_t | 205 | STATIC uint64_t |
| 206 | genptable_coord_init_solved( | 206 | genptable_coord_init_solved( |
| 207 | const coord_t coord[static 1], | 207 | const coord_t coord[NON_NULL], |
| 208 | const unsigned char *coord_data, | 208 | const unsigned char *coord_data, |
| 209 | unsigned char *table | 209 | unsigned char *table |
| 210 | ) | 210 | ) |
| @@ -238,7 +238,7 @@ switch_to_fromnew(uint64_t done, uint64_t max, uint64_t nm) | |||
| 238 | 238 | ||
| 239 | STATIC uint64_t | 239 | STATIC uint64_t |
| 240 | genptable_coord_fillneighbors( | 240 | genptable_coord_fillneighbors( |
| 241 | const coord_t coord[static 1], | 241 | const coord_t coord[NON_NULL], |
| 242 | const unsigned char *data, | 242 | const unsigned char *data, |
| 243 | uint64_t i, | 243 | uint64_t i, |
| 244 | uint8_t d, | 244 | uint8_t d, |
| @@ -276,7 +276,7 @@ genptable_coord_fillneighbors( | |||
| 276 | 276 | ||
| 277 | STATIC uint64_t | 277 | STATIC uint64_t |
| 278 | genptable_coord_fillfromnew( | 278 | genptable_coord_fillfromnew( |
| 279 | const coord_t coord[static 1], | 279 | const coord_t coord[NON_NULL], |
| 280 | const unsigned char *data, | 280 | const unsigned char *data, |
| 281 | uint64_t i, | 281 | uint64_t i, |
| 282 | uint8_t d, | 282 | uint8_t d, |
| @@ -331,7 +331,7 @@ genptable_coord_fillfromnew( | |||
| 331 | 331 | ||
| 332 | STATIC uint8_t | 332 | STATIC uint8_t |
| 333 | get_coord_pval( | 333 | get_coord_pval( |
| 334 | const coord_t coord[static 1], | 334 | const coord_t coord[NON_NULL], |
| 335 | const unsigned char *table, | 335 | const unsigned char *table, |
| 336 | uint64_t i | 336 | uint64_t i |
| 337 | ) | 337 | ) |
| @@ -341,7 +341,7 @@ get_coord_pval( | |||
| 341 | 341 | ||
| 342 | STATIC void | 342 | STATIC void |
| 343 | set_coord_pval( | 343 | set_coord_pval( |
| 344 | const coord_t coord[static 1], | 344 | const coord_t coord[NON_NULL], |
| 345 | unsigned char *table, | 345 | unsigned char *table, |
| 346 | uint64_t i, | 346 | uint64_t i, |
| 347 | uint8_t val | 347 | uint8_t val |
