Searched defs:GCBits (Results 1 – 2 of 2) sorted by relevance
22 struct GCBits struct24 alias size_t wordtype;26 enum BITS_PER_WORD = (wordtype.sizeof * 8);27 enum BITS_SHIFT = (wordtype.sizeof == 8 ? 6 : 5);28 enum BITS_MASK = (BITS_PER_WORD - 1);29 enum BITS_1 = cast(wordtype)1;31 wordtype* data;32 size_t nbits;34 void Dtor() nothrow in Dtor()43 void alloc(size_t nbits) nothrow in alloc()[all …]
21 struct GCBits struct26 enum BITS_PER_WORD = (wordtype.sizeof * 8);27 enum BITS_SHIFT = (wordtype.sizeof == 8 ? 6 : 5);28 enum BITS_MASK = (BITS_PER_WORD - 1);29 enum BITS_0 = cast(wordtype)0;30 enum BITS_1 = cast(wordtype)1;31 enum BITS_2 = cast(wordtype)2;33 wordtype* data;34 size_t nbits;63 wordtype test(size_t i) const scope @trusted pure nothrow @nogc in test()[all …]