/external/lzma/Java/SevenZip/ |
LzmaBench.java | 236 static long GetCompressRating(int dictionarySize, long elapsedTime, long size)
238 long t = GetLogSize(dictionarySize) - (18 << kSubBits);
251 int dictionarySize,
256 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) +
276 int dictionarySize,
288 rating = GetCompressRating(dictionarySize, elapsedTime, size);
292 static public int LzmaBenchmark(int numIterations, int dictionarySize) throws Exception
296 if (dictionarySize < (1 << 18))
306 if (!encoder.SetDictionarySize(dictionarySize))
309 int kBufferSize = dictionarySize + kAdditionalSize; [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
Bench.h | 28 UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 freq, UInt64 size);
33 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback);
|
Bench.cpp | 448 UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 freq, UInt64 size)
450 UInt64 t = GetLogSize(dictionarySize) - (kBenchMinDicLogSize << kSubBits);
499 HRESULT Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rg);
553 HRESULT CEncoderInfo::Init(UInt32 dictionarySize, UInt32 numThreads, CBaseRandomGenerator *rgLoc)
556 kBufferSize = dictionarySize + kAdditionalSize;
587 props[0].ulVal = dictionarySize;
668 UInt32 numThreads, UInt32 dictionarySize, IBenchCallback *callback)
682 if (dictionarySize < (1 << kBenchMinDicLogSize) || numThreads < 1 || numEncoderThreads > kNumThreadsMax)
713 RINOK(encoders[i].Init(dictionarySize, numThreads, &rg));
|
/external/lzma/CS/7zip/Compress/LzmaAlone/ |
LzmaBench.cs | 186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size)
188 UInt64 t = GetLogSize(dictionarySize) - (18 << kSubBits);
201 UInt32 dictionarySize,
206 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) +
225 UInt32 dictionarySize,
237 rating = GetCompressRating(dictionarySize, elapsedTime, size);
241 static public int LzmaBenchmark(Int32 numIterations, UInt32 dictionarySize)
245 if (dictionarySize < (1 << 18))
258 CoderPropID.DictionarySize,
262 (Int32)(dictionarySize),
[all...] |
/external/lzma/Java/SevenZip/Compression/LZMA/ |
Decoder.java | 154 boolean SetDictionarySize(int dictionarySize)
156 if (dictionarySize < 0)
158 if (m_DictionarySize != dictionarySize)
160 m_DictionarySize = dictionarySize;
322 int dictionarySize = 0;
324 dictionarySize += ((int)(properties[1 + i]) & 0xFF) << (i * 8);
327 return SetDictionarySize(dictionarySize);
|
Encoder.java | [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
BenchCon.cpp | 49 UInt32 dictionarySize;
121 UInt64 rating = GetCompressRating(dictionarySize, info.GlobalTime, info.GlobalFreq, info.UnpackSize);
213 callback.dictionarySize = (UInt32)1 << pow;
216 numThreads, callback.dictionarySize, &callback);
|
/external/lzma/CS/7zip/Compress/LZMA/ |
LzmaDecoder.cs | 167 void SetDictionarySize(uint dictionarySize)
169 if (m_DictionarySize != dictionarySize)
171 m_DictionarySize = dictionarySize;
359 UInt32 dictionarySize = 0;
361 dictionarySize += ((UInt32)(properties[1 + i])) << (i * 8);
362 SetDictionarySize(dictionarySize);
|
LzmaEncoder.cs | [all...] |