memorypool.h

来自「Rainbow加密算法的Crack程序」· C头文件 代码 · 共 27 行

H
27
字号
/*
   RainbowCrack - a general propose implementation of Philippe Oechslin's faster time-memory trade-off technique.

   Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>
*/

#ifndef _MEMORYPOOL_H
#define _MEMORYPOOL_H

class CMemoryPool  
{
public:
	CMemoryPool();
	virtual ~CMemoryPool();

private:
	unsigned char* m_pMem;
	unsigned int m_nMemSize;

	unsigned int m_nMemMax;

public:
	unsigned char* Allocate(unsigned int nFileLen, unsigned int& nAllocatedSize);
};

#endif

⌨️ 快捷键说明

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