MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / main

Function main

applications/test/HashingSpeed/Test-HashingSpeed.C:1066–1079  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1064};
1065
1066int main () {
1067int i, j;
1068 GenerateCRC32Table ();
1069
1070 for (j=0; tests[j].name != nullptr; j++) {
1071 for (i=0; i < 3; i++) {
1072 double res = test (tests[j].hash);
1073 if (tests[j].res == 0.0 || tests[j].res > res) tests[j].res = res;
1074 }
1075 printf ("%s:%8.4fs\n", tests[j].name, tests[j].res);
1076 }
1077
1078 return 0;
1079}

Callers

nothing calls this directly

Calls 2

GenerateCRC32TableFunction · 0.85
testFunction · 0.70

Tested by

no test coverage detected