Lines Matching refs:endgame
219 /* Before the endgame this should be 0. In endgame, is contains the average
223 int endgame;
723 *** for too long and (b) avoiding duplicate requests before endgame.
881 /* we consider ourselves to be in endgame if the number of bytes
894 /* not in endgame */
895 t->endgame = 0;
897 else if( !t->endgame ) /* only recalculate when endgame first begins */
912 t->endgame = t->requestCount / MAX( numDownloading, 1 );
1023 if( !t->endgame )
1384 /* don't make a second block request until the endgame */
1385 if( !t->endgame )
1396 /* in the endgame allow an additional peer to download a
1399 if( peer->pendingReqsToPeer + numwant - got < t->endgame )