This commit is contained in:
Igor Pavlov
2022-06-23 11:43:16 +01:00
committed by Kornel
parent c3529a41f5
commit ec44a8a070
1248 changed files with 15242 additions and 2443 deletions

0
CPP/7zip/Archive/Chm/ChmHandler.cpp Normal file → Executable file
View File

0
CPP/7zip/Archive/Chm/ChmHandler.h Normal file → Executable file
View File

0
CPP/7zip/Archive/Chm/ChmIn.cpp Normal file → Executable file
View File

11
CPP/7zip/Archive/Chm/ChmIn.h Normal file → Executable file
View File

@@ -84,6 +84,11 @@ struct CResetTable
// unsigned BlockSizeBits;
CRecordVector<UInt64> ResetOffsets;
CResetTable():
UncompressedSize(0),
CompressedSize(0)
{}
bool GetCompressedSizeOfBlocks(UInt64 blockIndex, UInt32 numBlocks, UInt64 &size) const
{
if (blockIndex >= ResetOffsets.Size())
@@ -118,6 +123,12 @@ struct CLzxInfo
CResetTable ResetTable;
CLzxInfo():
Version(0),
ResetIntervalBits(0),
CacheSize(0)
{}
unsigned GetNumDictBits() const
{
if (Version == 2 || Version == 3)

0
CPP/7zip/Archive/Chm/StdAfx.h Normal file → Executable file
View File