MCPcopy Create free account
hub / github.com/RenderKit/embree / TestBit

Function TestBit

tutorials/common/imgui/imgui_internal.h:589–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587 void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); }
588 void Clear() { Storage.clear(); }
589 bool TestBit(int n) const { IM_ASSERT(n < (Storage.Size << 5)); return ImBitArrayTestBit(Storage.Data, n); }
590 void SetBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArraySetBit(Storage.Data, n); }
591 void ClearBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArrayClearBit(Storage.Data, n); }
592};

Callers

nothing calls this directly

Calls 1

ImBitArrayTestBitFunction · 0.85

Tested by

no test coverage detected