Go to the documentation of this file.Go to the SVN repository for this file.
33 #ifndef C_SEQ_MASKER_UTIL_H
34 #define C_SEQ_MASKER_UTIL_H
84 return make_pair( (unit>>roff)&((((
Uint4)1)<<k) - 1),
85 (
Uint1)(((unit>>(roff + k))<<roff)
86 + (unit&((1<<roff) - 1))) );
Collection of various support utilities.
static pair< Uint4, Uint1 > hash_code(Uint4 unit, Uint1 k, Uint1 roff)
Compute a hash code of a unit.
Include a standard set of the NCBI C++ Toolkit most basic headers.
uint8_t Uint1
1-byte (8-bit) unsigned integer
uint32_t Uint4
4-byte (32-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_XALGOWINMASK_EXPORT
const struct ncbi::grid::netcache::search::fields::SIZE size
static Uint4 reverse_complement(Uint4 seq, Uint1 size)