hc_clear_0.cc

来自「这是处理语音信号的程序」· CC 代码 · 共 46 行

CC
46
字号
// file: hc_clear_0.cc//// isip include files//#include "hash_cell.h"#include "hash_cell_constants.h" // method: clear_cc//// arguments: none//// return: a logical_1 to indicate success//// this method resets the contents of the hash table cell//logical_1 Hash_cell::clear_cc() {    // delete key string pointer  //  if (key_str_d != (char_1*)NULL) {    delete [] key_str_d;    key_str_d = (char_1*)NULL;  }    // delete the key vector pointer  //  if (key_vec_d != (int_4*)NULL) {    delete [] key_vec_d;    key_vec_d = (int_4*)NULL;  }  key_size_d = 0;  // set the item to null  //  item_d = (void_p)NULL;    // set the link pointer to null  //  next_d = (Hash_cell*)NULL;    // exit gracefully  //  return ISIP_TRUE;}

⌨️ 快捷键说明

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