/dports/databases/redis5/redis-5.0.14/tests/unit/ |
H A D | bitfield.tcl | 33 lappend results [r bitfield bits incrby u8 #0 100] 34 lappend results [r bitfield bits incrby u8 #0 100] 50 lappend results [r bitfield bits overflow wrap incrby u8 #0 257] 52 lappend results [r bitfield bits overflow wrap incrby u8 #0 255] 60 lappend results [r bitfield bits overflow sat incrby u8 #0 257] 62 lappend results [r bitfield bits overflow sat incrby u8 #0 -255] 70 lappend results [r bitfield bits overflow wrap incrby i8 #0 257] 72 lappend results [r bitfield bits overflow wrap incrby i8 #0 255] 80 lappend results [r bitfield bits overflow sat incrby i8 #0 257] 82 lappend results [r bitfield bits overflow sat incrby i8 #0 -255] [all …]
|
/dports/databases/redis6/redis-6.0.16/tests/unit/ |
H A D | bitfield.tcl | 33 lappend results [r bitfield bits incrby u8 #0 100] 34 lappend results [r bitfield bits incrby u8 #0 100] 50 lappend results [r bitfield bits overflow wrap incrby u8 #0 257] 52 lappend results [r bitfield bits overflow wrap incrby u8 #0 255] 60 lappend results [r bitfield bits overflow sat incrby u8 #0 257] 62 lappend results [r bitfield bits overflow sat incrby u8 #0 -255] 70 lappend results [r bitfield bits overflow wrap incrby i8 #0 257] 72 lappend results [r bitfield bits overflow wrap incrby i8 #0 255] 80 lappend results [r bitfield bits overflow sat incrby i8 #0 257] 82 lappend results [r bitfield bits overflow sat incrby i8 #0 -255] [all …]
|
/dports/databases/redis-devel/redis-0e5b813/tests/unit/ |
H A D | bitfield.tcl | 33 lappend results [r bitfield bits incrby u8 #0 100] 34 lappend results [r bitfield bits incrby u8 #0 100] 50 lappend results [r bitfield bits overflow wrap incrby u8 #0 257] 52 lappend results [r bitfield bits overflow wrap incrby u8 #0 255] 60 lappend results [r bitfield bits overflow sat incrby u8 #0 257] 62 lappend results [r bitfield bits overflow sat incrby u8 #0 -255] 70 lappend results [r bitfield bits overflow wrap incrby i8 #0 257] 72 lappend results [r bitfield bits overflow wrap incrby i8 #0 255] 80 lappend results [r bitfield bits overflow sat incrby i8 #0 257] 82 lappend results [r bitfield bits overflow sat incrby i8 #0 -255] [all …]
|
/dports/databases/py-aioredis/aioredis-1.3.1/tests/ |
H A D | transaction_commands_test.py | 35 f1 = tr.incrby('foo', 1.0) 60 fut2 = tr.incrby('foo', 1.0) 61 fut3 = tr.incrby('foo', 1) 91 fut1 = tr.incrby('foo', 1.0) 125 fut = tr.incrby('key', 1.0) 134 fut1 = tr.incrby('key', 1.0)
|
H A D | string_commands_test.py | 331 res = await redis.incrby('key', 1) 333 res = await redis.incrby('key', 10) 335 res = await redis.incrby('key', -1) 340 await redis.incrby('key', 1) 343 await redis.incrby('key', 1) 345 await redis.incrby(None, 1) 347 await redis.incrby('key', None)
|
/dports/net-mgmt/librenms/librenms-vendor-21.5.1/predis/predis/examples/ |
H A D | pipelining_commands.php | 22 $pipe->incrby('counter', 10); 23 $pipe->incrby('counter', 30);
|
/dports/databases/redis-devel/redis-0e5b813/tests/unit/moduleapi/ |
H A D | propagate.tcl | 61 {incrby timer-nested-start 1} 62 {incrby timer-nested-end 1} 91 {incrby timer-nested-start 1} 92 {incrby timer-nested-end 1}
|
/dports/devel/p5-Test-Mock-Redis/Test-Mock-Redis-0.22/t/ |
H A D | 08-get-set.t | 112 is($r->incrby('incrby-test', 10), 10, 'incrby 10 returns incrby value for new value'); 116 is($r->incrby('decrby-test', 10), 0, 'decrby returns 0 appropriately'); 118 is($r->incrby('incrby-test', -15), -15, 'incrby a negative value works');
|
/dports/devel/pecl-swoole/swoole-4.8.5/ext-src/ |
H A D | swoole_table.cc | 359 zval *incrby = nullptr; in PHP_METHOD() local 361 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|z", &key, &key_len, &col, &col_len, &incrby) == FAI… in PHP_METHOD() 392 if (incrby) { in PHP_METHOD() 393 set_value += zval_get_double(incrby); in PHP_METHOD() 402 if (incrby) { in PHP_METHOD() 403 set_value += zval_get_long(incrby); in PHP_METHOD()
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/shared_examples/models/concerns/ |
H A D | counter_attribute_shared_examples.rb | 121 redis.incrby(model.counter_flushed_key(incremented_attribute), 10) 143 redis.incrby(model.counter_flushed_key(incremented_attribute), 10)
|
/dports/databases/p5-Redis-hiredis/Redis-hiredis-0.11.0/t/ |
H A D | 001_strings.t | 55 $r = $h->command('incrby '.$prefix.'baz 3'); 56 is($r, 3, 'incrby');
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/usage_data_counters/ |
H A D | redis_counter.rb | 15 Gitlab::Redis::SharedState.with { |redis| redis.incrby(redis_counter_key, incr) }
|
/dports/devel/p5-MCE-Shared/MCE-Shared-1.874/lib/MCE/Shared/ |
H A D | Scalar.pm | 60 sub incrby { ${ $_[0] } += $_[1] || 0 } subroutine
|
H A D | Hash.pm | 256 sub incrby { $_[0]->{ $_[1] } += $_[2] || 0 } subroutine
|
/dports/devel/p5-MCE-Shared/MCE-Shared-1.874/t/ |
H A D | 07_shared_scalar.t | 46 is( $s5->incrby(4), 24, 'shared scalar, check incrby' );
|
H A D | 07_shared_condvar.t | 92 is( $cv->incrby(4), 24, 'shared condvar, check incrby' );
|
H A D | 07_shared_cache_lru.t | 126 $cache->incrby("cnt", 5);
|
/dports/net/zerotier/ZeroTierOne-1.8.3/ext/redis-plus-plus-1.1.1/test/src/sw/redis++/ |
H A D | string_cmds_test.hpp | 162 REDIS_ASSERT(_redis.incrby(key, 3) == 3, "failed to test incrby"); in _test_numeric() 164 REDIS_ASSERT(_redis.incrby(key, -3) == -3, "failed to test incrby"); in _test_numeric()
|
/dports/devel/pecl-swoole/swoole-4.8.5/stubs/ |
H A D | php_swoole_table_legacy_arginfo.h | 36 ZEND_ARG_INFO(0, incrby)
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/models/concerns/ |
H A D | counter_attribute.rb | 106 redis.incrby(counter_key(attribute), increment)
|
/dports/devel/py-cachy/cachy-0.3.0/cachy/stores/ |
H A D | redis_store.py | 72 return self._redis.incrby(self._prefix + key, value)
|
/dports/devel/p5-MCE-Shared/MCE-Shared-1.874/ |
H A D | README.md | 37 $pi->incrby( $_pi ); 70 $pi->incrby( $_pi );
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/cache/import/ |
H A D | caching.rb | 105 redis.incrby(key, value)
|
/dports/www/gohugo/hugo-0.91.2/hugolib/testdata/ |
H A D | redis.cn.md | 221 …e-efficient)串行化对象,`append`和`getrange`命令将会很有用。对于一个更为具体的用例,我们可以再看一下`incr`、`incrby`、`decr`和`decrby`命令… 228 > incrby ratings:video:12333 5 230 > incrby ratings:video:12333 3
|
/dports/databases/py-redis/redis-3.5.3/tests/ |
H A D | test_commands.py | 707 assert r.incrby('a') == 1 708 assert r.incrby('a', 4) == 5 2576 .incrby('u8', 8, 254) # 00000000 11111110 2577 .incrby('u8', 8, 1) # 00000000 11111111 2587 .incrby('u8', 8, 2) # incrby 2 would overflow, None returned 2588 .incrby('u8', 8, 1) # 00000000 11111111 2589 .incrby('u8', 8, 1) # incrby 1 would overflow, None returned 2598 .incrby('u8', 8, 1) # 00000000 00000000 wrap default 2600 .incrby('u8', 8, 1, 'FAIL') # 00000000 11111111 fail 2601 .incrby('u8', 8, 1) # 00000000 11111111 still fail [all …]
|