Home
last modified time | relevance | path

Searched refs:m (Results 1 – 25 of 28) sorted by relevance

12

/redis-3.2.3/deps/lua/test/
H A Dsort.lua8 x[l],x[m]=x[m],x[l] -- swap pivot to first position
10 m=l
15 m=m+1
16 x[m],x[i]=x[i],x[m] -- swap x[i] and x[m]
20 x[l],x[m]=x[m],x[l] -- swap pivot to a valid place
22 qsort(x,l,m-1,f)
23 qsort(x,m+1,u,f)
30 local m,j=i,i+1
32 if f(x[j],x[m]) then m=j end
35 x[i],x[m]=x[m],x[i] -- swap x[i] and x[m]
[all …]
/redis-3.2.3/src/
H A Dmemtest.c226 errors += memtest_compare(m,bytes,interactive); in memtest_compare_times()
245 errors += memtest_addressing(m,bytes,interactive); in memtest_test()
249 memtest_fill_random(m,bytes,interactive); in memtest_test()
251 errors += memtest_compare_times(m,bytes,pass,4,interactive); in memtest_test()
256 errors += memtest_compare_times(m,bytes,pass,4,interactive); in memtest_test()
261 errors += memtest_compare_times(m,bytes,pass,4,interactive); in memtest_test()
282 unsigned long *p = m; in memtest_preserving_test()
338 unsigned long *m = malloc(bytes); in memtest_alloc_and_test() local
340 if (m == NULL) { in memtest_alloc_and_test()
345 memtest_test(m,bytes,passes,1); in memtest_alloc_and_test()
[all …]
H A Dadlist.h64 #define listSetDupMethod(l,m) ((l)->dup = (m)) argument
65 #define listSetFreeMethod(l,m) ((l)->free = (m)) argument
66 #define listSetMatchMethod(l,m) ((l)->match = (m)) argument
H A Dhyperloglog.c394 const uint64_t m = 0xc6a4a7935bd1e995; in MurmurHash64A() local
396 uint64_t h = seed ^ (len * m); in MurmurHash64A()
416 k *= m; in MurmurHash64A()
418 k *= m; in MurmurHash64A()
420 h *= m; in MurmurHash64A()
432 h *= m; in MurmurHash64A()
436 h *= m; in MurmurHash64A()
968 double m = HLL_REGISTERS; in hllCount() local
998 E = (1/E)*alpha*m*m; in hllCount()
1005 if (E < m*2.5 && ez != 0) { in hllCount()
[all …]
H A Ddict.c107 const uint32_t m = 0x5bd1e995; in dictGenHashFunction() local
119 k *= m; in dictGenHashFunction()
121 k *= m; in dictGenHashFunction()
123 h *= m; in dictGenHashFunction()
134 case 1: h ^= data[0]; h *= m; in dictGenHashFunction()
140 h *= m; in dictGenHashFunction()
H A Dredis-trib.rb702 masters.each{|m| puts m}
731 masters.each do |m|
747 node = interleaved.find{|n| n.info[:host] != m.info[:host]}
758 slave.set_as_replica(m.info[:name])
761 puts "Adding replica #{slave} to #{m}"
/redis-3.2.3/deps/lua/src/
H A Dlzio.c60 size_t m; in luaZ_read() local
63 m = (n <= z->n) ? n : z->n; /* min. between n and z->n */ in luaZ_read()
64 memcpy(b, z->p, m); in luaZ_read()
65 z->n -= m; in luaZ_read()
66 z->p += m; in luaZ_read()
67 b = (char *)b + m; in luaZ_read()
68 n -= m; in luaZ_read()
H A Dlopcodes.h254 #define getOpMode(m) (cast(enum OpMode, luaP_opmodes[m] & 3)) argument
255 #define getBMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 4) & 3)) argument
256 #define getCMode(m) (cast(enum OpArgMask, (luaP_opmodes[m] >> 2) & 3)) argument
257 #define testAMode(m) (luaP_opmodes[m] & (1 << 6)) argument
258 #define testTMode(m) (luaP_opmodes[m] & (1 << 7)) argument
H A Dlgc.h27 #define resetbits(x,m) ((x) &= cast(lu_byte, ~(m))) argument
28 #define setbits(x,m) ((x) |= (m)) argument
29 #define testbits(x,m) ((x) & (m)) argument
H A Dluaconf.h670 #define lua_popen(L,c,m) ((void)L, fflush(NULL), popen(c,m)) argument
675 #define lua_popen(L,c,m) ((void)L, _popen(c,m)) argument
680 #define lua_popen(L,c,m) ((void)((void)c, m), \ argument
H A Dltable.c548 unsigned int m = (i+j)/2; in unbound_search() local
549 if (ttisnil(luaH_getnum(t, m))) j = m; in unbound_search()
550 else i = m; in unbound_search()
566 unsigned int m = (i+j)/2; in luaH_getn() local
567 if (ttisnil(&t->array[m - 1])) j = m; in luaH_getn()
568 else i = m; in luaH_getn()
H A Dlopcodes.c59 #define opmode(t,a,b,c,m) (((t)<<7) | ((a)<<6) | ((b)<<4) | ((c)<<2) | (m)) argument
H A Dlstrlib.c416 int m = s<ms->src_end && singlematch(uchar(*s), p, ep); in match() local
420 if (m && ((res=match(ms, s+1, ep+1)) != NULL)) in match()
428 return (m ? max_expand(ms, s+1, p, ep) : NULL); in match()
434 if (!m) return NULL; in match()
H A Dlgc.c324 size_t m = 0; in propagateall() local
325 while (g->gray) m += propagatemark(g); in propagateall()
326 return m; in propagateall()
H A Dlparser.c34 #define luaY_checklimit(fs,v,l,m) if ((v)>(l)) errorlimit(fs,l,m) argument
/redis-3.2.3/tests/unit/
H A Dgeo.tcl151 set m [r geodist points Palermo Catania]
152 assert {$m > 166274 && $m < 166275}
161 set m [r geodist points Palermo Agrigento]
162 assert {$m eq {}}
163 set m [r geodist points Ragusa Agrigento]
164 assert {$m eq {}}
165 set m [r geodist empty_key Palermo Catania]
166 assert {$m eq {}}
H A Dsort.tcl210 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz
213 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
234 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz
235 foreach ele {a aa aaa azz b c d e f g h i l m n o p q r s t u v z} {
239 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
H A Ddump.tcl278 r mset a 1 b 2 c 3 d 4 c 5 e 6 f 7 g 8 h 9 i 10 l 11 m 12 n 13 o 14 p 15 q 16
284 … set ret [r -1 migrate $second_host $second_port "" 9 5000 keys a b c d e f g h i l m n o p q]
294 r mset a 1 b 2 c 3 d 4 c 5 e 6 f 7 g 8 h 9 i 10 l 11 m 12 n 13 o 14 p 15 q 16
302 … catch {r -1 migrate $second_host $second_port "" 9 5000 keys a b c d e f g h i l m n o p q} e
H A Dscripting.tcl303 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz
305 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
315 r sadd myset a b c d e f g h i l m n o p q r s t u v z aa aaa azz
317 } {a aa aaa azz b c d e f g h i l m n o p q r s t u v z}
/redis-3.2.3/deps/jemalloc/include/jemalloc/
H A Djemalloc_rename.sh16 m=`echo ${nm} |tr ':' ' ' |awk '{print $2}'`
17 echo "# define je_${n} ${m}"
/redis-3.2.3/deps/jemalloc/src/
H A Dstats.c447 #define OPT_WRITE_BOOL_MUTABLE(n, m) { \ in stats_print() argument
450 je_mallctl(#m, &bv2, &bsz, NULL, 0) == 0) { \ in stats_print()
452 " opt."#n": %s ("#m": %s)\n", bv ? "true" \ in stats_print()
466 #define OPT_WRITE_SSIZE_T_MUTABLE(n, m) { \ in stats_print() argument
469 je_mallctl(#m, &ssv2, &sssz, NULL, 0) == 0) { \ in stats_print()
471 " opt."#n": %zd ("#m": %zd)\n", \ in stats_print()
H A Dctl.c1181 #define CTL_TSD_RO_NL_CGEN(c, n, m, t) \ argument
1194 oldval = (m(tsd)); \
/redis-3.2.3/deps/jemalloc/
H A Dconfigure.ac1599 m=`echo ${nm} |tr ':' ' ' |awk '{print $[]2}'`
1600 echo "${n}:${m}" >> "${f}"
1606 m="${JEMALLOC_PREFIX}${sym}"
1607 echo "${n}:${m}" >> "${f}"
H A Dconfigure8091 enum { j = false, k = true, l = false * true, m = true * 256 };
8094 _Bool n[m];
8095 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
8113 + !m + !n + !o + !p + !q + !pq);
9519 echo "${n}:${m}" >> "${f}"
9525 echo "${n}:${m}" >> "${f}"
/redis-3.2.3/tests/unit/type/
H A Dset.tcl315 hashtable {a b c d e f g h i j k l m n o p q r s t u v w x y z}

12