Lines Matching refs:dictionarySize
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;
326 progressInfo.ApprovedStart = dictionarySize;
374 PrintResults(dictionarySize, encodeTime, benchSize, false, 0);
376 PrintResults(dictionarySize, decodeTime, kBufferSize, true, compressedSize);
385 PrintResults(dictionarySize, totalEncodeTime, totalBenchSize, false, 0);
387 PrintResults(dictionarySize, totalDecodeTime,