Lines Matching refs:RG
33 CRandomGenerator RG = new CRandomGenerator(); field in SevenZip.LzmaBench.CBitRandomGenerator
53 Value = RG.GetRnd(); in GetRnd()
63 CBitRandomGenerator RG = new CBitRandomGenerator(); field in SevenZip.LzmaBench.CBenchRandomGenerator
78 UInt32 GetRndBit() { return RG.GetRnd(1); } in GetRndBit()
81 UInt32 len = RG.GetRnd(numBits); in GetLogRandBits()
82 return RG.GetRnd((int)len); in GetLogRandBits()
88 return (GetLogRandBits(4) << 10) | RG.GetRnd(10); in GetOffset()
90 UInt32 GetLen1() { return RG.GetRnd(1 + (int)RG.GetRnd(2)); } in GetLen1()
91 UInt32 GetLen2() { return RG.GetRnd(2 + (int)RG.GetRnd(2)); } in GetLen2()
94 RG.Init(); in Generate()
99 Buffer[Pos++] = (Byte)RG.GetRnd(8); in Generate()
103 if (RG.GetRnd(3) == 0) in Generate()