Home
last modified time | relevance | path

Searched refs:dictionarySize (Results 1 - 7 of 7) sorted by relevance

/third_party/lzma/CS/7zip/Compress/LzmaAlone/
H A DLzmaBench.cs186 static UInt64 GetCompressRating(UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size) in GetCompressRating() argument
188 UInt64 t = GetLogSize(dictionarySize) - (18 << kSubBits); in GetCompressRating()
201 UInt32 dictionarySize, in GetTotalRating()
206 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating()
225 UInt32 dictionarySize, in PrintResults()
237 rating = GetCompressRating(dictionarySize, elapsedTime, size); in PrintResults()
241 static public int LzmaBenchmark(Int32 numIterations, UInt32 dictionarySize) in LzmaBenchmark() argument
245 if (dictionarySize < (1 << 18)) in LzmaBenchmark()
262 (Int32)(dictionarySize), in LzmaBenchmark()
265 UInt32 kBufferSize = dictionarySize in LzmaBenchmark()
200 GetTotalRating( UInt32 dictionarySize, UInt64 elapsedTimeEn, UInt64 sizeEn, UInt64 elapsedTimeDe, UInt64 inSizeDe, UInt64 outSizeDe) GetTotalRating() argument
224 PrintResults( UInt32 dictionarySize, UInt64 elapsedTime, UInt64 size, bool decompressMode, UInt64 secondSize) PrintResults() argument
[all...]
/third_party/lzma/Java/SevenZip/
H A DLzmaBench.java236 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()
256 return (GetCompressRating(dictionarySize, elapsedTimeEn, sizeEn) + in GetTotalRating()
276 int dictionarySize, in PrintResults()
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 in LzmaBenchmark()
250 GetTotalRating( int dictionarySize, long elapsedTimeEn, long sizeEn, long elapsedTimeDe, long inSizeDe, long outSizeDe) GetTotalRating() argument
275 PrintResults( int dictionarySize, long elapsedTime, long size, boolean decompressMode, long secondSize) PrintResults() argument
[all...]
/third_party/lzma/Java/SevenZip/Compression/LZMA/
H A DDecoder.java154 boolean SetDictionarySize(int dictionarySize) in SetDictionarySize() argument
156 if (dictionarySize < 0) in SetDictionarySize()
158 if (m_DictionarySize != dictionarySize) in SetDictionarySize()
160 m_DictionarySize = dictionarySize; in SetDictionarySize()
322 int dictionarySize = 0; in SetDecoderProperties()
324 dictionarySize += ((int)(properties[1 + i]) & 0xFF) << (i * 8); in SetDecoderProperties()
327 return SetDictionarySize(dictionarySize); in SetDecoderProperties()
H A DEncoder.java1363 public boolean SetDictionarySize(int dictionarySize) in SetDictionarySize() argument
1366 if (dictionarySize < (1 << Base.kDicLogSizeMin) || dictionarySize > (1 << kDicLogSizeMaxCompress)) in SetDictionarySize()
1368 _dictionarySize = dictionarySize; in SetDictionarySize()
1370 for (dicLogSize = 0; dictionarySize > (1 << dicLogSize); dicLogSize++) ; in SetDictionarySize()
/third_party/lzma/CS/7zip/Compress/LZMA/
H A DLzmaDecoder.cs167 void SetDictionarySize(uint dictionarySize) in SetDictionarySize() argument
169 if (m_DictionarySize != dictionarySize) in SetDictionarySize()
171 m_DictionarySize = dictionarySize; in SetDictionarySize()
359 UInt32 dictionarySize = 0; in SetDecoderProperties()
361 dictionarySize += ((UInt32)(properties[1 + i])) << (i * 8); in SetDecoderProperties()
362 SetDictionarySize(dictionarySize); in SetDecoderProperties()
H A DLzmaEncoder.cs1417 Int32 dictionarySize = (Int32)prop; in SetCoderProperties()
1418 if (dictionarySize < (UInt32)(1 << Base.kDicLogSizeMin) || in SetCoderProperties()
1419 dictionarySize > (UInt32)(1 << kDicLogSizeMaxCompress)) in SetCoderProperties()
1421 _dictionarySize = (UInt32)dictionarySize; in SetCoderProperties()
1424 if (dictionarySize <= ((UInt32)(1) << dicLogSize)) in SetCoderProperties()
/third_party/lz4/programs/
H A Dlz4io.c613 size_t dictionarySize; in LZ4IO_createCDict() local
617 dictionaryBuffer = LZ4IO_createDict(&dictionarySize, prefs->dictionaryFilename); in LZ4IO_createCDict()
619 cdict = LZ4F_createCDict(dictionaryBuffer, dictionarySize); in LZ4IO_createCDict()

Completed in 10 milliseconds