Lines Matching refs:dictionarySize
236 static long GetCompressRating(int dictionarySize, long elapsedTime, long size) in GetCompressRating() argument
238 long t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating()
251 int dictionarySize, in GetTotalRating() argument
256 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating()
276 int dictionarySize, in PrintResults() argument
288 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults()
292 static public int LzmaBenchmark(int numIterations, int dictionarySize) throws Exception in LzmaBenchmark() argument
296 if (dictionarySize < (1 << 18)) in LzmaBenchmark()
306 if (!encoder.SetDictionarySize(dictionarySize)) in LzmaBenchmark()
309 int kBufferSize = dictionarySize + kAdditionalSize; in LzmaBenchmark()
326 progressInfo.ApprovedStart = dictionarySize; in LzmaBenchmark()
374 PrintResults(dictionarySize, encodeTime, benchSize, false, 0); in LzmaBenchmark()
376 PrintResults(dictionarySize, decodeTime, kBufferSize, true, compressedSize); in LzmaBenchmark()
385 PrintResults(dictionarySize, totalEncodeTime, totalBenchSize, false, 0); in LzmaBenchmark()
387 PrintResults(dictionarySize, totalDecodeTime, in LzmaBenchmark()