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

📄 mm_new_7.cc

📁 这是处理语音信号的程序
💻 CC
字号:
// file: mm_new_7.cc// // isip include files//#include "memory_manager.h"#include "memory_manager_constants.h"#include <instance.h>// method: new_instance_cc//// arguments: none//// return: a Instance* pointer to a new instance node//// this method outputs a new empty instance, and creates them whenever// necessary//Instance* Memory_manager::new_instance_cc() {  // if there are no free instances available, create a few  //  if (instance_count_d == (int_4)0) {    grow_instance_cc();  }  // get a instance off the list  //  Link_node* lnd = instance_list_d;  instance_list_d = instance_list_d->get_next_cc();  // adjust params  //  lnd->set_next_cc((Link_node*)NULL);  if (instance_list_d != (Link_node*)NULL) {    instance_list_d->set_prev_cc((Link_node*)NULL);  }  // get the instance here  //  Instance* inst = (Instance*)(lnd->get_item_cc());  // return the link node to the free node list  //  delete_cc(lnd);  // decrement free instance count  //  instance_count_d--;    // return the instance and exit gracefully  //  return inst;}

⌨️ 快捷键说明

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