/dports/devel/p5-Test-Mock-Redis/Test-Mock-Redis-0.22/t/ |
H A D | 11-sets.t | 51 …is $r->sismember('noset', 'foo'), 0, "sismember for a set that doesn't exist returns… 61 is $r->sismember('set', 'foo'), 1, "sismember returns 1 for a set element that exists"; 62 is $r->sismember('set', 'baz'), 0, "sismember returns 0 for a set element that doesn't exist"; 82 is $r->sismember('set', $popped), 0, "spop removed $popped"; 141 is $r->sismember('set', 'oink'), 1, "oink moved to set"; 142 is $r->sismember('otherset', 'oink'), 0, "oink removed from otherset";
|
/dports/databases/p5-Redis-hiredis/Redis-hiredis-0.11.0/t/ |
H A D | 004_sets.t | 41 $r = $h->command('sismember '.$prefix.'foo bar'); 42 is($r, 1, 'sismember'); 43 $r = $h->command('sismember '.$prefix.'foo foo'); 44 is($r, 0, '! sismember');
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/ |
H A D | set_cache.rb | 51 with { |redis| redis.sismember(cache_key(key), value) } 61 redis.sismember(full_key, value)
|
H A D | shard_health_cache.rb | 35 Gitlab::Redis::Cache.with { |redis| redis.sismember(HEALTHY_SHARDS_KEY, shard_name) }
|
/dports/databases/redis5/redis-5.0.14/tests/unit/type/ |
H A D | set.tcl | 18 assert_equal 1 [r sismember myset foo] 19 assert_equal 1 [r sismember myset bar] 20 assert_equal 0 [r sismember myset bla] 30 assert_equal 1 [r sismember myset 16] 31 assert_equal 1 [r sismember myset 17] 32 assert_equal 0 [r sismember myset 18] 51 assert_equal 1 [r sismember myset 213244124402402314402033402]
|
/dports/databases/redis6/redis-6.0.16/tests/unit/type/ |
H A D | set.tcl | 18 assert_equal 1 [r sismember myset foo] 19 assert_equal 1 [r sismember myset bar] 20 assert_equal 0 [r sismember myset bla] 30 assert_equal 1 [r sismember myset 16] 31 assert_equal 1 [r sismember myset 17] 32 assert_equal 0 [r sismember myset 18] 51 assert_equal 1 [r sismember myset 213244124402402314402033402]
|
/dports/www/gohugo/hugo-0.91.2/hugolib/testdata/ |
H A D | redis.cn.md | 287 sismember friends:leto jessica 288 sismember friends:leto vladimir 334 …O(1)被认为是最快速的,无论我们是在处理5个元素还是5百万个元素,最终都能得到相同的性能。对于`sismember`命令,其作用是告诉我们一个值是否属于一个集合,时间复杂度为O(1)。`sism…
|
/dports/databases/py-txredisapi/txredisapi-1.4.7/tests/ |
H A D | test_sets.py | 140 r = yield self.db.sismember(self._KEYS[0], 1) 144 r = yield self.db.sismember(self._KEYS[0], 1)
|
/dports/databases/redis-devel/redis-0e5b813/tests/unit/type/ |
H A D | set.tcl | 18 assert_equal 1 [r sismember myset foo] 19 assert_equal 1 [r sismember myset bar] 20 assert_equal 0 [r sismember myset bla] 35 assert_equal 1 [r sismember myset 16] 36 assert_equal 1 [r sismember myset 17] 37 assert_equal 0 [r sismember myset 18] 80 assert_equal 1 [r sismember myset 213244124402402314402033402]
|
/dports/databases/py-aioredis/aioredis-1.3.1/tests/ |
H A D | set_commands_test.py | 171 test_result = await redis.sismember(key, member) 174 test_result = await redis.sismember(key, b'world') 178 await redis.sismember(None, b'world')
|
/dports/databases/py-aioredis/aioredis-1.3.1/aioredis/commands/ |
H A D | set.py | 34 def sismember(self, key, member): member in SetCommandsMixin
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/cache/import/ |
H A D | caching.rb | 134 redis.sismember(key, value)
|
/dports/databases/pecl-redis/redis-5.3.5/tests/ |
H A D | RedisTest.php | 1242 $this->assertTrue($this->redis->sismember('set', 'val')); 1243 $this->assertFalse($this->redis->sismember('set', 'val2')); 1247 $this->assertTrue($this->redis->sismember('set', 'val2')); 1435 $this->assertTrue($this->redis->sismember('set', 'val')); 1436 $this->assertFalse($this->redis->sismember('set', 'val2')); 1595 $this->assertTrue($this->redis->sismember('{set}k', $i)); 3218 ->sismember('{s}key2', 'sValue4') 3450 ->sismember($key, 'sValue1') 3570 ->sismember($key, 'sValue1') 3820 ->sismember($key, 'sValue1') [all …]
|
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/redis-plus-plus-1.1.1/test/src/sw/redis++/ |
H A D | set_cmds_test.hpp | 56 REDIS_ASSERT(_redis.sismember(key, m1), "failed to test sismember"); in _test_set()
|
/dports/sysutils/py-salt/salt-3004.1/salt/cache/ |
H A D | redis_cache.py | 514 return redis_server.sismember(bank_redis_key, key)
|
/dports/www/py-graphite-web/graphite-web-1.1.8/webapp/graphite/tags/ |
H A D | redis.py | 190 if not self.r.sismember('tags', tag):
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/doc/development/ |
H A D | redis.md | 176 Gitlab::Redis::Cache.with { |redis| redis.sismember(key, value) } 204 [`SISMEMBER`](https://redis.io/commands/sismember) command, as well as `#read`
|
/dports/devel/poco/poco-1.10.1-all/Redis/include/Poco/Redis/ |
H A D | Command.h | 211 static Command sismember(const std::string& set, const std::string& member);
|
/dports/devel/poco/poco-1.10.1-all/Redis/testsuite/src/ |
H A D | RedisTest.cpp | 2049 Command sismember = Command::sismember("myset", "one"); in testSISMEMBER() local 2052 Poco::Int64 result = _redis.execute<Poco::Int64>(sismember); in testSISMEMBER() 2060 sismember = Command::sismember("myset", "two"); in testSISMEMBER() 2063 Poco::Int64 result = _redis.execute<Poco::Int64>(sismember); in testSISMEMBER()
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/alicebob/miniredis/v2/ |
H A D | cmd_command.go | 701 sismember
|
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/cortexproject/cortex/vendor/github.com/alicebob/miniredis/v2/ |
H A D | cmd_command.go | 701 sismember
|
/dports/net/storj/storj-1.45.3/vendor/github.com/alicebob/miniredis/v2/ |
H A D | cmd_command.go | 701 sismember
|
/dports/www/oauth2-proxy/oauth2-proxy-7.2.0/vendor/github.com/alicebob/miniredis/v2/ |
H A D | cmd_command.go | 701 sismember
|
/dports/databases/p5-RedisDB/RedisDB-2.53/t/ |
H A D | redis_commands.t | 359 is $redis->sismember( "set3", "F" ), 1, "SISMEMBER"; 360 is $redis->sismember( "set3", "B" ), 0, "not SISMEMBER"; 367 is $redis->sismember( "big_set", $redis->srandmember("big_set") ), 1, "SRANDMEMBER";
|
/dports/databases/p5-Redis/Redis-1.995/t/ |
H A D | 01-basic.t | 166 ok($o->sismember($set, 'foo'), 'sismember');
|