Searched refs:discardChance (Results 1 – 2 of 2) sorted by relevance
37 unsigned discardChance; /* Chance of discarding on an unpin (0-100) */ member305 && (100-testpcacheGlobal.discardChance) <= (testpcacheRandom(p)%100) in testpcacheUnpin()429 unsigned discardChance, /* 0-100. Chance to discard on unpin */ in installTestPCache() argument452 assert( discardChance<=100 ); in installTestPCache()453 testpcacheGlobal.discardChance = discardChance; in installTestPCache()
935 int discardChance = 0; in test_alt_pcache() local945 if( objc>=3 && Tcl_GetIntFromObj(interp, objv[2], &discardChance) ){ in test_alt_pcache()954 if( discardChance<0 || discardChance>100 ){ in test_alt_pcache()959 installTestPCache(installFlag, (unsigned)discardChance, (unsigned)prngSeed, in test_alt_pcache()