/dports/misc/rump/buildrump.sh-b914579/src/lib/libc/db/hash/ |
H A D | hash.c | 136 if (!(hashp = init_hash(hashp, file, info))) in __hash_open() 178 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open() 293 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 308 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 403 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 413 if (__buf_free(hashp, 1, hashp->save_file)) in hdestroy() 419 free(hashp->dir[--hashp->nsegs]); in hdestroy() 759 if (hashp->cbucket > hashp->MAX_BUCKET) { in hash_seq() 865 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table() 871 hashp->LOW_MASK = hashp->HIGH_MASK; in __expand_table() [all …]
|
/dports/lang/micropython/berkeley-db-1.xx-35aaec4/hash/ |
H A D | hash.c | 177 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 297 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 305 hashp->BSHIFT = __log2(hashp->BSIZE); 312 hashp->BSIZE = 1 << hashp->BSHIFT; 407 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 417 if (__buf_free(hashp, 1, hashp->save_file)) 423 free(hashp->dir[--hashp->nsegs]); 758 if (hashp->cbucket > hashp->MAX_BUCKET) { 847 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 853 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/lib/picolibc/newlib/libc/search/ |
H A D | hash.c | 214 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 338 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 350 hashp->BSHIFT = __log2(hashp->BSIZE); 357 hashp->BSIZE = 1 << hashp->BSHIFT; 452 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 462 if (__buf_free(hashp, 1, hashp->save_file)) 468 free(hashp->dir[--hashp->nsegs]); 804 if (hashp->cbucket > hashp->MAX_BUCKET) { 893 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 899 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/search/ |
H A D | hash.c | 201 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 321 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 333 hashp->BSHIFT = __log2(hashp->BSIZE); 340 hashp->BSIZE = 1 << hashp->BSHIFT; 435 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 445 if (__buf_free(hashp, 1, hashp->save_file)) 451 free(hashp->dir[--hashp->nsegs]); 787 if (hashp->cbucket > hashp->MAX_BUCKET) { 876 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 882 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/devel/arm-none-eabi-newlib/newlib-2.4.0/newlib/libc/search/ |
H A D | hash.c | 212 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 336 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 348 hashp->BSHIFT = __log2(hashp->BSIZE); 355 hashp->BSIZE = 1 << hashp->BSHIFT; 450 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 460 if (__buf_free(hashp, 1, hashp->save_file)) 466 free(hashp->dir[--hashp->nsegs]); 802 if (hashp->cbucket > hashp->MAX_BUCKET) { 891 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 897 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/newlib/libc/search/ |
H A D | hash.c | 201 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 321 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 333 hashp->BSHIFT = __log2(hashp->BSIZE); 340 hashp->BSIZE = 1 << hashp->BSHIFT; 435 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 445 if (__buf_free(hashp, 1, hashp->save_file)) 451 free(hashp->dir[--hashp->nsegs]); 787 if (hashp->cbucket > hashp->MAX_BUCKET) { 876 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 882 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/science/nwchem/nwchem-7b21660b82ebd85ef659f6fba7e1e73433b0bd0a/src/rtdb/db/ |
H A D | hash.c | 191 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 311 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 323 hashp->HBSHIFT = __log2(hashp->HBSIZE); 330 hashp->HBSIZE = 1 << hashp->HBSHIFT; 425 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 435 if (__buf_free(hashp, 1, hashp->save_file)) 441 free(hashp->dir[--hashp->nsegs]); 777 if (hashp->cbucket > hashp->MAX_BUCKET) { 866 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 872 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/science/nwchem-data/nwchem-7.0.2-release/src/rtdb/db/ |
H A D | hash.c | 191 bpages = (hashp->SPARES[hashp->OVFL_POINT] + 311 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); 323 hashp->HBSHIFT = __log2(hashp->HBSIZE); 330 hashp->HBSIZE = 1 << hashp->HBSHIFT; 425 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); 435 if (__buf_free(hashp, 1, hashp->save_file)) 441 free(hashp->dir[--hashp->nsegs]); 777 if (hashp->cbucket > hashp->MAX_BUCKET) { 866 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; 872 hashp->LOW_MASK = hashp->HIGH_MASK; [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/security/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in dbm_hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 336 memset(hashp->BITMAPS, 0, sizeof(hashp->BITMAPS)); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (dbm_buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1034 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in dbm_expand_table() 1040 hashp->LOW_MASK = hashp->HIGH_MASK; in dbm_expand_table() [all …]
|
/dports/security/ca_root_nss/nss-3.71/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in dbm_hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 336 memset(hashp->BITMAPS, 0, sizeof(hashp->BITMAPS)); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (dbm_buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1034 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in dbm_expand_table() 1040 hashp->LOW_MASK = hashp->HIGH_MASK; in dbm_expand_table() [all …]
|
/dports/www/firefox/firefox-99.0/security/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in dbm_hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 336 memset(hashp->BITMAPS, 0, sizeof(hashp->BITMAPS)); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (dbm_buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1034 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in dbm_expand_table() 1040 hashp->LOW_MASK = hashp->HIGH_MASK; in dbm_expand_table() [all …]
|
/dports/lang/spidermonkey60/firefox-60.9.0/security/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 356 hashp->BSHIFT = __log2((uint32)hashp->BSIZE); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (__buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1034 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table() 1040 hashp->LOW_MASK = hashp->HIGH_MASK; in __expand_table() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/security/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in __hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 356 hashp->BSHIFT = __log2((uint32)hashp->BSIZE); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (__buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1035 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in __expand_table() 1041 hashp->LOW_MASK = hashp->HIGH_MASK; in __expand_table() [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/security/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in dbm_hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 336 memset(hashp->BITMAPS, 0, sizeof(hashp->BITMAPS)); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (dbm_buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1034 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in dbm_expand_table() 1040 hashp->LOW_MASK = hashp->HIGH_MASK; in dbm_expand_table() [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/security/nss/lib/dbm/src/ |
H A D | hash.c | 236 bpages = (hashp->SPARES[hashp->OVFL_POINT] + in dbm_hash_open() 335 memset(hashp->SPARES, 0, sizeof(hashp->SPARES)); in init_hash() 336 memset(hashp->BITMAPS, 0, sizeof(hashp->BITMAPS)); in init_hash() 363 hashp->BSIZE = 1 << hashp->BSHIFT; in init_hash() 456 hashp->NKEYS, hashp->MAX_BUCKET, hashp->nsegs); in hdestroy() 466 if (dbm_buf_free(hashp, 1, hashp->save_file)) in hdestroy() 472 free(hashp->dir[--hashp->nsegs]); in hdestroy() 591 if (hashp->updateEOF && hashp->filename && !hashp->is_temp) { in hash_sync() 1034 hashp->SPARES[spare_ndx] = hashp->SPARES[hashp->OVFL_POINT]; in dbm_expand_table() 1040 hashp->LOW_MASK = hashp->HIGH_MASK; in dbm_expand_table() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/krb5-src-0.2.4+1.18.2/krb5/src/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 105 HTAB *hashp; variable 122 hashp->save_file = hashp->flags & O_RDWR; 139 if (!(hashp = init_hash(hashp, file, info))) 171 bpages = (hashp->hdr.spares[hashp->hdr.ovfl_point] + 187 hashp->mp = mpool_open(&mpool_key, hashp->fp, hashp->hdr.bsize, csize); 206 hashp->split_buf = (PAGE16 *)malloc(hashp->hdr.bsize); 320 hashp->hdr.bshift = __log2(hashp->hdr.bsize); 326 hashp->hdr.bsize = 1 << hashp->hdr.bshift; 527 if (hashp->fname && !hashp->save_file) { 965 hashp->hdr.spares[spare_ndx] = hashp->hdr.spares[hashp->hdr.ovfl_point]; [all …]
|
/dports/security/krb5/krb5-1.19.2/src/plugins/kdb/db2/libdb2/hash/ |
H A D | hash.c | 105 HTAB *hashp; variable 122 hashp->save_file = hashp->flags & O_RDWR; 139 if (!(hashp = init_hash(hashp, file, info))) 171 bpages = (hashp->hdr.spares[hashp->hdr.ovfl_point] + 187 hashp->mp = mpool_open(&mpool_key, hashp->fp, hashp->hdr.bsize, csize); 206 hashp->split_buf = (PAGE16 *)malloc(hashp->hdr.bsize); 320 hashp->hdr.bshift = __log2(hashp->hdr.bsize); 326 hashp->hdr.bsize = 1 << hashp->hdr.bshift; 527 if (hashp->fname && !hashp->save_file) { 965 hashp->hdr.spares[spare_ndx] = hashp->hdr.spares[hashp->hdr.ovfl_point]; [all …]
|
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|
/dports/databases/postgresql11-server/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); 563 return hashp; 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); 862 return hashp->hash(keyPtr, hashp->keysize); 913 hashp->hash(keyPtr, hashp->keysize), 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); 1381 status->hashp = hashp; 1414 hashp = status->hashp; 1489 if (!hashp->frozen && has_seq_scans(hashp)) [all …]
|
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|
/dports/databases/postgresql12-client/postgresql-12.9/src/backend/utils/hash/ |
H A D | dynahash.c | 352 hashp->tabname = (char *) (hashp + 1); in hash_create() 444 hashp->hctl = (HASHHDR *) hashp->alloc(sizeof(HASHHDR)); in hash_create() 563 return hashp; in hash_create() 841 hashp->hctl->max_bucket, hashp->hctl->nsegs); in hash_stats() 862 return hashp->hash(keyPtr, hashp->keysize); in get_hash_value() 913 hashp->hash(keyPtr, hashp->keysize), in hash_search() 1179 newhashvalue = hashp->hash(newKeyPtr, hashp->keysize); in hash_update_hash_key() 1381 status->hashp = hashp; in hash_seq_init() 1414 hashp = status->hashp; in hash_seq_search() 1489 if (!hashp->frozen && has_seq_scans(hashp)) in hash_freeze() [all …]
|