作者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