Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 8 of 8) sorted by relevance

/redis-3.2.3/deps/jemalloc/test/include/test/
H A Dmath.h224 double e, aa, xx, c, ch, a, q, p1, p2, t, x, b, s1, s2, s3, s4, s5, s6; in pt_chi2() local
248 p1 = 0.222222 / df; in pt_chi2()
249 ch = df * pow(x * sqrt(p1) + 1.0 - p1, 3.0); in pt_chi2()
260 p1 = 1.0 + ch * (4.67 + ch); in pt_chi2()
262 t = -0.5 + (4.67 + 2.0 * ch) / p1 - (6.73 + ch in pt_chi2()
265 c * aa) * p2 / p1) / t; in pt_chi2()
275 p1 = 0.5 * ch; in pt_chi2()
276 if (p1 < 0.0) in pt_chi2()
278 p2 = p - i_gamma(p1, xx, ln_gamma_df_2); in pt_chi2()
279 t = p2 * exp(xx * aa + ln_gamma_df_2 + p1 - c * log(ch)); in pt_chi2()
/redis-3.2.3/deps/jemalloc/test/unit/
H A Djunk.c182 void *p1, *p2; in TEST_BEGIN() local
184 p1 = mallocx(large_maxclass, 0); in TEST_BEGIN()
185 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); in TEST_BEGIN()
190 p2 = rallocx(p1, shrink_size(large_maxclass), 0); in TEST_BEGIN()
191 assert_ptr_eq(p1, p2, "Unexpected move during shrink"); in TEST_BEGIN()
195 assert_ptr_eq(most_recently_trimmed, p1, in TEST_BEGIN()
H A Dmallctl.c217 void *p0, *q, *p1; in TEST_BEGIN() local
232 p1 = mallocx(42, 0); in TEST_BEGIN()
233 assert_ptr_not_null(p1, "Unexpected mallocx() failure"); in TEST_BEGIN()
234 assert_ptr_eq(p0, p1, "Expected tcache to allocate cached region"); in TEST_BEGIN()
237 dallocx(p1, MALLOCX_TCACHE_NONE); in TEST_BEGIN()
/redis-3.2.3/deps/lua/src/
H A Dldebug.h23 LUAI_FUNC void luaG_concaterror (lua_State *L, StkId p1, StkId p2);
24 LUAI_FUNC void luaG_aritherror (lua_State *L, const TValue *p1,
26 LUAI_FUNC int luaG_ordererror (lua_State *L, const TValue *p1,
H A Dldebug.c581 void luaG_concaterror (lua_State *L, StkId p1, StkId p2) { in luaG_concaterror() argument
582 if (ttisstring(p1) || ttisnumber(p1)) p1 = p2; in luaG_concaterror()
583 lua_assert(!ttisstring(p1) && !ttisnumber(p1)); in luaG_concaterror()
584 luaG_typeerror(L, p1, "concatenate"); in luaG_concaterror()
588 void luaG_aritherror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_aritherror() argument
590 if (luaV_tonumber(p1, &temp) == NULL) in luaG_aritherror()
591 p2 = p1; /* first operand is wrong */ in luaG_aritherror()
596 int luaG_ordererror (lua_State *L, const TValue *p1, const TValue *p2) { in luaG_ordererror() argument
597 const char *t1 = luaT_typenames[ttype(p1)]; in luaG_ordererror()
H A Dlvm.c81 const TValue *p1, const TValue *p2) { in callTMres() argument
84 setobj2s(L, L->top+1, p1); /* 1st argument */ in callTMres()
96 static void callTM (lua_State *L, const TValue *f, const TValue *p1, in callTM() argument
99 setobj2s(L, L->top+1, p1); /* 1st argument */ in callTM()
165 static int call_binTM (lua_State *L, const TValue *p1, const TValue *p2, in call_binTM() argument
167 const TValue *tm = luaT_gettmbyobj(L, p1, event); /* try first operand */ in call_binTM()
171 callTMres(L, res, tm, p1, p2); in call_binTM()
190 static int call_orderTM (lua_State *L, const TValue *p1, const TValue *p2, in call_orderTM() argument
192 const TValue *tm1 = luaT_gettmbyobj(L, p1, event); in call_orderTM()
198 callTMres(L, L->top, tm1, p1, p2); in call_orderTM()
/redis-3.2.3/src/
H A Dquicklist.h158 int quicklistCompare(unsigned char *p1, unsigned char *p2, int p2_len);
H A Dquicklist.c1042 int quicklistCompare(unsigned char *p1, unsigned char *p2, int p2_len) { in quicklistCompare() argument
1043 return ziplistCompare(p1, p2, p2_len); in quicklistCompare()