Searched defs:ImBoolVector (Results 1 – 1 of 1) sorted by relevance
252 struct ImBoolVector struct255 ImBoolVector() { } in ImBoolVector() function256 ….resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); } in Resize()257 void Clear() { Storage.clear(); } in Clear()258 …t n) const { int off = (n >> 5); int mask = 1 << (n & 31); return (Storage[off] & mask) != 0; } in GetBit()259 …ff = (n >> 5); int mask = 1 << (n & 31); if (v) Storage[off] |= mask; else Storage[off] &= ~mask; } in SetBit()