MCPcopy Create free account
hub / github.com/F-Stack/f-stack / next_token

Function next_token

app/redis-6.2.6/src/setcpuaffinity.c:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48
49#ifdef USE_SETCPUAFFINITY
50static const char *next_token(const char *q, int sep) {
51 if (q)
52 q = strchr(q, sep);
53 if (q)
54 q++;
55
56 return q;
57}
58
59static int next_num(const char *str, char **end, int *result) {
60 if (!str || *str == '\0' || !isdigit(*str))

Callers 1

setcpuaffinityFunction · 0.85

Calls 1

strchrFunction · 0.85

Tested by

no test coverage detected