"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/Common/XzCrc64Reg.cpp" 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).

XzCrc64Reg.cpp  (p7zip_15.14.1_src_all):XzCrc64Reg.cpp  (p7zip_16.02_src_all)
skipping to change at line 22 skipping to change at line 22
class CXzCrc64Hasher: class CXzCrc64Hasher:
public IHasher, public IHasher,
public CMyUnknownImp public CMyUnknownImp
{ {
UInt64 _crc; UInt64 _crc;
Byte mtDummy[1 << 7]; Byte mtDummy[1 << 7];
public: public:
CXzCrc64Hasher(): _crc(CRC64_INIT_VAL) {} CXzCrc64Hasher(): _crc(CRC64_INIT_VAL) {}
MY_UNKNOWN_IMP MY_UNKNOWN_IMP1(IHasher)
INTERFACE_IHasher(;) INTERFACE_IHasher(;)
}; };
STDMETHODIMP_(void) CXzCrc64Hasher::Init() throw() STDMETHODIMP_(void) CXzCrc64Hasher::Init() throw()
{ {
_crc = CRC64_INIT_VAL; _crc = CRC64_INIT_VAL;
} }
STDMETHODIMP_(void) CXzCrc64Hasher::Update(const void *data, UInt32 size) throw( ) STDMETHODIMP_(void) CXzCrc64Hasher::Update(const void *data, UInt32 size) throw( )
{ {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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