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

Function stb__match

KBotExt/imgui/imgui_draw.cpp:4020–4027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4018static const unsigned char* stb__barrier_in_b;
4019static unsigned char* stb__dout;
4020static void stb__match(const unsigned char* data, unsigned int length)
4021{
4022 // INVERSE of memmove... write each byte before copying the next...
4023 IM_ASSERT(stb__dout + length <= stb__barrier_out_e);
4024 if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; }
4025 if (data < stb__barrier_out_b) { stb__dout = stb__barrier_out_e + 1; return; }
4026 while (length--) *stb__dout++ = *data++;
4027}
4028
4029static void stb__lit(const unsigned char* data, unsigned int length)
4030{

Callers 1

stb_decompress_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected