何回も同じものを探すのは面倒臭いから、ここにノートします。
keyword: screen, ruler, pixel, 距離
if(iSrttCount == 2){ double dDeltaSrtt = dSrttArray[0] - dSrttArray[1]; if(dDeltaSrtt < 0) dDeltaSrtt *= -1.0; if(0.01 < dDeltaSrtt && dDeltaSrtt < 0.03) { eUseCmtDelAck = TRUE; eUseCmtPF = TRUE; } else { eUseCmtDelAck = FALSE; eUseCmtPF = FALSE; } }===AFTER===
if(iSrttCount == 2){ double dDeltaSrtt = dSrttArray[0] - dSrttArray[1]; if(dDeltaSrtt < 0) dDeltaSrtt *= -1.0; if(dDeltaSrtt < 0.01){ eUseCmtDelAck = FALSE; eUseCmtPF = FALSE; }elseif(0.01 < dDeltaSrtt && dDeltaSrtt < 0.03) { eUseCmtDelAck = TRUE; eUseCmtPF = TRUE; } else { return SCTPAgent::ProcessChunk(ucpInChunk, ucppOutData); } }
mysql_set_charset('utf8');
[mysql] character-set-server=utf8 skip-character-set-client-handshake [mysql] default-character-set=utf8 skip-character-set-client-handshake
[mysql] default-character-set=utf8
[mysql]
のところにdefault-character-set
を記入するのがダメになったようだ。エラーが出てサーバーが立ち上がらない事になってしまうので、くれぐれも気をつけましょう。
grep '^r.*S' sctp.tr | tail -n1
tail -n1 tcp.tr
L2751 - ( In SctpCMTAgent::ProcessChunk() after CMT Change BLOCK )
...
/****** End CMT Change ******/
Boolean_E eThisDestWasUnconfirmed = FALSE;
Boolean_E eFoundUnconfirmedDest = FALSE;
/****** Begin Sugi Code ******/
/* This code is for MAX=2 transfor path. If there are more than 2,
You have to rewrite the algorithm. */
double dSrttArray[2]; // SRTT Array. For Saving the SRTTs from NODEs
int iSrttCount = 0; // NODE Counter;
for(spCurrNode = sDestList.spHead;
spCurrNode != NULL;
spCurrNode = spCurrNode->spNext)
{
spCurrDest = (SctpDest_S *) spCurrNode->vpData;
dSrttArray[iSrttCount] = spCurrDest->dSrtt;
iSrttCount++;
}
if(iSrttCount == 2){
printf("DEBUG:There are two SRTT!!\n");
double dDeltaSrtt = dSrttArray[0] - dSrttArray[1];
if(dDeltaSrtt < 0) dDeltaSrtt *= -1.0;
if(0.01 < dDeltaSrtt && dDeltaSrtt < 0.03)
{
eUseCmtDelAck = TRUE;
eUseCmtPF = TRUE;
}
else
{
eUseCmtDelAck = FALSE;
eUseCmtPF = FALSE;
}
}
/****** End Sugi Code ******/
switch(eState)
...