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

📄 hashdup.h

📁 larbin是一种开源的网络爬虫/网络蜘蛛
💻 H
字号:
// Larbin// Sebastien Ailleret// 27-08-01 -> 27-08-01/* class hashTable * This class is in charge of making sure we don't crawl twice the same url */#ifndef HASHDUP_H#define HASHDUP_Hclass hashDup { private:  ssize_t size;  char *table;  char *file; public:  /* constructor */  hashDup (ssize_t size, char *init, bool scratch);  /* destructor */  ~hashDup ();  /* set a page in the hashtable   * return false if it was already there   * return true if it was not (ie it is new)   */  bool testSet (char *doc);  /* save in a file */  void save ();};#endif // HASHDUP_H

⌨️ 快捷键说明

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