Lines Matching refs:GetRnd
18 public int GetRnd() in GetRnd() method in LzmaBench.CRandomGenerator
36 public int GetRnd(int numBits) in GetRnd() method in LzmaBench.CBitRandomGenerator
48 Value = RG.GetRnd(); in GetRnd()
72 int GetRndBit() { return RG.GetRnd(1); } in GetRndBit()
75 int len = RG.GetRnd(numBits); in GetLogRandBits()
76 return RG.GetRnd((int)len); in GetLogRandBits()
82 return (GetLogRandBits(4) << 10) | RG.GetRnd(10); in GetOffset()
84 int GetLen1() { return RG.GetRnd(1 + (int)RG.GetRnd(2)); } in GetLen1()
85 int GetLen2() { return RG.GetRnd(2 + (int)RG.GetRnd(2)); } in GetLen2()
93 Buffer[Pos++] = (byte)(RG.GetRnd(8)); in Generate()
97 if (RG.GetRnd(3) == 0) in Generate()