Documentation

APPLY_MACRO_FOREACH

APPLY_MACRO_FOREACH Description Expand variadic argument list for given macro for each element one by one. This is a macro trick to apply a given macro on a variadic argument list one by one. The only limitiation here is that we cannot expand more than 256 times for the moment. To make it do more than that, we just need to add one more line to the EXPAND macros Also, if you have more than 20-30 arguments in your format strings, you should seriously consider whether you’re doing something wrong Reference : https://www.scs.stanford.edu/~dm/blog/va-opt.html

Read More

APPLY_MACRO_FOREACH_AGAIN

APPLY_MACRO_FOREACH_AGAIN Description Helper macro to delay evaluation in text generation (pre-processing) phase of macro

Read More

APPLY_MACRO_FOREACH_HELPER

APPLY_MACRO_FOREACH_HELPER Description Helper macro to apply given macro to the very first argument in list of variadic macro arguments Then expands to applying the same macro to more arguments only if there are more

Read More

BitVecAlignmentScore

BitVecAlignmentScore Description Calculate alignment score between two bitvectors. Used in bioinformatics-style sequence alignment with match/mismatch scoring.

Read More

BitVecAll

BitVecAll Description Check if all bits in bitvector match the given value.

Read More

BitVecAnd

BitVecAnd Description Perform bitwise AND operation between two bitvectors. Result is stored in the first bitvector.

Read More

BitVecAny

BitVecAny Description Check if any bit in bitvector matches the given value.

Read More

BitVecBestAlignment

BitVecBestAlignment Description Find best overlapping alignment between two bitvectors. Returns the offset that gives the best alignment score.

Read More

BitVecByteSize

BitVecByteSize Description Get u64 of bitvector in bytes. This returns the actual memory used by the bit data.

Read More

BitVecCapacity

BitVecCapacity Description Get capacity of bitvector in bits.

Read More