作者nagy (..................)
看板EE_DSnP
标题[问题] 请问 rn 是打算要输出什麽?
时间Sun Dec 10 22:09:36 2006
// 2. If not enough, recycle the remained memory and print out ---
// #ifdef MEM_DEBUG
// cout << "Recycling " << ret << " to (" << rn << ")" << endl;
在getMem里面
当_activeBlock里面剩下的空间不足时
要Recycle
我知道ret是目前要recycle的位置
那..rn呢??
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.247.20
1F:推 ric2k1:根据 reference program, rn = getRecycleIdx(remainMem) 12/10 23:16