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

Function stb__match

tutorials/common/imgui/imgui_draw.cpp:3961–3968  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3959static const unsigned char *stb__barrier_in_b;
3960static unsigned char *stb__dout;
3961static void stb__match(const unsigned char *data, unsigned int length)
3962{
3963 // INVERSE of memmove... write each byte before copying the next...
3964 IM_ASSERT(stb__dout + length <= stb__barrier_out_e);
3965 if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; }
3966 if (data < stb__barrier_out_b) { stb__dout = stb__barrier_out_e+1; return; }
3967 while (length--) *stb__dout++ = *data++;
3968}
3969
3970static void stb__lit(const unsigned char *data, unsigned int length)
3971{

Callers 1

stb_decompress_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected