MCPcopy Create free account
hub / github.com/F-Stack/f-stack / next

Function next

app/redis-6.2.6/src/rand.c:80–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80static void next(void) {
81 uint32_t p[2], q[2], r[2], carry0, carry1;
82
83 MUL(a[0], x[0], p);
84 ADDEQU(p[0], c, carry0);
85 ADDEQU(p[1], carry0, carry1);
86 MUL(a[0], x[1], q);
87 ADDEQU(p[1], q[0], carry0);
88 MUL(a[1], x[0], r);
89 x[2] = LOW(carry0 + carry1 + CARRY(p[1], r[0]) + q[1] + r[1] +
90 a[0] * x[2] + a[1] * x[1] + a[2] * x[0]);
91 x[1] = LOW(p[1] + r[0]);
92 x[0] = LOW(p[0]);
93}

Callers 15

jquery.qtip.jsFile · 0.85
_mapFunction · 0.85
lzc_get_propsFunction · 0.85
inclinenumberFunction · 0.85
read_long_stringFunction · 0.85
readhexaescFunction · 0.85
readdecescFunction · 0.85
read_stringFunction · 0.85
llexFunction · 0.85
ngbe_update_mc_addr_listFunction · 0.85

Calls 1

MULFunction · 0.50

Tested by

no test coverage detected