Lines Matching defs:htsize
8130 ** There are Hash.htsize buckets. Each bucket points to a spot in
8134 ** Hash.htsize and Hash.ht may be zero. In that case lookup is done
8141 unsigned int htsize; /* Number of buckets in the hash table */
23632 pNew->htsize = 0;
23648 pH->htsize = 0;
23716 if( new_size==pH->htsize ) return 0;
23734 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht);
23820 h = strHash(pKey, nKey) % pH->htsize;
23850 if( pH->htsize ){
23851 h = strHash(pKey, nKey) % pH->htsize;
23874 if( pH->count>=10 && pH->count > 2*pH->htsize ){
23876 assert( pH->htsize>0 );
23877 h = strHash(pKey, nKey) % pH->htsize;
126510 int htsize; /* Number of buckets in the hash table */
134568 pNew->htsize = 0;
134584 pH->htsize = 0;
134708 pH->htsize = new_size;
134796 assert( (pH->htsize & (pH->htsize-1))==0 );
134797 return fts3FindElementByHash(pH,pKey,nKey, h & (pH->htsize-1));
134843 assert( (pH->htsize & (pH->htsize-1))==0 );
134844 h = hraw & (pH->htsize-1);
134856 if( (pH->htsize==0 && fts3Rehash(pH,8))
134857 || (pH->count>=pH->htsize && fts3Rehash(pH, pH->htsize*2))
134862 assert( pH->htsize>0 );
134877 assert( pH->htsize>0 );
134878 assert( (pH->htsize & (pH->htsize-1))==0 );
134879 h = hraw & (pH->htsize-1);