#include <assert.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include "global.h"
Go to the source code of this file.
◆ ABS
Value:
#define KISSAT_assert(ignore)
Definition at line 162 of file utilities.h.
◆ ASSUMED_LD_CACHE_LINE_BYTES
| #define ASSUMED_LD_CACHE_LINE_BYTES 7u |
◆ MAX
◆ MAX_SIZE_T
| #define MAX_SIZE_T (~(size_t) 0) |
◆ MIN
◆ SWAP
| #define SWAP |
( |
| TYPE, |
|
|
| A, |
|
|
| B ) |
Value: do { \
(A) = (B); \
(B) = (TMP_SWAP); \
} while (0)
Definition at line 151 of file utilities.h.
151#define SWAP(TYPE, A, B) \
152 do { \
153 TYPE TMP_SWAP = (A); \
154 (A) = (B); \
155 (B) = (TMP_SWAP); \
156 } while (0)
◆ W2RD_ALIGNMENT_MASK
| #define W2RD_ALIGNMENT_MASK (sizeof (w2rd) - 1) |
◆ WORD_ALIGNMENT_MASK
| #define WORD_ALIGNMENT_MASK (sizeof (word) - 1) |
◆ WORD_FORMAT
| #define WORD_FORMAT PRIuPTR |
◆ kissat_has_suffix()
Definition at line 7 of file utilities.c.
7 {
11 const char *q = suffix;
12 while (*q)
13 q++;
14 while (
p > str && q > suffix)
16 return false;
17 return q == suffix;
18}
◆ w2rd