/dports/security/john/john-1.9.0-jumbo-1/src/ |
H A D | bt_hash_type_192.c | 46 for (i = 0; i < hash_table_size; i++) in allocate_ht_192() 47 …hash_table_192[i] = hash_table_192[i + hash_table_size] = hash_table_192[i + 2 * hash_table_size] = in allocate_ht_192() 48 hash_table_192[i + 3 * hash_table_size] = hash_table_192[i + 4 * hash_table_size] = in allocate_ht_192() 67 …hash_table_192[hash_table_idx + 2 * hash_table_size] || hash_table_192[hash_table_idx + 3 * hash_t… in zero_check_ht_192() 68 …hash_table_192[hash_table_idx + 4 * hash_table_size] || hash_table_192[hash_table_idx + 5 * hash_t… in zero_check_ht_192() 85 …hash_table_192[hash_table_idx + 3 * hash_table_size] = hash_table_192[hash_table_idx + 4 * hash_ta… in assign0_ht_192() 203 for (i = 0; i < hash_table_size; i++) { in remove_duplicates_final() 216 for (i = 0; i < hash_table_size; i++) in remove_duplicates_final() 295 if (hash_table_size & (hash_table_size - 1)) { in remove_duplicates_192() 326 for (i = 0; i < hash_table_size; i++) { in remove_duplicates_192() [all …]
|
H A D | bt_hash_type_128.c | 44 for (i = 0; i < hash_table_size; i++) in allocate_ht_128() 45 hash_table_128[i] = hash_table_128[i + hash_table_size] in allocate_ht_128() 46 = hash_table_128[i + 2 * hash_table_size] in allocate_ht_128() 47 = hash_table_128[i + 3 * hash_table_size] = 0; in allocate_ht_128() 65 hash_table_128[hash_table_idx + 2 * hash_table_size] || in zero_check_ht_128() 88 return (hash_table_size - z + hash_table_idx); in get_offset_128() 200 for (i = 0; i < hash_table_size; i++) { in remove_duplicates_final() 213 for (i = 0; i < hash_table_size; i++) in remove_duplicates_final() 292 if (hash_table_size & (hash_table_size - 1)) { in remove_duplicates_128() 323 for (i = 0; i < hash_table_size; i++) { in remove_duplicates_128() [all …]
|
H A D | bt_hash_type_64.c | 34 for (i = 0; i < hash_table_size; i++) in allocate_ht_64() 35 hash_table_64[i] = hash_table_64[i + hash_table_size] = 0; in allocate_ht_64() 37 total_memory_in_bytes += 2 * hash_table_size * sizeof(unsigned int); in allocate_ht_64() 70 return (hash_table_size - z + hash_table_idx); in get_offset_64() 179 for (i = 0; i < hash_table_size; i++) { in remove_duplicates_final() 192 for (i = 0; i < hash_table_size; i++) in remove_duplicates_final() 201 unsigned int idx = loaded_hashes_64[k] % hash_table_size ; in remove_duplicates_final() 271 if (hash_table_size & (hash_table_size - 1)) { in remove_duplicates_64() 289 unsigned int idx = loaded_hashes_64[i] & (hash_table_size - 1); in remove_duplicates_64() 304 for (i = 0; i < hash_table_size; i++) { in remove_duplicates_64() [all …]
|
H A D | bt.c | 54 unsigned int hash_table_size, shift64_ht_sz, shift128_ht_sz; variable 199 hash_table_size = approx_hash_table_sz; in init_tables() 204 shift64_ht_sz = (((1ULL << 63) % hash_table_size) * 2) % hash_table_size; in init_tables() 208 shift128_ht_sz = shift128 % hash_table_size; in init_tables() 314 if (hash_table_idxs[i] >= hash_table_size) in check_n_insert_into_hash_table() 315 hash_table_idxs[i] -= hash_table_size; in check_n_insert_into_hash_table() 347 unsigned int limit = bitmap % hash_table_size + 1; in create_tables() 384 offset = (last_offset + 1) % hash_table_size; in create_tables() 393 if (offset >= hash_table_size) offset = 0; in create_tables() 457 while (hash_table_idx < hash_table_size) { in create_tables() [all …]
|
/dports/mail/dovecot/dovecot-2.3.17/src/lib/ |
H A D | hash2.c | 20 unsigned int hash_table_size; member 35 hash->hash_table_size = size; in hash2_alloc_table() 37 i_array_init(&hash->hash_table, hash->hash_table_size); in hash2_alloc_table() 91 if (hash->hash_table_size >= next_size && in hash2_resize() 92 (grow || next_size == hash->hash_table_size)) in hash2_resize() 104 idx = value->key_hash % hash->hash_table_size; in hash2_resize() 120 key_hash % hash->hash_table_size); in hash2_lookup() 141 key_hash % hash->hash_table_size); in hash2_iterate() 178 key_hash % hash->hash_table_size); in hash2_insert_hash() 206 key_hash % hash->hash_table_size); in hash2_remove() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/runtime/ |
H A D | threadSMR.cpp | 793 hash_table_size--; in free_list() 794 hash_table_size |= hash_table_size >> 1; in free_list() 795 hash_table_size |= hash_table_size >> 2; in free_list() 796 hash_table_size |= hash_table_size >> 4; in free_list() 797 hash_table_size |= hash_table_size >> 8; in free_list() 798 hash_table_size |= hash_table_size >> 16; in free_list() 857 hash_table_size |= hash_table_size >> 1; in is_a_protected_JavaThread() 858 hash_table_size |= hash_table_size >> 2; in is_a_protected_JavaThread() 859 hash_table_size |= hash_table_size >> 4; in is_a_protected_JavaThread() 860 hash_table_size |= hash_table_size >> 8; in is_a_protected_JavaThread() [all …]
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/share/runtime/ |
H A D | threadSMR.cpp | 804 hash_table_size--; in free_list() 805 hash_table_size |= hash_table_size >> 1; in free_list() 806 hash_table_size |= hash_table_size >> 2; in free_list() 807 hash_table_size |= hash_table_size >> 4; in free_list() 808 hash_table_size |= hash_table_size >> 8; in free_list() 809 hash_table_size |= hash_table_size >> 16; in free_list() 868 hash_table_size |= hash_table_size >> 1; in is_a_protected_JavaThread() 869 hash_table_size |= hash_table_size >> 2; in is_a_protected_JavaThread() 870 hash_table_size |= hash_table_size >> 4; in is_a_protected_JavaThread() 871 hash_table_size |= hash_table_size >> 8; in is_a_protected_JavaThread() [all …]
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/share/runtime/ |
H A D | threadSMR.cpp | 800 hash_table_size--; in free_list() 801 hash_table_size |= hash_table_size >> 1; in free_list() 802 hash_table_size |= hash_table_size >> 2; in free_list() 803 hash_table_size |= hash_table_size >> 4; in free_list() 804 hash_table_size |= hash_table_size >> 8; in free_list() 805 hash_table_size |= hash_table_size >> 16; in free_list() 864 hash_table_size |= hash_table_size >> 1; in is_a_protected_JavaThread() 865 hash_table_size |= hash_table_size >> 2; in is_a_protected_JavaThread() 866 hash_table_size |= hash_table_size >> 4; in is_a_protected_JavaThread() 867 hash_table_size |= hash_table_size >> 8; in is_a_protected_JavaThread() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/share/runtime/ |
H A D | threadSMR.cpp | 793 hash_table_size--; in free_list() 794 hash_table_size |= hash_table_size >> 1; in free_list() 795 hash_table_size |= hash_table_size >> 2; in free_list() 796 hash_table_size |= hash_table_size >> 4; in free_list() 797 hash_table_size |= hash_table_size >> 8; in free_list() 798 hash_table_size |= hash_table_size >> 16; in free_list() 857 hash_table_size |= hash_table_size >> 1; in is_a_protected_JavaThread() 858 hash_table_size |= hash_table_size >> 2; in is_a_protected_JavaThread() 859 hash_table_size |= hash_table_size >> 4; in is_a_protected_JavaThread() 860 hash_table_size |= hash_table_size >> 8; in is_a_protected_JavaThread() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/fs/orangefs/ |
H A D | orangefs-mod.c | 28 int hash_table_size = 509; variable 44 MODULE_PARM_DESC(hash_table_size, 54 module_param(hash_table_size, int, 0); 101 kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL); in orangefs_init() 108 for (i = 0; i < hash_table_size; i++) in orangefs_init() 190 for (i = 0; i < hash_table_size; i++) in orangefs_exit() 209 for (i = 0; i < hash_table_size; i++) { in purge_inprogress_ops()
|
/dports/multimedia/libv4l/linux-5.13-rc2/fs/orangefs/ |
H A D | orangefs-mod.c | 28 int hash_table_size = 509; variable 44 MODULE_PARM_DESC(hash_table_size, 54 module_param(hash_table_size, int, 0); 101 kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL); in orangefs_init() 108 for (i = 0; i < hash_table_size; i++) in orangefs_init() 190 for (i = 0; i < hash_table_size; i++) in orangefs_exit() 209 for (i = 0; i < hash_table_size; i++) { in purge_inprogress_ops()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/fs/orangefs/ |
H A D | orangefs-mod.c | 28 int hash_table_size = 509; variable 44 MODULE_PARM_DESC(hash_table_size, 54 module_param(hash_table_size, int, 0); 101 kcalloc(hash_table_size, sizeof(struct list_head), GFP_KERNEL); in orangefs_init() 108 for (i = 0; i < hash_table_size; i++) in orangefs_init() 190 for (i = 0; i < hash_table_size; i++) in orangefs_exit() 209 for (i = 0; i < hash_table_size; i++) { in purge_inprogress_ops()
|
/dports/www/c-icap/c_icap-0.5.10/ |
H A D | hash.c | 71 htable->hash_table_size = new_hash_size; in ci_hash_build() 82 for (i=0; i<= htable->hash_table_size; i++) { in ci_hash_destroy() 96 unsigned int hash=ci_hash_compute(htable->hash_table_size, key, htable->ops->size(key)); in ci_hash_search() 98 assert(hash <= htable->hash_table_size); /*is it possible?*/ in ci_hash_search() 112 unsigned int hash = ci_hash_compute(htable->hash_table_size, key, htable->ops->size(key)); in ci_hash_add() 113 assert(hash <= htable->hash_table_size); in ci_hash_add()
|
/dports/textproc/groff/groff-1.22.4/src/utils/indxbib/ |
H A D | indxbib.cpp | 76 int hash_table_size = DEFAULT_HASH_TABLE_SIZE; variable 145 check_integer_arg('h', optarg, 1, &hash_table_size); in main() 146 if (!is_prime(hash_table_size)) { in main() 147 while (!is_prime(++hash_table_size)) in main() 384 for (int i = 0; i < hash_table_size; i++) in read_common_words_file() 669 hash_table = new table_entry[hash_table_size]; in init_hash_table() 670 for (int i = 0; i < hash_table_size; i++) in init_hash_table() 700 int h = hash(s, len) % hash_table_size; in store_key() 721 for (int i = 0; i < hash_table_size; i++) { in write_hash_table() 749 for (int i = 0; i < hash_table_size; i++) in write_hash_table() [all …]
|
/dports/japanese/groff/groff-1.18.1.1/src/utils/indxbib/ |
H A D | indxbib.cc | 77 int hash_table_size = DEFAULT_HASH_TABLE_SIZE; variable 146 check_integer_arg('h', optarg, 1, &hash_table_size); in main() 147 if (!is_prime(hash_table_size)) { in main() 148 while (!is_prime(++hash_table_size)) in main() 385 for (int i = 0; i < hash_table_size; i++) in read_common_words_file() 670 hash_table = new table_entry[hash_table_size]; in init_hash_table() 671 for (int i = 0; i < hash_table_size; i++) in init_hash_table() 701 int h = hash(s, len) % hash_table_size; in store_key() 722 for (int i = 0; i < hash_table_size; i++) { in write_hash_table() 750 for (int i = 0; i < hash_table_size; i++) in write_hash_table() [all …]
|
/dports/net-mgmt/iftop/iftop-1.0pre4/ |
H A D | serv_hash.c | 11 #define hash_table_size 123 macro 22 return serv->protocol % hash_table_size; in serv_hash_hash() 41 hash_table = xcalloc(hash_table_size, sizeof *hash_table); in serv_hash_create() 42 hash_table->size = hash_table_size; in serv_hash_create()
|
/dports/games/tads/tads-3.0.8/tads3/ |
H A D | vmhash.h | 90 CVmHashTable(int hash_table_size, CVmHashFunc *hash_function, in CVmHashTable() argument 94 init(hash_table_size, hash_function, own_hash_func, 0); in CVmHashTable() 101 CVmHashTable(int hash_table_size, CVmHashFunc *hash_function, in CVmHashTable() argument 105 init(hash_table_size, hash_function, own_hash_func, hash_array); in CVmHashTable() 195 void init(int hash_table_size, CVmHashFunc *hash_function,
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/rtpengine/ |
H A D | rtpengine_hash.c | 47 int hash_table_size; in rtpengine_hash_table_init() local 51 hash_table_size = 1; in rtpengine_hash_table_init() 53 hash_table_size = size; in rtpengine_hash_table_init() 55 LM_DBG("rtpengine_hash_table size = %d\n", hash_table_size); in rtpengine_hash_table_init() 64 rtpengine_hash_table->size = hash_table_size; in rtpengine_hash_table_init() 67 rtpengine_hash_table->row_locks = shm_malloc(hash_table_size * sizeof(gen_lock_t*)); in rtpengine_hash_table_init() 73 memset(rtpengine_hash_table->row_locks, 0, hash_table_size * sizeof(gen_lock_t*)); in rtpengine_hash_table_init() 85 rtpengine_hash_table->row_totals = shm_malloc(hash_table_size * sizeof(unsigned int)); in rtpengine_hash_table_init() 91 memset(rtpengine_hash_table->row_totals, 0, hash_table_size * sizeof(unsigned int)); in rtpengine_hash_table_init() 94 for (i = 0; i < hash_table_size; i++) { in rtpengine_hash_table_init()
|
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/common/ |
H A D | string_table.F | 39 INTEGER, PARAMETER :: hash_table_size = 2**Nbit variable 154 ALLOCATE (hash_table(0:hash_table_size - 1)) 177 DO i = 0, hash_table_size - 1 197 WRITE (iw, *) " # lists = ", ilist, " / ", hash_table_size 237 hash_index = INT(MOD(hash, INT(hash_table_size, KIND=int_8)))
|
/dports/science/cp2k-data/cp2k-7.1.0/src/common/ |
H A D | string_table.F | 39 INTEGER, PARAMETER :: hash_table_size = 2**Nbit variable 154 ALLOCATE (hash_table(0:hash_table_size - 1)) 177 DO i = 0, hash_table_size - 1 197 WRITE (iw, *) " # lists = ", ilist, " / ", hash_table_size 237 hash_index = INT(MOD(hash, INT(hash_table_size, KIND=int_8)))
|
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/post-process/ |
H A D | pp_linkset.c | 32 memset(ls->hash_table,0,ls->hash_table_size*sizeof(pp_linkset_node *)); in clear_hash_table() 37 ls->hash_table_size = size*LINKSET_SPARSENESS; in initialize() 40 (pp_linkset_node**) malloc (ls->hash_table_size*sizeof(pp_linkset_node *)); in initialize() 54 hashval %= ls->hash_table_size; in compute_hash() 99 for (i=0; i<ls->hash_table_size; i++) in pp_linkset_clear()
|
/dports/games/KnightCap/Export/ |
H A D | hash.c | 25 unsigned hash_table_size; variable 31 return hash_table_size; in hts() 50 sizeof(hash_table[0])*hash_table_size); in hash_reset() 67 hash_table_size = (state->hash_table_size * 1024*1024) / in init_hash_table() 71 hash_table_size &= ~(HASH_LEVELS - 1); in init_hash_table() 74 size = hash_table_size*sizeof(hash_table[0]); in init_hash_table() 79 state->hash_table_size--; in init_hash_table() 84 state->hash_table_size, hash_table_size); in init_hash_table() 99 ret = b->hash1 % hash_table_size; in get_index()
|
/dports/lang/fpc-utils/fpc-3.2.2/utils/sim_pasc/ |
H A D | hash.c | 119 static unsigned int hash_table_size; variable 158 hash_table_size = prime[n]; in init_hash_table() 160 calloc(hash_table_size, sizeof (unsigned int)); in init_hash_table() 233 return h_val % hash_table_size; in hash1() 350 fprintf(DebugFile, "hash_table_size = %u\n", hash_table_size); in db_forward_references()
|
/dports/lang/fpc-source/fpc-3.2.2/utils/sim_pasc/ |
H A D | hash.c | 119 static unsigned int hash_table_size; variable 158 hash_table_size = prime[n]; in init_hash_table() 160 calloc(hash_table_size, sizeof (unsigned int)); in init_hash_table() 233 return h_val % hash_table_size; in hash1() 350 fprintf(DebugFile, "hash_table_size = %u\n", hash_table_size); in db_forward_references()
|
/dports/net/kamailio/kamailio-5.4.5/src/modules/sca/ |
H A D | sca.c | 138 int hash_table_size = -1; variable 151 {"hash_table_size", INT_PARAM, &hash_table_size}, 280 if(hash_table_size > 0) { in sca_set_config() 281 scam->cfg->hash_table_size = 1 << hash_table_size; in sca_set_config() 283 scam->cfg->hash_table_size = 512; in sca_set_config() 369 if(sca_hash_table_create(&sca->subscriptions, sca->cfg->hash_table_size) in sca_mod_init() 374 if(sca_hash_table_create(&sca->appearances, sca->cfg->hash_table_size) in sca_mod_init()
|