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

Function stb__lit

tutorials/common/imgui/imgui_draw.cpp:3970–3977  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3968}
3969
3970static void stb__lit(const unsigned char *data, unsigned int length)
3971{
3972 IM_ASSERT(stb__dout + length <= stb__barrier_out_e);
3973 if (stb__dout + length > stb__barrier_out_e) { stb__dout += length; return; }
3974 if (data < stb__barrier_in_b) { stb__dout = stb__barrier_out_e+1; return; }
3975 memcpy(stb__dout, data, length);
3976 stb__dout += length;
3977}
3978
3979#define stb__in2(x) ((i[x] << 8) + i[(x)+1])
3980#define stb__in3(x) ((i[x] << 16) + stb__in2((x)+1))

Callers 1

stb_decompress_tokenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected