Searched refs:LCG (Results 1 – 5 of 5) sorted by relevance
/external/fio/lib/ |
D | rand.c | 53 #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/ |
D | go_test.go | 1440 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)
|
D | py_test.py | 196 l = LCG() 244 l = LCG() # Reset. 1219 class LCG(object): class
|
/external/gemmlowp/doc/ |
D | less-than-8-bit.txt | 282 to produce better results than a linear congruential generator (LCG). 283 That's unfortunate, as a 8-bit LCG performs better (we confirmed that
|
D | less-than-8-bit.md | 293 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
|