Home
last modified time | relevance | path

Searched refs:GetRnd (Results 1 - 3 of 3) sorted by relevance

/third_party/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs23 public UInt32 GetRnd() in GetRnd() method in SevenZip.LzmaBench.CRandomGenerator
41 public UInt32 GetRnd(int numBits) in GetRnd() method in SevenZip.LzmaBench.CBitRandomGenerator
53 Value = RG.GetRnd(); in GetRnd()
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( in GetLen1()
[all...]
/third_party/lzma/Java/SevenZip/
H A DLzmaBench.java18 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( in GetLen1()
[all...]
/third_party/lzma/CPP/7zip/UI/Common/
H A DBench.cpp127 UInt32 GetRnd() in GetRnd() function in CBaseRandomGenerator
146 const UInt32 v = RG.GetRnd(); in RandGen()
149 UInt32 v = RG.GetRnd(); in RandGen()
181 buf[i] = (Byte)rg.GetRnd(); in GenerateSimpleRandom()
202 UInt32 r = rg.GetRnd(); in GenerateLz()
229 r = rg.GetRnd(); in GenerateLz()
236 r = rg.GetRnd(); in GenerateLz()

Completed in 5 milliseconds