Home | History | Annotate | Download | only in dist

Lines Matching refs:HASHTABLE_NPAGE_ONE

41740 ** HASHTABLE_NPAGE_ONE frames. The values of HASHTABLE_NPAGE_ONE and 
41748 ** The page-mapping is an array of HASHTABLE_NPAGE (or HASHTABLE_NPAGE_ONE
41752 ** in the WAL file corresponds to the (HASHTABLE_NPAGE_ONE+1)th frame in
41756 ** complement of HASHTABLE_NPAGE (or HASHTABLE_NPAGE_ONE) page-numbers,
42071 #define HASHTABLE_NPAGE_ONE (HASHTABLE_NPAGE - (WALINDEX_HDR_SIZE/sizeof(u32)))
42424 iZero = HASHTABLE_NPAGE_ONE + (iHash-1)*HASHTABLE_NPAGE;
42441 int iHash = (iFrame+HASHTABLE_NPAGE-HASHTABLE_NPAGE_ONE-1) / HASHTABLE_NPAGE;
42442 assert( (iHash==0 || iFrame>HASHTABLE_NPAGE_ONE)
42443 && (iHash>=1 || iFrame<=HASHTABLE_NPAGE_ONE)
42444 && (iHash<=1 || iFrame>(HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE))
42445 && (iHash>=2 || iFrame<=HASHTABLE_NPAGE_ONE+HASHTABLE_NPAGE)
42446 && (iHash<=2 || iFrame>(HASHTABLE_NPAGE_ONE+2*HASHTABLE_NPAGE))
42459 return pWal->apWiData[iHash][(iFrame-1-HASHTABLE_NPAGE_ONE)%HASHTABLE_NPAGE];
42483 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE-1 );
42484 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE );
42485 testcase( pWal->hdr.mxFrame==HASHTABLE_NPAGE_ONE+1 );