⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 blocksort.h

📁 由7-zip提供的压缩、解压缩程序
💻 H
字号:
// BlockSort.h#ifndef __BLOCKSORT_H#define __BLOCKSORT_H#include "Common/Types.h"namespace NCompress {class CBlockSorter{  UInt32 *Groups;  UInt32 *Flags;  UInt32 BlockSize;  UInt32 NumSortedBytes;  UInt32 BlockSizeMax;  UInt32 SortGroup(UInt32 groupOffset, UInt32 groupSize, UInt32 mask, UInt32 maskSize);public:  UInt32 *Indices;  CBlockSorter(): Indices(0) {}   ~CBlockSorter() { Free(); }  bool Create(UInt32 blockSizeMax);  void Free();  UInt32 Sort(const Byte *data, UInt32 blockSize);};}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -