Lines Matching defs:nSlot

16906   u32 nSlot;              /* Number of lookaside slots allocated */
23297 if( pHighwater ) *pHighwater = db->lookaside.nSlot - nInit;
23298 return db->lookaside.nSlot - (nInit+nFree);
35239 ** int nSlot; // Slots used by this entry
53754 ** szSlot, nSlot, pStart, pEnd, nReserve, and isInit values are all
53762 int nSlot; /* The number of pcache slots */
53816 pcache1.nSlot = pcache1.nFreeSlot = n;
53927 assert( pcache1.nFreeSlot<=pcache1.nSlot );
54055 if( pcache1.nSlot && (pCache->szPage+pCache->szExtra)<=pcache1.szSlot ){
151655 int nSlot; /* Number of entries in a[] */
154761 if( pWC->nTerm>=pWC->nSlot ){
154764 pWC->a = sqlite3WhereMalloc(pWC->pWInfo, sizeof(pWC->a[0])*pWC->nSlot*2 );
154773 pWC->nSlot = pWC->nSlot*2;
156356 pWC->nSlot = ArraySize(pWC->aStatic);
174232 db->lookaside.nSlot = nBig+nSm;
174244 db->lookaside.nSlot = 0;
229476 int nSlot; /* Size of aSlot[] array */
229542 pNew->nSlot = 1024;
229543 nByte = sizeof(Fts5HashEntry*) * pNew->nSlot;
229572 for(i=0; i<pHash->nSlot; i++){
229580 memset(pHash->aSlot, 0, pHash->nSlot * sizeof(Fts5HashEntry*));
229584 static unsigned int fts5HashKey(int nSlot, const u8 *p, int n){
229590 return (h % nSlot);
229593 static unsigned int fts5HashKey2(int nSlot, u8 b, const u8 *p, int n){
229600 return (h % nSlot);
229607 int nNew = pHash->nSlot*2;
229616 for(i=0; i<pHash->nSlot; i++){
229629 pHash->nSlot = nNew;
229702 iHash = fts5HashKey2(pHash->nSlot, (u8)bByte, (const u8*)pToken, nToken);
229721 if( (pHash->nEntry*2)>=pHash->nSlot ){
229724 iHash = fts5HashKey2(pHash->nSlot, (u8)bByte, (const u8*)pToken, nToken);
229735 assert( iHash==fts5HashKey(pHash->nSlot, (u8*)zKey, nToken+1) );
229900 for(iSlot=0; iSlot<pHash->nSlot; iSlot++){
229938 unsigned int iHash = fts5HashKey(pHash->nSlot, (const u8*)pTerm, nTerm);
232994 int nSlot; /* Power of two >= nSeg */
232996 for(nSlot=2; nSlot<nSeg; nSlot=nSlot*2);
232999 sizeof(Fts5SegIter) * (nSlot-1) + /* pNew->aSeg[] */
233000 sizeof(Fts5CResult) * nSlot /* pNew->aFirst[] */
233003 pNew->nSeg = nSlot;
233004 pNew->aFirst = (Fts5CResult*)&pNew->aSeg[nSlot];