Home
last modified time | relevance | path

Searched refs:expire (Results 1 – 25 of 65) sorted by relevance

123

/f-stack/app/redis-5.0.5/tests/unit/
H A Dexpire.tcl4 set v1 [r expire x 5]
6 set v3 [r expire x 10]
8 r expire x 2
23 test {EXPIRE - write on expire should work} {
26 r expire x 1000
53 test {SETEX - Wait for the key to expire} {
66 r expire x 50
163 test {Redis should lazy expire keys} {
186 r expire foo 10
194 r expire a 5
[all …]
H A Dintrospection-2.tcl41 assert_match {*calls=1,*} [cmdstat expire]
63 assert_match {*calls=1,*} [cmdstat expire]
77 assert_match {*calls=1,*} [cmdstat expire]
H A Dkeyspace.tcl139 r expire mykey 100
149 r expire mykey2 100
196 test {MOVE can move key expire metadata as well} {
209 test {MOVE does not create an expire if it does not exist} {
H A Dlatency-monitor.tcl51 test {LATENCY of expire events are correctly collected} {
H A Ddump.tcl9 test {RESTORE can set an arbitrary expire to the materialized key} {
19 test {RESTORE can set an expire that overflows a 32 bit integer} {
29 test {RESTORE can set an absolute expire} {
180 $first expire key 10
H A Dother.tcl114 r expire x 1000
132 r expire x 1000
/f-stack/dpdk/lib/librte_timer/
H A Drte_timer.c364 prev[lvl]->sl_next[lvl]->expire <= time_val) in timer_get_prev_entries()
387 prev[i]->sl_next[i]->expire <= tim->expire) in timer_get_prev_entries_for_node()
426 pending_head.sl_next[0]->expire; in timer_add()
452 priv_timer[prev_owner].pending_head.expire = in timer_del()
519 tim->expire = expire; in __rte_timer_reset()
734 priv_timer[lcore_id].pending_head.expire = in __rte_timer_manage()
895 privp->pending_head.expire = in rte_timer_alt_manage()
897 privp->pending_head.sl_next[0]->expire; in rte_timer_alt_manage()
912 if (tim != NULL && tim->expire < min_expire) { in rte_timer_alt_manage()
913 min_expire = tim->expire; in rte_timer_alt_manage()
[all …]
H A Drte_timer.h102 uint64_t expire; /**< Time when timer expire. */ member
/f-stack/app/redis-5.0.5/src/
H A Dexpire.c303 dictEntry *expire = dictFind(db->expires,keyname); in expireSlaveKeys() local
306 if (expire && in expireSlaveKeys()
307 activeExpireCycleTryExpire(server.db+dbid,expire,start)) in expireSlaveKeys()
316 if (expire && !expired) { in expireSlaveKeys()
474 long long expire, ttl = -1; in ttlGenericCommand() local
483 expire = getExpire(c->db,c->argv[1]); in ttlGenericCommand()
484 if (expire != -1) { in ttlGenericCommand()
485 ttl = expire-mstime(); in ttlGenericCommand()
H A Dt_string.c67 void setGenericCommand(client *c, int flags, robj *key, robj *val, robj *expire, int unit, robj *ok… in setGenericCommand() argument
70 if (expire) { in setGenericCommand()
71 if (getLongLongFromObjectOrReply(c, expire, &milliseconds, NULL) != C_OK) in setGenericCommand()
88 if (expire) setExpire(c,c->db,key,mstime()+milliseconds); in setGenericCommand()
90 if (expire) notifyKeyspaceEvent(NOTIFY_GENERIC, in setGenericCommand()
98 robj *expire = NULL; in setCommand() local
122 expire = next; in setCommand()
130 expire = next; in setCommand()
139 setGenericCommand(c,flags,c->argv[1],c->argv[2],expire,unit,NULL,NULL); in setCommand()
H A Ddb.c871 long long expire; in renameGenericCommand() local
887 expire = getExpire(c->db,c->argv[1]); in renameGenericCommand()
899 if (expire != -1) setExpire(c,c->db,c->argv[2],expire); in renameGenericCommand()
923 long long dbid, expire; in moveCommand() local
957 expire = getExpire(c->db,c->argv[1]); in moveCommand()
965 if (expire != -1) setExpire(c,dst,c->argv[1],expire); in moveCommand()
/f-stack/freebsd/netinet/
H A Dtcp_hostcache.c154 SYSCTL_INT(_net_inet_tcp_hostcache, OID_AUTO, expire, CTLFLAG_VNET | CTLFLAG_RW,
155 &VNET_NAME(tcp_hostcache.expire), 0,
205 V_tcp_hostcache.expire = TCP_HOSTCACHE_EXPIRE; in tcp_hc_init()
420 hc_entry->rmx_expire = V_tcp_hostcache.expire; in tcp_hc_insert()
461 hc_entry->rmx_expire = V_tcp_hostcache.expire; /* start over again */ in tcp_hc_get()
496 hc_entry->rmx_expire = V_tcp_hostcache.expire; /* start over again */ in tcp_hc_getmtu()
529 hc_entry->rmx_expire = V_tcp_hostcache.expire; /* start over again */ in tcp_hc_updatemtu()
564 hc_entry->rmx_expire = V_tcp_hostcache.expire; /* start over again */ in tcp_hc_update()
H A Dtcp_hostcache.h79 int expire; member
/f-stack/freebsd/netpfil/ipfw/
H A Dip_fw_dynamic.c934 uint32_t ack, expire; in dyn_update_tcp_state() local
938 expire = data->expire; in dyn_update_tcp_state()
996 return (expire); in dyn_update_tcp_state()
1009 uint32_t expire; in dyn_update_proto_state() local
1027 if (data->expire != expire) in dyn_update_proto_state()
1028 ck_pr_store_32(&data->expire, expire); in dyn_update_proto_state()
2466 s->data->expire)) in dyn_send_keepalive_ipv4()
2573 s->data->expire)) in dyn_send_keepalive_ipv6()
2908 dst->expire = TIME_LEQ(p->expire, time_uptime) ? 0: in dyn_export_parent()
2909 p->expire - time_uptime; in dyn_export_parent()
[all …]
H A Dip_dn_io.c216 SYSCTL_UINT(_net_inet_ip_dummynet, OID_AUTO, expire,
217 CTLFLAG_RW, DC(expire), 0, "Expire empty queues/pipes");
727 if (dn_cfg.expire && ++dn_cfg.expire_cycle >= dn_cfg.expire) { in dummynet_task()
/f-stack/app/redis-5.0.5/src/modules/
H A Dhelloworld.c354 mstime_t addms, expire; in HelloMoreExpire_RedisCommand() local
361 expire = RedisModule_GetExpire(key); in HelloMoreExpire_RedisCommand()
362 if (expire != REDISMODULE_NO_EXPIRE) { in HelloMoreExpire_RedisCommand()
363 expire += addms; in HelloMoreExpire_RedisCommand()
364 RedisModule_SetExpire(key,expire); in HelloMoreExpire_RedisCommand()
/f-stack/freebsd/netinet6/
H A Dnd6.h116 int expire; /* lifetime for NDP state transition */ member
124 u_long expire; member
135 time_t expire; member
201 u_long expire; member
/f-stack/tools/compat/include/netinet6/
H A Dnd6.h116 int expire; /* lifetime for NDP state transition */ member
124 u_long expire; member
135 time_t expire; member
201 u_long expire; member
/f-stack/tools/ndp/
H A Dndp.c651 time_t expire; in dump() local
770 expire = rtm->rtm_rmx.rmx_expire; in dump()
771 if (expire > now.tv_sec) in dump()
772 printf(" %-9.9s", sec2str(expire - now.tv_sec)); in dump()
773 else if (expire == 0) in dump()
1202 if (p->expire == 0) in rtrlist()
1206 sec2str(p->expire - now.tv_sec)); in rtrlist()
1277 if (p->expire == 0) in plist()
1279 else if (p->expire >= now.tv_sec) in plist()
1281 sec2str(p->expire - now.tv_sec)); in plist()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_resolver.h133 time_t expire; member
188 time_t expire; member
H A Dngx_resolver.c198 r->expire = 30; in ngx_resolver_create()
624 rn->expire = ngx_time() + r->expire; in ngx_resolve_name_locked()
969 rn->expire = ngx_time() + r->expire; in ngx_resolve_addr()
1235 if (now <= rn->expire) { in ngx_resolver_expire()
1507 if (now < rn->expire) { in ngx_resolver_resend()
1508 return rn->expire - now; in ngx_resolver_resend()
2395 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_a()
2467 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_a()
2816 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_srv()
2852 rn->expire = ngx_time() + r->expire; in ngx_resolver_process_srv()
[all …]
/f-stack/tools/route/
H A Dkeywords13 expire
/f-stack/freebsd/net/
H A Dif_pfsync.h151 u_int32_t expire; member
/f-stack/tools/compat/include/net/
H A Dif_pfsync.h151 u_int32_t expire; member
/f-stack/app/redis-5.0.5/
H A Dredis.conf675 lazyfree-lazy-expire no

123