Lines Matching refs:r

71         assert_equal 1 [r publish chan1 hello]
72 assert_equal 1 [r publish chan2 world]
78 assert_equal 0 [r publish chan1 hello]
79 assert_equal 1 [r publish chan2 world]
84 assert_equal 0 [r publish chan1 hello]
85 assert_equal 0 [r publish chan2 world]
97 assert_equal 2 [r publish chan1 hello]
110 assert_equal 0 [r publish chan1 hello]
111 assert_equal 0 [r publish chan2 hello]
112 assert_equal 0 [r publish chan3 hello]
121 assert_equal 1 [r publish chan1 hello]
141 assert_equal 1 [r publish foo.1 hello]
142 assert_equal 1 [r publish bar.1 hello]
143 assert_equal 0 [r publish foo1 hello]
144 assert_equal 0 [r publish barfoo.1 hello]
145 assert_equal 0 [r publish qux.1 hello]
151 assert_equal 0 [r publish foo.1 hello]
152 assert_equal 1 [r publish bar.1 hello]
157 assert_equal 0 [r publish foo.1 hello]
158 assert_equal 0 [r publish bar.1 hello]
170 assert_equal 2 [r publish chan.foo hello]
183 assert_equal 0 [r publish chan1.hi hello]
184 assert_equal 0 [r publish chan2.hi hello]
185 assert_equal 0 [r publish chan3.hi hello]
200 r pubsub numsub abc def
208 assert_equal 2 [r publish foo.bar hello]
218 r punsubscribe
219 r unsubscribe
221 set reply1 [r punsubscribe]
222 set reply2 [r unsubscribe]
229 r config set notify-keyspace-events KA
232 r set foo bar
238 r config set notify-keyspace-events EA
241 r set foo bar
247 r config set notify-keyspace-events KEA
250 r set foo bar
257 r config set notify-keyspace-events KEl
258 r del mylist
261 r set foo bar
262 r lpush mylist a
270 r config set notify-keyspace-events KEg
273 r set foo bar
274 r expire foo 1
275 r del foo
284 r config set notify-keyspace-events KEl
285 r del mylist
288 r lpush mylist a
289 r rpush mylist a
290 r rpop mylist
301 r config set notify-keyspace-events Ks
302 r del myset
305 r sadd myset a b c d
306 r srem myset x
307 r sadd myset x y z
308 r srem myset x
316 r config set notify-keyspace-events Kz
317 r del myzset
320 r zadd myzset 1 a 2 b
321 r zrem myzset x
322 r zadd myzset 3 x 4 y 5 z
323 r zrem myzset x
331 r config set notify-keyspace-events Kh
332 r del myhash
335 r hmset myhash yes 1 no 0
336 r hincrby myhash yes 10
343 r config set notify-keyspace-events Ex
344 r del foo
347 r psetex foo 100 1
349 [r exists foo] == 0
358 r config set notify-keyspace-events Ex
359 r del foo
362 r psetex foo 100 1
368 r config set notify-keyspace-events Ee
369 r config set maxmemory-policy allkeys-lru
370 r flushdb
373 r set foo bar
374 r config set maxmemory 1
376 r config set maxmemory 0
381 r config set notify-keyspace-events gKE
382 assert_equal {gKE} [lindex [r config get notify-keyspace-events] 1]
383 r config set notify-keyspace-events {$lshzxeKE}
384 assert_equal {$lshzxeKE} [lindex [r config get notify-keyspace-events] 1]
385 r config set notify-keyspace-events KA
386 assert_equal {AK} [lindex [r config get notify-keyspace-events] 1]
387 r config set notify-keyspace-events EA
388 assert_equal {AE} [lindex [r config get notify-keyspace-events] 1]