Lines Matching refs:HASHTABLE_NPAGE_ONE
45501 ** HASHTABLE_NPAGE_ONE frames. The values of HASHTABLE_NPAGE_ONE and
45509 ** The page-mapping is an array of HASHTABLE_NPAGE (or HASHTABLE_NPAGE_ONE
45513 ** in the WAL file corresponds to the (HASHTABLE_NPAGE_ONE+1)th frame in
45517 ** complement of HASHTABLE_NPAGE (or HASHTABLE_NPAGE_ONE) page-numbers,
45845 #define HASHTABLE_NPAGE_ONE (HASHTABLE_NPAGE - (WALINDEX_HDR_SIZE/sizeof(u32)))
46202 iZero = HASHTABLE_NPAGE_ONE + (iHash-1)*HASHTABLE_NPAGE;
46219 int iHash = (iFrame+HASHTABLE_NPAGE-HASHTABLE_NPAGE_ONE-1) / HASHTABLE_NPAGE;
46220 assert( (iHash==0 || iFrame>HASHTABLE_NPAGE_ONE)
46221 && (iHash>=1 || iFrame<=HASHTABLE_NPAGE_ONE)
46222 && (iHash<=1 || iFrame>(HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE))
46223 && (iHash>=2 || iFrame<=HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE)
46224 && (iHash<=2 || iFrame>(HASHTABLE_NPAGE_ONE+2*HASHTABLE_NPAGE))
46237 return pWal->apWiData[iHash][(iFrame-1-HASHTABLE_NPAGE_ONE)%HASHTABLE_NPAGE];
46261 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 );
46262 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE );
46263 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 );