Home
last modified time | relevance | path

Searched refs:pttl (Results 1 – 25 of 96) sorted by relevance

1234

/dports/security/suricata/suricata-6.0.4/src/
H A Ddetect-ttl.c81 if (mode == DETECT_TTL_EQ && pttl == dttl1) in TtlMatch()
83 else if (mode == DETECT_TTL_LT && pttl < dttl1) in TtlMatch()
85 else if (mode == DETECT_TTL_GT && pttl > dttl1) in TtlMatch()
87 else if (mode == DETECT_TTL_RA && (pttl > dttl1 && pttl < dttl2)) in TtlMatch()
111 uint8_t pttl; in DetectTtlMatch() local
113 pttl = IPV4_GET_IPTTL(p); in DetectTtlMatch()
115 pttl = IPV6_GET_HLIM(p); in DetectTtlMatch()
317 uint8_t pttl; in PrefilterPacketTtlMatch() local
319 pttl = IPV4_GET_IPTTL(p); in PrefilterPacketTtlMatch()
321 pttl = IPV6_GET_HLIM(p); in PrefilterPacketTtlMatch()
[all …]
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/redis-plus-plus-1.1.1/test/src/sw/redis++/
H A Dkeys_cmds_test.hpp124 auto pttl = _redis.pttl(key); in _test_ttl() local
125 REDIS_ASSERT(pttl > 0 && pttl <= 100000, "failed to test pttl"); in _test_ttl()
129 pttl = _redis.pttl(key); in _test_ttl()
130 REDIS_ASSERT(pttl > 0, "failed to test pexpireat"); in _test_ttl()
H A Dstring_cmds_test.hpp201 auto pttl = std::chrono::milliseconds(10000); in _test_getset() local
204 REDIS_ASSERT(_redis.pttl(key) <= pttl.count(), "failed to test psetex"); in _test_getset()
/dports/databases/py-redis/redis-3.5.3/tests/
H A Dtest_lock.py95 assert 8 < r.pttl('foo') <= 9500
154 assert 8000 < r.pttl('foo') <= 10000
156 assert 16000 < r.pttl('foo') <= 20000
162 assert 8000 < r.pttl('foo') <= 10000
164 assert 8000 < r.pttl('foo') <= 10000
170 assert 8000 < r.pttl('foo') <= 10000
172 assert 16000 < r.pttl('foo') <= 20000
198 assert r.pttl('foo') <= 5000
200 assert 8000 < r.pttl('foo') <= 10000
/dports/mail/libmilter/sendmail-8.16.1/sendmail/
H A Ddomain.c102 unsigned int *pttl;
122 *pttl = SM_NEG_TTL;
131 ttl = *pttl;
211 *pttl = ttl;
535 int *pttl;
569 if (pttl != NULL)
834 *pttl = ttl;
1010 if (pttl != NULL)
1011 cttl = *pttl;
1254 int *pttl;
[all …]
/dports/dns/gen6dns/gen6dns-1.3/
H A Dmisc.c36 int ttlfromstr (const char *s, unsigned long *pttl) in ttlfromstr() argument
41 assert ( pttl != NULL ); in ttlfromstr()
43 *pttl = 0UL; in ttlfromstr()
68 *pttl = ttl; in ttlfromstr()
H A Dmisc.h57 extern int ttlfromstr (const char *s, ulong *pttl);
/dports/databases/py-redis2/redis-py-2.10.6/tests/
H A Dtest_lock.py43 assert 8 < sr.pttl('foo') <= 9500
85 assert 8000 < sr.pttl('foo') <= 10000
87 assert 16000 < sr.pttl('foo') <= 20000
93 assert 8000 < sr.pttl('foo') <= 10000
95 assert 16000 < sr.pttl('foo') <= 20000
H A Dtest_commands.py456 assert 0 < r.pttl('a') <= 60000
458 assert r.pttl('a') is None
465 assert 0 < r.pttl('a') <= 61000
478 assert 0 < r.pttl('a') <= 61000
484 assert 0 < r.pttl('a') <= 1000
491 assert 0 < r.pttl('a') <= 1000
530 assert 0 < r.pttl('a') <= 10000
537 assert 0 < r.pttl('a') <= 1000
1615 assert 0 < sr.pttl('a') <= 10000
1617 assert sr.pttl('a') == -1
/dports/mail/bmf/bmf-0.9.4/
H A Ddbg.c261 static void walk_alloc_tree( alloc_node* pcur, size_t* pttl ) in walk_alloc_tree() argument
265 walk_alloc_tree( pcur->lptr, pttl ); in walk_alloc_tree()
268 *pttl += pcur->len; in walk_alloc_tree()
269 walk_alloc_tree( pcur->rptr, pttl ); in walk_alloc_tree()
/dports/net/osrtspproxy/osrtspproxy_2_0/libapp/
H A Ddbg.cpp298 static void walk_alloc_tree( alloc_node* pcur, size_t* pttl ) in walk_alloc_tree() argument
302 walk_alloc_tree( pcur->lptr, pttl ); in walk_alloc_tree()
305 *pttl += pcur->len; in walk_alloc_tree()
306 walk_alloc_tree( pcur->rptr, pttl ); in walk_alloc_tree()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Mono.Net.Dns/
H A DDnsResourceRecord.cs51 int pttl = packet.ReadInt32(ref offset); in CreateFromBuffer()
57 rr.ttl = pttl; in CreateFromBuffer()
/dports/www/py-dj32-django-redis/django-redis-5.1.0/tests/
H A Dtest_backend.py547 ttl = cache.pttl("foo")
557 ttl = cache.pttl("foo")
566 ttl = cache.pttl("foo")
571 ttl = cache.pttl("foo")
575 ttl = cache.pttl("not-existent-key")
596 ttl = cache.pttl("foo")
607 ttl = cache.pttl("foo")
614 ttl = cache.pttl("foo")
/dports/www/py-django-redis/django-redis-5.1.0/tests/
H A Dtest_backend.py547 ttl = cache.pttl("foo")
557 ttl = cache.pttl("foo")
566 ttl = cache.pttl("foo")
571 ttl = cache.pttl("foo")
575 ttl = cache.pttl("not-existent-key")
596 ttl = cache.pttl("foo")
607 ttl = cache.pttl("foo")
614 ttl = cache.pttl("foo")
/dports/misc/lifelines/lifelines-3.1.1/src/liflines/
H A Dask.c76 ask_for_fam_by_key (STRING fttl, STRING pttl, STRING sttl) in ask_for_fam_by_key() argument
79 return fam ? fam : ask_for_fam(pttl, sttl); in ask_for_fam_by_key()
87 ask_for_fam (STRING pttl, STRING sttl) in ask_for_fam() argument
90 prn = ask_for_indi(pttl, DOASK1); in ask_for_fam()
/dports/editors/madedit/madedit-0.2.9/src/
H A DMadPrintout.cpp269 wxPoint pttl=pPageSetupData->GetMarginTopLeft(); in CalcPrintInfo() local
280 double top = double(pttl.y)/double(pagesize_y); in CalcPrintInfo()
281 double left = double(pttl.x)/double(pagesize_x); in CalcPrintInfo()
/dports/databases/redis5/redis-5.0.14/tests/unit/
H A Dexpire.tcl134 set ttl [r pttl x]
141 list [r ttl x] [r pttl x]
146 list [r ttl x] [r pttl x]
/dports/databases/redis6/redis-6.0.16/tests/unit/
H A Dexpire.tcl138 set ttl [r pttl x]
145 list [r ttl x] [r pttl x]
150 list [r ttl x] [r pttl x]
/dports/www/py-dj32-django-redis/django-redis-5.1.0/django_redis/
H A Dcache.py152 def pttl(self, *args, **kwargs): member in RedisCache
153 return self.client.pttl(*args, **kwargs)
/dports/www/py-django-redis/django-redis-5.1.0/django_redis/
H A Dcache.py152 def pttl(self, *args, **kwargs): member in RedisCache
153 return self.client.pttl(*args, **kwargs)
/dports/databases/py-aioredis/aioredis-1.3.1/tests/
H A Dgeneric_commands_test.py440 fut3 = redis.pttl('my-key')
455 res = await redis.pttl('key')
457 res = await redis.pttl('non-existent-key')
464 res = await redis.pttl('key')
468 await redis.pttl(None)
/dports/devel/py-taskflow/taskflow-4.6.3/taskflow/utils/
H A Dredis_utils.py82 result = client.pttl(key)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/gitlab/ci/
H A Dtrace_spec.rb91 end.to change { Gitlab::Redis::SharedState.with { |redis| redis.pttl(cache_key) } }
/dports/misc/lifelines/lifelines-3.1.1/src/hdrs/
H A Dliflines.h49 RECORD ask_for_fam_by_key(STRING fttl, STRING pttl, STRING sttl);
/dports/databases/redis-devel/redis-0e5b813/tests/unit/
H A Ddump.tcl14 set ttl [r pttl foo]
24 set ttl [r pttl foo]
35 set ttl [r pttl foo]

1234