MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/PositionBasedDynamics / stb__match

Function stb__match

extern/imgui/imgui_draw.cpp:3991–3998  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3989static const unsigned char *stb__barrier_in_b;
3990static unsigned char *stb__dout;
3991static void stb__match(const unsigned char *data, unsigned int length)
3992{
3993 // INVERSE of memmove... write each byte before copying the next...
3994 IM_ASSERT(stb__dout + length <= stb__barrier_out_e);
3995 if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; }
3996 if (data < stb__barrier_out_b) { stb__dout = stb__barrier_out_e+1; return; }
3997 while (length--) *stb__dout++ = *data++;
3998}
3999
4000static void stb__lit(const unsigned char *data, unsigned int length)
4001{

Callers 1

stb_decompress_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected