8#ifndef BTLLIB_NTHASH_CONSTS_HPP
9#define BTLLIB_NTHASH_CONSTS_HPP
16#define MS_TAB(CHAR, ROT) \
17 (MS_TAB_31L[CHAR][(ROT) < 31 ? (ROT) : (ROT) % 31] | \
18 MS_TAB_33R[CHAR][(ROT) < 33 ? (ROT) : (ROT) % 33])
21const uint8_t CP_OFF = 0x07;
24const int MULTISHIFT = 27;
27static const uint64_t MULTISEED = 0x90b45d39fb6da1fa;
30static const uint64_t SEED_A = 0x3c8bfbb395c60474;
31static const uint64_t SEED_C = 0x3193c18562a02b4c;
32static const uint64_t SEED_G = 0x20323ed082572324;
33static const uint64_t SEED_T = 0x295549f54be24456;
34static const uint64_t SEED_N = 0x0000000000000000;
36static const int ASCII_SIZE = 256;
38extern const uint64_t SEED_TAB[ASCII_SIZE];
40extern const uint64_t A33R[33];
41extern const uint64_t A31L[31];
43extern const uint64_t C33R[33];
44extern const uint64_t C31L[31];
46extern const uint64_t G33R[33];
47extern const uint64_t G31L[31];
49extern const uint64_t T33R[33];
50extern const uint64_t T31L[31];
52extern const uint64_t N33R[33];
53extern const uint64_t N31L[31];
55extern const uint64_t*
const MS_TAB_33R[ASCII_SIZE];
56extern const uint64_t*
const MS_TAB_31L[ASCII_SIZE];
58extern const uint8_t CONVERT_TAB[ASCII_SIZE];
59extern const uint8_t RC_CONVERT_TAB[ASCII_SIZE];
61extern const uint64_t DIMER_TAB[4 * 4];
62extern const uint64_t TRIMER_TAB[4 * 4 * 4];
63extern const uint64_t TETRAMER_TAB[4 * 4 * 4 * 4];
Definition: bloom_filter.hpp:16