- vec_and
void vec_and(vec_t v1, const(vec_base_t)* v2, const(vec_base_t)* v3)
- vec_andass
void vec_andass(vec_t v1, const(vec_base_t)* v2)
- vec_calloc
vec_t vec_calloc(size_t numbits)
Allocate a vector given # of bits in it.
Clear the vector.
- vec_clear
void vec_clear(vec_t v)
- vec_clearbit
void vec_clearbit(size_t b, vec_t v)
- vec_clearextrabits
void vec_clearextrabits(vec_t v)
Clear any extra bits in vector.
- vec_clone
vec_t vec_clone(const vec_t v)
Allocate copy of existing vector.
- vec_copy
void vec_copy(vec_t to, const vec_t from)
- vec_disjoint
int vec_disjoint(const(vec_base_t)* v1, const(vec_base_t)* v2)
Return 1 if (v1 & v2) == 0
- vec_equal
int vec_equal(const vec_t v1, const vec_t v2)
Return 1 if vectors are equal.
- vec_free
void vec_free(vec_t v)
- vec_index
size_t vec_index(size_t b, const vec_t vec)
Find first set bit starting from b in vector v.
If no bit is found, return vec_numbits(v).
- vec_init
void vec_init()
- vec_or
void vec_or(vec_t v1, const(vec_base_t)* v2, const(vec_base_t)* v3)
- vec_orass
void vec_orass(vec_t v1, const(vec_base_t)* v2)
- vec_println
void vec_println(const vec_t v)
- vec_realloc
vec_t vec_realloc(vec_t v, size_t numbits)
Realloc a vector to have numbits bits in it.
Extra bits are set to 0.
- vec_set
void vec_set(vec_t v)
- vec_setbit
void vec_setbit(size_t b, vec_t v)
- vec_sub
void vec_sub(vec_t v1, const(vec_base_t)* v2, const(vec_base_t)* v3)
- vec_subass
void vec_subass(vec_t v1, const(vec_base_t)* v2)
- vec_term
void vec_term()
- vec_testbit
size_t vec_testbit(size_t b, const vec_t v)
- vec_xor
void vec_xor(vec_t v1, const(vec_base_t)* v2, const(vec_base_t)* v3)
- vec_xorass
void vec_xorass(vec_t v1, const(vec_base_t)* v2)
Compiler implementation of the D programming language.
Simple bit vector implementation.