MCPcopy Create free account
hub / github.com/cinder/Cinder / Clear

Function Clear

include/imgui/imgui_internal.h:656–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

654 ImVector<ImU32> Storage;
655 void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); }
656 void Clear() { Storage.clear(); }
657 bool TestBit(int n) const { IM_ASSERT(n < (Storage.Size << 5)); return IM_BITARRAY_TESTBIT(Storage.Data, n); }
658 void SetBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArraySetBit(Storage.Data, n); }
659 void ClearBit(int n) { IM_ASSERT(n < (Storage.Size << 5)); ImBitArrayClearBit(Storage.Data, n); }

Callers 14

~ClipperBaseMethod · 0.85
~ClipperOffsetMethod · 0.85
~PolyTreeMethod · 0.85
ApplyRequestsMethod · 0.85
ApplyDeletionPostLoopMethod · 0.85
ExampleAppLogMethod · 0.85
DrawFunction · 0.85
ImGuiPayloadMethod · 0.85
ImDrawDataMethod · 0.85
~ImPoolMethod · 0.85
ImGuiKeyRoutingTableMethod · 0.85

Calls 2

ClearIOFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected