* arg_ht )
88 if(
hash.second != (hval>>24) )
90 else return(hval>>
bc)&0xFFF;
94 if( (hval>>
bc) + coll >
M)
97 r<<
"bad index at key "<<
hash.first
103 const Uint2* end = start + coll;
105 for( ; start < end; ++start )
106 if( ((*start)>>9) ==
hash.second )
107 return(*start)&0x1FF;
Exceptions that CSeqMaskerUsetHash can throw.
@ eBadIndex
Bad index into the secondary table was formed.
virtual const char * GetErrCodeString() const override
Get a description string for this exception.
Uint4 get_info(Uint4 unit) const
Look up the unit count in the data structure.
void add_vt_info(Uint4 M, const Uint2 *vt)
Add secondary table information to the container.
AutoPtr< const Uint2, ArrayDeleter< const Uint2 > > vt
void add_ht_info(Uint1 arg_k, Uint1 arg_roff, Uint1 arg_bc, const Uint4 *ht)
Add hash table information to the container.
AutoPtr< const Uint4, ArrayDeleter< const Uint4 > > ht
static pair< Uint4, Uint1 > hash_code(Uint4 unit, Uint1 k, Uint1 roff)
Compute a hash code of a unit.
static Uint4 reverse_complement(Uint4 seq, Uint1 size)
Reverse complement of a unit.
void reset(element_type *p=0, EOwnership ownership=eTakeOwnership)
Reset will delete the old pointer (if owned), set content to the new value, and assume the ownership ...
element_type * get(void) const
Get pointer.
TErrCode GetErrCode(void) const
Get error code.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
uint8_t Uint1
1-byte (8-bit) unsigned integer
uint32_t Uint4
4-byte (32-bit) unsigned integer
uint16_t Uint2
2-byte (16-bit) unsigned integer
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
double r(size_t dimension_, const Int4 *score_, const double *prob_, double theta_)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4