MCPcopy Create free account
hub / github.com/RIPmr/MoonEngine / ImHashStr

Function ImHashStr

ToyBox/imgui/imgui.cpp:1556–1582  ·  view source on GitHub ↗

Zero-terminated string hash, with support for ### to reset back to seed value We support a syntax of "label###id" where only "###id" is included in the hash, and only "label" gets displayed. Because this syntax is rarely used we are optimizing for the common case. - If we reach ### in the string we discard the hash so far and reset to the seed. - We don't do 'current += 2; continue;' after handlin

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

MakeSlotDataIDFunction · 0.85
EndNodeFunction · 0.85
ImGuiWindowMethod · 0.85
GetIDMethod · 0.85
GetIDNoKeepAliveMethod · 0.85
InitializeMethod · 0.85
FindWindowByNameMethod · 0.85
GetWindowResizeIDMethod · 0.85
BeginDragDropSourceMethod · 0.85
FindSettingsHandlerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected