MCPcopy Create free account
hub / github.com/BoomingTech/Piccolo / build_stb

Function build_stb

engine/3rdparty/stb/tests/test_ds_cpp.cpp:217–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216#ifdef STB__INCLUDE_STB_H
217void build_stb(int a, int b, int count, int step)
218{
219 stb_idict *d = stb_idict_new_size(8);
220 struct { int key,value; } *map=NULL;
221 int i,j,n,k;
222 for (i=0; i < a; ++i)
223 stb_idict_add(d, i*step, i+1);
224 measure();
225 churn_inserts = i;
226 stb_idict_destroy(d);
227 dont_measure();
228}
229#endif
230
231void churn_skip(unsigned int a, unsigned int b, int count)

Callers 1

mainFunction · 0.70

Calls 3

stb_idict_new_sizeFunction · 0.85
measureFunction · 0.70
dont_measureFunction · 0.70

Tested by

no test coverage detected