Home
last modified time | relevance | path

Searched refs:increment (Results 1 – 6 of 6) sorted by relevance

/redis-3.2.3/tests/unit/
H A Dbitfield.tcl111 if {$increment > 9223372036854775807} {
112 set increment 9223372036854775807
114 if {$increment < -9223372036854775808} {
115 set increment -9223372036854775808
120 if {($value + $increment) > $max} {set overflow 1}
121 if {($value + $increment) < $min} {set overflow 1}
163 if {$increment > 9223372036854775807} {
164 set increment 9223372036854775807
166 if {$increment < -9223372036854775808} {
167 set increment -9223372036854775808
[all …]
/redis-3.2.3/deps/lua/src/
H A Dstrbuf.c56 s->increment = STRBUF_DEFAULT_INCREMENT; in strbuf_init()
84 void strbuf_set_increment(strbuf_t *s, int increment) in strbuf_set_increment() argument
88 if (increment == 0 || increment == -1) in strbuf_set_increment()
91 s->increment = increment; in strbuf_set_increment()
149 if (s->increment < 0) { in calculate_new_size()
152 newsize *= -s->increment; in calculate_new_size()
155 newsize = ((newsize + s->increment - 1) / s->increment) * s->increment; in calculate_new_size()
H A Dstrbuf.h38 int increment; member
54 extern void strbuf_set_increment(strbuf_t *s, int increment);
/redis-3.2.3/deps/jemalloc/src/
H A Dchunk_dss.c32 chunk_dss_sbrk(intptr_t increment) in chunk_dss_sbrk() argument
36 return (sbrk(increment)); in chunk_dss_sbrk()
/redis-3.2.3/tests/unit/type/
H A Dincr.tcl22 test {INCRBY over 32bit value with over 32bit increment} {
98 test {INCRBYFLOAT over 32bit value with over 32bit increment} {
H A Dhash.tcl295 test {HINCRBY over 32bit value with over 32bit increment} {
366 test {HINCRBYFLOAT over 32bit value with over 32bit increment} {