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

Method split

tutorials/common/imgui/imgui.cpp:2396–2412  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2394}
2395
2396void ImGuiTextFilter::ImGuiTextRange::split(char separator, ImVector<ImGuiTextRange>* out) const
2397{
2398 out->resize(0);
2399 const char* wb = b;
2400 const char* we = wb;
2401 while (we < e)
2402 {
2403 if (*we == separator)
2404 {
2405 out->push_back(ImGuiTextRange(wb, we));
2406 wb = we + 1;
2407 }
2408 we++;
2409 }
2410 if (wb != we)
2411 out->push_back(ImGuiTextRange(wb, we));
2412}
2413
2414void ImGuiTextFilter::Build()
2415{

Callers 3

make_reference.pyFile · 0.45
BuildMethod · 0.45

Calls 3

ImGuiTextRangeClass · 0.85
resizeMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected