Home
last modified time | relevance | path

Searched refs:hsetnx (Results 1 – 25 of 67) sorted by relevance

123

/dports/security/py-ospd-openvas/ospd-openvas-21.4.3/tests/
H A Dtest_db.py629 ctx.hsetnx.return_value = 1
636 ctx.hsetnx.assert_called_with(DBINDEX_NAME, 1, 1)
640 ctx.hsetnx.return_value = 0
647 ctx.hsetnx.assert_called_with(DBINDEX_NAME, 1, 1)
651 ctx.hsetnx.side_effect = Exception
695 ctx.hsetnx.side_effect = [0, 0, 1]
708 ctx.hsetnx.side_effect = [0, 0, 0]
/dports/mail/py-python-slimta/python-slimta-4.2.1/test/
H A Dtest_slimta_redisstorage.py34 self.storage.redis.hsetnx(Func(_is_prefixed_id), 'envelope', IsA(bytes)).AndReturn(0)
35 self.storage.redis.hsetnx(Func(_is_prefixed_id), 'envelope', IsA(bytes)).AndReturn(1)
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/redis-plus-plus-1.1.1/test/src/sw/redis++/
H A Dhash_cmds_test.hpp59 REDIS_ASSERT(_redis.hsetnx(key, f2, v1), "failed to test hsetnx"); in _test_hash()
60 REDIS_ASSERT(!_redis.hsetnx(key, f2, v2), "failed to test hsetnx with exist field"); in _test_hash()
/dports/textproc/redisearch20/RediSearch-2.0.15/src/
H A Dnotifications.c65 else CHECK_CACHED_EVENT(hsetnx) in HashNotificationCallback()
86 else CHECK_AND_CACHE_EVENT(hsetnx) in HashNotificationCallback()
/dports/mail/pyzor/pyzor-1.0.0/pyzor/engines/
H A Dredis_.py143 self.db.hsetnx(real_key, "r_entered", now)
154 self.db.hsetnx(real_key, "wl_entered", now)
/dports/devel/awscli/awscli-1.20.61/awscli/examples/elasticache/
H A Dcreate-user.rst19 … "on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -h…
H A Ddescribe-users.rst43 … "on ~app::* -@all +@read +@hash +@bitmap +@geo -setbit -bitfield -hset -hsetnx -hmset -hincrby -h…
/dports/textproc/redisearch/RediSearch-2.2.5/src/
H A Dnotifications.c74 else CHECK_CACHED_EVENT(hsetnx) in HashNotificationCallback()
97 else CHECK_AND_CACHE_EVENT(hsetnx) in HashNotificationCallback()
/dports/databases/redis6/redis-6.0.16/tests/unit/type/
H A Dhash.tcl87 r hsetnx smallhash __123123123__ foo
92 r hsetnx smallhash __123123123__ bar
99 r hsetnx bighash __123123123__ foo
104 r hsetnx bighash __123123123__ bar
/dports/databases/redis5/redis-5.0.14/tests/unit/type/
H A Dhash.tcl87 r hsetnx smallhash __123123123__ foo
92 r hsetnx smallhash __123123123__ bar
99 r hsetnx bighash __123123123__ foo
104 r hsetnx bighash __123123123__ bar
/dports/databases/p5-Redis/Redis-1.995/t/
H A D01-basic.t314 ok($o->hsetnx($hash, setnxtest => 'baz'));
315 ok(!$o->hsetnx($hash, setnxtest => 'baz')); # already exists, 0 returned
/dports/databases/p5-Redis-Fast/Redis-Fast-0.31/t/
H A D01-basic.t305 ok($o->hsetnx($hash, setnxtest => 'baz'));
306 ok(!$o->hsetnx($hash, setnxtest => 'baz')); # already exists, 0 returned
/dports/devel/p5-Test-Mock-Redis/Test-Mock-Redis-0.22/t/
H A D01-basic.t298 ok($o->hsetnx($hash, setnxtest => 'baz'));
299 ok(!$o->hsetnx($hash, setnxtest => 'baz')); # already exists, 0 returned
/dports/databases/py-aioredis/aioredis-1.3.1/tests/
H A Dhash_commands_test.py314 test_value = await redis.hsetnx(key, field, value)
320 test_value = await redis.hsetnx(key, field, b'baz')
327 await redis.hsetnx(None, field, value)
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/redis-plus-plus-1.1.1/src/sw/redis++/
H A Dredis_cluster.cpp435 bool RedisCluster::hsetnx(const StringView &key, const StringView &field, const StringView &val) { in hsetnx() function in sw::redis::RedisCluster
436 auto reply = command(cmd::hsetnx, key, field, val); in hsetnx()
441 bool RedisCluster::hsetnx(const StringView &key, const std::pair<StringView, StringView> &item) { in hsetnx() function in sw::redis::RedisCluster
442 return hsetnx(key, item.first, item.second); in hsetnx()
H A Dredis.cpp537 bool Redis::hsetnx(const StringView &key, const StringView &field, const StringView &val) { in hsetnx() function in sw::redis::Redis
538 auto reply = command(cmd::hsetnx, key, field, val); in hsetnx()
543 bool Redis::hsetnx(const StringView &key, const std::pair<StringView, StringView> &item) { in hsetnx() function in sw::redis::Redis
544 return hsetnx(key, item.first, item.second); in hsetnx()
/dports/sysutils/py-salt/salt-3004.1/salt/modules/
H A Dredismod.py418 def hsetnx(key, field, value, host=None, port=None, db=None, password=None): function
431 return server.hsetnx(key, field, value)
/dports/databases/py-aioredis/aioredis-1.3.1/aioredis/commands/
H A Dhash.py108 def hsetnx(self, key, field, value): member in HashCommandsMixin
/dports/devel/p5-MCE-Shared/MCE-Shared-1.874/t/
H A D07_shared_minidb.t257 $db->hsetnx('k2', 'f17', 'foobar'), '0',
265 $db->hsetnx('k2', 'hello', 'world'), '1',
/dports/mail/py-python-slimta/python-slimta-4.2.1/slimta/redisstorage/
H A D__init__.py92 if self.redis.hsetnx(key, 'envelope', envelope_raw):
/dports/databases/redis-devel/redis-0e5b813/tests/unit/type/
H A Dhash.tcl293 r hsetnx smallhash __123123123__ foo
298 r hsetnx smallhash __123123123__ bar
305 r hsetnx bighash __123123123__ foo
310 r hsetnx bighash __123123123__ bar
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/laravel/framework/src/Illuminate/Redis/Connections/
H A DPhpRedisConnection.php148 public function hsetnx($hash, $key, $value) function in Illuminate\\Redis\\Connections\\PhpRedisConnection
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/alicebob/miniredis/v2/
H A Dcmd_command.go661 hsetnx
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/alicebob/miniredis/v2/
H A Dcmd_command.go661 hsetnx
/dports/net/storj/storj-1.45.3/vendor/github.com/alicebob/miniredis/v2/
H A Dcmd_command.go661 hsetnx

123