MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / testset_debug1

Function testset_debug1

test/sqlite/speedtest1.c:1125–1137  ·  view source on GitHub ↗

** A testset used for debugging speedtest1 itself. */

Source from the content-addressed store, hash-verified

1123** A testset used for debugging speedtest1 itself.
1124*/
1125void testset_debug1(void){
1126 unsigned i, n;
1127 unsigned x1, x2;
1128 char zNum[2000]; /* A number name */
1129
1130 n = g.szTest;
1131 for(i=1; i<=n; i++){
1132 x1 = swizzle(i, n);
1133 x2 = swizzle(x1, n);
1134 speedtest1_numbername(x1, zNum, sizeof(zNum));
1135 printf("%5d %5d %5d %s\n", i, x1, x2, zNum);
1136 }
1137}
1138
1139int main(int argc, char **argv){
1140 int doAutovac = 0; /* True for --autovacuum */

Callers 1

mainFunction · 0.85

Calls 3

swizzleFunction · 0.85
speedtest1_numbernameFunction · 0.85
printfFunction · 0.85

Tested by

no test coverage detected