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

Function build

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

Source from the content-addressed store, hash-verified

202}
203
204void build(int a, int b, int count, int step)
205{
206 struct { int key,value; } *map=NULL;
207 int i,j,n,k;
208 for (i=0; i < a; ++i)
209 hmput(map,i*step,i+1);
210 measure();
211 churn_inserts = i;
212 hmfree(map);
213 dont_measure();
214}
215
216#ifdef STB__INCLUDE_STB_H
217void build_stb(int a, int b, int count, int step)

Callers 1

mainFunction · 0.70

Calls 2

measureFunction · 0.70
dont_measureFunction · 0.70

Tested by

no test coverage detected