MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / Clear

Function Clear

KBotExt/imgui/imgui_internal.h:586–586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 7

ImGuiPayloadMethod · 0.85
ImDrawDataMethod · 0.85
~ImFontAtlasMethod · 0.85
~ImPoolMethod · 0.85
ImGuiKeyRoutingTableMethod · 0.85
ImGuiNavItemDataMethod · 0.85

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected