Home
last modified time | relevance | path

Searched refs:htsize (Results 1 – 10 of 10) sorted by relevance

/sqlite-3.40.0/ext/fts3/
H A Dfts3_hash.c66 pNew->htsize = 0; in sqlite3Fts3HashInit()
82 pH->htsize = 0; in sqlite3Fts3HashClear()
206 pH->htsize = new_size; in fts3Rehash()
294 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts3HashFindElem()
341 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts3HashInsert()
342 h = hraw & (pH->htsize-1); in sqlite3Fts3HashInsert()
355 || (pH->count>=pH->htsize && fts3Rehash(pH, pH->htsize*2)) in sqlite3Fts3HashInsert()
360 assert( pH->htsize>0 ); in sqlite3Fts3HashInsert()
375 assert( pH->htsize>0 ); in sqlite3Fts3HashInsert()
376 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts3HashInsert()
[all …]
H A Dfts3_hash.h37 int htsize; /* Number of buckets in the hash table */ member
/sqlite-3.40.0/ext/fts2/
H A Dfts2_hash.c68 pNew->htsize = 0; in sqlite3Fts2HashInit()
84 pH->htsize = 0; in sqlite3Fts2HashClear()
206 pH->htsize = new_size; in rehash()
294 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts2HashFind()
330 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts2HashInsert()
331 h = hraw & (pH->htsize-1); in sqlite3Fts2HashInsert()
357 if( pH->htsize==0 ){ in sqlite3Fts2HashInsert()
359 if( pH->htsize==0 ){ in sqlite3Fts2HashInsert()
366 rehash(pH,pH->htsize*2); in sqlite3Fts2HashInsert()
368 assert( pH->htsize>0 ); in sqlite3Fts2HashInsert()
[all …]
H A Dfts2_hash.h37 int htsize; /* Number of buckets in the hash table */ member
/sqlite-3.40.0/ext/fts1/
H A Dft_hash.c52 pNew->htsize = 0; in HashInit()
70 pH->htsize = 0; in HashClear()
241 pH->htsize = new_size; in rehash()
329 assert( (pH->htsize & (pH->htsize-1))==0 ); in HashFind()
360 assert( (pH->htsize & (pH->htsize-1))==0 ); in HashInsert()
361 h = hraw & (pH->htsize-1); in HashInsert()
387 if( pH->htsize==0 ){ in HashInsert()
389 if( pH->htsize==0 ){ in HashInsert()
396 rehash(pH,pH->htsize*2); in HashInsert()
398 assert( pH->htsize>0 ); in HashInsert()
[all …]
H A Dfts1_hash.c59 pNew->htsize = 0; in sqlite3Fts1HashInit()
77 pH->htsize = 0; in sqlite3Fts1HashClear()
199 pH->htsize = new_size; in rehash()
287 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts1HashFind()
323 assert( (pH->htsize & (pH->htsize-1))==0 ); in sqlite3Fts1HashInsert()
324 h = hraw & (pH->htsize-1); in sqlite3Fts1HashInsert()
350 if( pH->htsize==0 ){ in sqlite3Fts1HashInsert()
352 if( pH->htsize==0 ){ in sqlite3Fts1HashInsert()
359 rehash(pH,pH->htsize*2); in sqlite3Fts1HashInsert()
361 assert( pH->htsize>0 ); in sqlite3Fts1HashInsert()
[all …]
H A Dft_hash.h39 int htsize; /* Number of buckets in the hash table */ member
H A Dfts1_hash.h39 int htsize; /* Number of buckets in the hash table */ member
/sqlite-3.40.0/src/
H A Dhash.c27 pNew->htsize = 0; in sqlite3HashInit()
43 pH->htsize = 0; in sqlite3HashClear()
114 if( new_size==pH->htsize ) return 0; in rehash()
132 pH->htsize = new_size = sqlite3MallocSize(new_ht)/sizeof(struct _ht); in rehash()
159 h = strHash(pKey) % pH->htsize; in findElementWithHash()
261 if( pH->count>=10 && pH->count > 2*pH->htsize ){ in sqlite3HashInsert()
263 assert( pH->htsize>0 ); in sqlite3HashInsert()
264 h = strHash(pKey) % pH->htsize; in sqlite3HashInsert()
H A Dhash.h44 unsigned int htsize; /* Number of buckets in the hash table */ member