MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / getTestProcByName

Function getTestProcByName

src/server.cpp:7445–7453  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7443 {"dict", dictTest}
7444};
7445redisTestProc *getTestProcByName(const char *name) {
7446 int numtests = sizeof(redisTests)/sizeof(struct redisTest);
7447 for (int j = 0; j < numtests; j++) {
7448 if (!strcasecmp(name,redisTests[j].name)) {
7449 return redisTests[j].proc;
7450 }
7451 }
7452 return NULL;
7453}
7454#endif
7455
7456int main(int argc, char **argv) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected