"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Compress/ShrinkDecoder.h" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

ShrinkDecoder.h  (p7zip_15.14.1_src_all):ShrinkDecoder.h  (p7zip_16.02_src_all)
skipping to change at line 13 skipping to change at line 13
#ifndef __COMPRESS_SHRINK_DECODER_H #ifndef __COMPRESS_SHRINK_DECODER_H
#define __COMPRESS_SHRINK_DECODER_H #define __COMPRESS_SHRINK_DECODER_H
#include "../../Common/MyCom.h" #include "../../Common/MyCom.h"
#include "../ICoder.h" #include "../ICoder.h"
namespace NCompress { namespace NCompress {
namespace NShrink { namespace NShrink {
const int kNumMaxBits = 13; const unsigned kNumMaxBits = 13;
const UInt32 kNumItems = 1 << kNumMaxBits; const unsigned kNumItems = 1 << kNumMaxBits;
class CDecoder : class CDecoder :
public ICompressCoder, public ICompressCoder,
public CMyUnknownImp public CMyUnknownImp
{ {
UInt16 _parents[kNumItems]; UInt16 _parents[kNumItems];
Byte _suffixes[kNumItems]; Byte _suffixes[kNumItems];
Byte _stack[kNumItems]; Byte _stack[kNumItems];
bool _isFree[kNumItems];
bool _isParent[kNumItems];
public: public:
MY_UNKNOWN_IMP MY_UNKNOWN_IMP
HRESULT CodeReal(ISequentialInStream *inStream, ISequentialOutStream *outStrea m, HRESULT CodeReal(ISequentialInStream *inStream, ISequentialOutStream *outStrea m,
const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progre ss); const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progre ss);
STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream , STDMETHOD(Code)(ISequentialInStream *inStream, ISequentialOutStream *outStream ,
const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progre ss); const UInt64 *inSize, const UInt64 *outSize, ICompressProgressInfo *progre ss);
}; };
 End of changes. 2 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS