Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 11 of 11) sorted by relevance

/redis-3.2.3/tests/integration/
H A Dconvert-zipmap-hash-on-load.tcl11 assert_match {v1 v2} [r hmget hash f1 f2]
22 assert_match {v1 v2} [r hmget hash f1 f2]
33 assert_match {v1 v2} [r hmget hash f1 f2]
/redis-3.2.3/deps/lua/src/
H A Dlcode.c628 lua_Number v1, v2, r; in constfolding() local
630 v1 = e1->u.nval; in constfolding()
633 case OP_ADD: r = luai_numadd(v1, v2); break; in constfolding()
634 case OP_SUB: r = luai_numsub(v1, v2); break; in constfolding()
635 case OP_MUL: r = luai_nummul(v1, v2); break; in constfolding()
638 r = luai_numdiv(v1, v2); break; in constfolding()
641 r = luai_nummod(v1, v2); break; in constfolding()
642 case OP_POW: r = luai_numpow(v1, v2); break; in constfolding()
643 case OP_UNM: r = luai_numunm(v1); break; in constfolding()
H A Dlcode.h72 LUAI_FUNC void luaK_posfix (FuncState *fs, BinOpr op, expdesc *v1, expdesc *v2);
/redis-3.2.3/tests/unit/
H A Dmulti.tcl8 set v1 [r lrange mylist 0 -1]
11 list $v1 $v2 $v3
20 set v1 [r del mylist]
23 list $v1 $v2 $v3
H A Dexpire.tcl4 set v1 [r expire x 5]
9 list $v1 $v2 $v3 $v4
H A Ddump.tcl238 assert {[$second get key1] eq {v1}}
269 assert {[$second get key1] eq {v1}}
/redis-3.2.3/src/
H A Dintset.c475 int i, v1, v2; in intsetTest() local
478 v1 = rand() % 0xfff; in intsetTest()
479 is = intsetAdd(is,v1,NULL); in intsetTest()
480 assert(intsetFind(is,v1)); in intsetTest()
H A Dmemtest.c163 void memtest_fill_value(unsigned long *l, size_t bytes, unsigned long v1, in memtest_fill_value() argument
175 v = (off & 1) ? v2 : v1; in memtest_fill_value()
H A Dziplist.c1497 char v1[257] = {0}, v2[257] = {0}; in ziplistTest() local
1498 memset(v1,'x',256); in ziplistTest()
1501 zl = ziplistPush(zl,(unsigned char*)v1,strlen(v1),ZIPLIST_TAIL); in ziplistTest()
1507 assert(strncmp(v1,(char*)entry,elen) == 0); in ziplistTest()
H A Dhyperloglog.c844 int v1 = HLL_SPARSE_VAL_VALUE(p); in hllSparseAdd() local
846 if (v1 == v2) { in hllSparseAdd()
849 HLL_SPARSE_VAL_SET(p+1,v1,len); in hllSparseAdd()
/redis-3.2.3/tests/unit/type/
H A Dstring.tcl384 set v1 [r set foo 1 nx]
386 list $v1 $v2 [r get foo]
391 set v1 [r set foo 1 xx]
394 list $v1 $v2 [r get foo]