core.internal.gc.bits
Contains a bitfield used by the GC.
Copyright
D Language Foundation 2005 - 2021.
struct GCBits
Types 1
structGCBits
Fields
(wordtype.sizeof * 8) BITS_PER_WORD(wordtype.sizeof == 8 ? 6 : 5) BITS_SHIFT(BITS_PER_WORD - 1) BITS_MASKcast(wordtype) 0 BITS_0cast(wordtype) 1 BITS_1cast(wordtype) 2 BITS_2wordtype * datasize_t nbitsMethods
void Dtor(bool share = false) nothrowvoid alloc(size_t nbits, bool share = false) nothrowvoid clearWords(size_t firstWord, size_t lastWord) nothrowvoid setWords(size_t firstWord, size_t lastWord) nothrowvoid copyWords(size_t firstWord, size_t lastWord, const(wordtype) * source) nothrowvoid copyWordsShifted(size_t firstWord, size_t cntWords, size_t firstOff, const(wordtype) * source) nothrowvoid copyRange(size_t target, size_t len, const(wordtype) * source) nothrowvoid copyRangeZ(size_t target, size_t len, const(wordtype) * source) nothrowvoid copyRangeRepeating(size_t target, size_t destlen, const(wordtype) * source, size_t sourcelen) nothrowvoid setRange(size_t target, size_t len) nothrowvoid setRangeZ(size_t target, size_t len) nothrowvoid clrRange(size_t target, size_t len) nothrowvoid clrRangeZ(size_t target, size_t len) nothrowvoid zero() nothrowvoid setAll() nothrowNested Templates
testAndSet(bool locked)