Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 9 of 9) sorted by relevance

/redis-3.2.3/deps/lua/src/
H A Dlstrlib.c478 lua_pushinteger(ms->L, ms->capture[i].init - ms->src_init + 1); in push_onecapture()
480 lua_pushlstring(ms->L, ms->capture[i].init, l); in push_onecapture()
487 int nlevels = (ms->level == 0 && s) ? 1 : ms->level; in push_captures()
513 MatchState ms; in str_find_aux() local
516 ms.L = L; in str_find_aux()
549 MatchState ms; in gmatch_aux() local
554 ms.L = L; in gmatch_aux()
561 ms.level = 0; in gmatch_aux()
652 MatchState ms; in str_gsub() local
658 ms.L = L; in str_gsub()
[all …]
/redis-3.2.3/src/
H A Dae.c189 static void aeAddMillisecondsToNow(long long milliseconds, long *sec, long *ms) { in aeAddMillisecondsToNow() argument
200 *ms = when_ms; in aeAddMillisecondsToNow()
376 long long ms = in aeProcessEvents() local
380 if (ms > 0) { in aeProcessEvents()
381 tvp->tv_sec = ms/1000; in aeProcessEvents()
382 tvp->tv_usec = (ms % 1000)*1000; in aeProcessEvents()
H A Danet.h72 int anetSendTimeout(char *err, int fd, long long ms);
H A Danet.c184 int anetSendTimeout(char *err, int fd, long long ms) { in anetSendTimeout() argument
187 tv.tv_sec = ms/1000; in anetSendTimeout()
188 tv.tv_usec = (ms%1000)*1000; in anetSendTimeout()
H A Ddict.h175 int dictRehashMilliseconds(dict *d, int ms);
H A Ddict.c298 int dictRehashMilliseconds(dict *d, int ms) { in dictRehashMilliseconds() argument
304 if (timeInMilliseconds()-start > ms) break; in dictRehashMilliseconds()
H A Dcluster.c4978 multiState *ms, _ms; in getNodeByQuery() local
4991 ms = &c->mstate; in getNodeByQuery()
4996 ms = &_ms; in getNodeByQuery()
5006 for (i = 0; i < ms->count; i++) { in getNodeByQuery()
5011 mcmd = ms->commands[i].cmd; in getNodeByQuery()
5012 margc = ms->commands[i].argc; in getNodeByQuery()
5013 margv = ms->commands[i].argv; in getNodeByQuery()
H A Dsentinel.c1519 int sentinelRedisInstanceNoDownFor(sentinelRedisInstance *ri, mstime_t ms) { in sentinelRedisInstanceNoDownFor() argument
1525 return most_recent == 0 || (mstime() - most_recent) > ms; in sentinelRedisInstanceNoDownFor()
/redis-3.2.3/utils/lru/
H A DREADME7 This allows to execute the program in a fast way since the 1 ms resolution