Home
last modified time | relevance | path

Searched refs:discardChance (Results 1 – 2 of 2) sorted by relevance

/sqlite-3.40.0/src/
H A Dtest_pcache.c37 unsigned discardChance; /* Chance of discarding on an unpin (0-100) */ member
305 && (100-testpcacheGlobal.discardChance) <= (testpcacheRandom(p)%100) in testpcacheUnpin()
429 unsigned discardChance, /* 0-100. Chance to discard on unpin */ in installTestPCache() argument
452 assert( discardChance<=100 ); in installTestPCache()
453 testpcacheGlobal.discardChance = discardChance; in installTestPCache()
H A Dtest_malloc.c935 int discardChance = 0; in test_alt_pcache() local
945 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()