Lines Matching refs:UInt32
13 const UInt32 kAdditionalSize = (6 << 20);
14 const UInt32 kCompressedAdditionalSize = (1 << 10);
15 const UInt32 kMaxLzmaPropSize = 10;
19 UInt32 A1;
20 UInt32 A2;
23 public UInt32 GetRnd() in GetRnd()
34 UInt32 Value;
41 public UInt32 GetRnd(int numBits) in GetRnd()
43 UInt32 result; in GetRnd()
46 result = Value & (((UInt32)1 << numBits) - 1); in GetRnd()
54 result |= Value & (((UInt32)1 << numBits) - 1); in GetRnd()
64 UInt32 Pos;
65 UInt32 Rep0;
67 public UInt32 BufferSize;
72 public void Set(UInt32 bufferSize) in Set()
78 UInt32 GetRndBit() { return RG.GetRnd(1); } in GetRndBit()
79 UInt32 GetLogRandBits(int numBits) in GetLogRandBits()
81 UInt32 len = RG.GetRnd(numBits); in GetLogRandBits()
84 UInt32 GetOffset() 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()
102 UInt32 len; in Generate()
113 for (UInt32 i = 0; i < len && Pos < BufferSize; i++, Pos++) in Generate()
124 public UInt32 GetDigest() { return CRC.GetDigest(); } in GetDigest()
163 static UInt32 GetLogSize(UInt32 size) in GetLogSize()
166 for (UInt32 j = 0; j < (1 << kSubBits); j++) in GetLogSize()
167 if (size <= (((UInt32)1) << i) + (j << (i - kSubBits))) in GetLogSize()
168 return (UInt32)(i << kSubBits) + j; in GetLogSize()
186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size) in GetCompressRating()
201 UInt32 dictionarySize, in GetTotalRating()
225 UInt32 dictionarySize, in PrintResults()
241 static public int LzmaBenchmark(Int32 numIterations, UInt32 dictionarySize) in LzmaBenchmark()
265 UInt32 kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark()
266 UInt32 kCompressedBufferSize = (kBufferSize / 2) + kCompressedAdditionalSize; in LzmaBenchmark()