Home
last modified time | relevance | path

Searched refs:LCG (Results 1 – 5 of 5) sorted by relevance

/external/fio/lib/
Drand.c53 #define LCG(x, seed) ((x) * 69069 ^ (seed)) in __init_rand32() macro
55 state->s1 = __seed(LCG((2^31) + (2^17) + (2^7), seed), 1); in __init_rand32()
56 state->s2 = __seed(LCG(state->s1, seed), 7); in __init_rand32()
57 state->s3 = __seed(LCG(state->s2, seed), 15); in __init_rand32()
/external/flatbuffers/tests/
Dgo_test.go1440 type LCG uint32 type
1444 func NewLCG() *LCG {
1446 l := LCG(n)
1450 func (lcg *LCG) Reset() {
1454 func (lcg *LCG) Next() uint32 {
1456 *lcg = LCG(n)
Dpy_test.py196 l = LCG()
244 l = LCG() # Reset.
1219 class LCG(object): class
/external/gemmlowp/doc/
Dless-than-8-bit.txt282 to produce better results than a linear congruential generator (LCG).
283 That's unfortunate, as a 8-bit LCG performs better (we confirmed that
Dless-than-8-bit.md293 tests, to produce better results than a linear congruential generator (LCG).
294 That's unfortunate, as a 8-bit LCG performs better (we confirmed that on various