Home
last modified time | relevance | path

Searched refs:ht_size (Results 1 – 25 of 141) sorted by relevance

123456

/dports/devel/idutils/idutils-4.6/libidu/
H A Didu-hash.c47 ht->ht_size = round_up_2 (size); in hash_init()
48 ht->ht_empty_slots = ht->ht_size; in hash_init()
52 ht->ht_size * sizeof(struct token *)); in hash_init()
92 hash_1 %= ht->ht_size; in hash_find_slot()
178 void **end = &vec[ht->ht_size]; in hash_free_items()
187 ht->ht_empty_slots = ht->ht_size; in hash_free_items()
194 void **end = &vec[ht->ht_size]; in hash_delete_items()
201 ht->ht_empty_slots = ht->ht_size; in hash_delete_items()
212 ht->ht_empty_slots = ht->ht_size; in hash_free()
243 ht->ht_size *= 2; in hash_rehash()
[all …]
/dports/devel/kBuild/kBuild-0.1.9998/src/kmk/
H A Dhash.c49 ht->ht_size = round_up_2 (size); in hash_init()
50 ht->ht_empty_slots = ht->ht_size; in hash_init()
59 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */ in hash_init()
142 hash_1 &= (ht->ht_size - 1); in hash_find_slot()
188 hash_1 &= (ht->ht_size - 1); in hash_find_slot_strcached()
210 hash_1 &= (ht->ht_size - 1); in hash_find_slot_strcached()
330 void **end = &vec[ht->ht_size]; in hash_free_items()
347 void **end = &vec[ht->ht_size]; in hash_free_items_cached()
364 void **end = &vec[ht->ht_size]; in hash_delete_items()
443 ht->ht_size *= 2; in hash_rehash()
[all …]
/dports/print/a2ps/a2ps-4.13/lib/
H A Dhashtab.c50 ht->ht_size = round_up_2 (size); in hash_init()
52 ht->ht_size /= 2; in hash_init()
93 hash_1 %= ht->ht_size; in hash_find_slot()
171 void **end = &vec[ht->ht_size]; in hash_free_items()
186 void **end = &vec[ht->ht_size]; in hash_delete_items()
210 void **end = &ht->ht_vec[ht->ht_size]; in hash_map()
224 unsigned long old_ht_size = ht->ht_size; in hash_rehash()
229 ht->ht_size *= 2; in hash_rehash()
231 ht->ht_capacity = ht->ht_size - (ht->ht_size >> 4); in hash_rehash()
265 void **end = &ht->ht_vec[ht->ht_size]; in hash_dump()
[all …]
/dports/devel/remake/remake-4.3+dbg-1.5/src/
H A Dhash.c45 ht->ht_size = round_up_2 (size); in hash_init()
46 ht->ht_empty_slots = ht->ht_size; in hash_init()
55 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */ in hash_init()
95 hash_1 &= (ht->ht_size - 1); in hash_find_slot()
181 void **end = &vec[ht->ht_size]; in hash_free_items()
190 ht->ht_empty_slots = ht->ht_size; in hash_free_items()
197 void **end = &vec[ht->ht_size]; in hash_delete_items()
204 ht->ht_empty_slots = ht->ht_size; in hash_delete_items()
215 ht->ht_empty_slots = ht->ht_size; in hash_free()
259 ht->ht_size *= 2; in hash_rehash()
[all …]
/dports/devel/gmake/make-4.3/src/
H A Dhash.c45 ht->ht_size = round_up_2 (size); in hash_init()
46 ht->ht_empty_slots = ht->ht_size; in hash_init()
55 ht->ht_capacity = ht->ht_size - (ht->ht_size / 16); /* 93.75% loading factor */ in hash_init()
95 hash_1 &= (ht->ht_size - 1); in hash_find_slot()
181 void **end = &vec[ht->ht_size]; in hash_free_items()
190 ht->ht_empty_slots = ht->ht_size; in hash_free_items()
197 void **end = &vec[ht->ht_size]; in hash_delete_items()
204 ht->ht_empty_slots = ht->ht_size; in hash_delete_items()
215 ht->ht_empty_slots = ht->ht_size; in hash_free()
259 ht->ht_size *= 2; in hash_rehash()
[all …]
/dports/net/mpich/mpich-3.4.3/modules/libfabric/prov/gni/src/
H A Dgnix_hashtable.c126 ht->ht_attr.ht_hash_seed) % ht->ht_size; in __gnix_hash_func()
247 int old_size = ht->ht_size; in __gnix_ht_resize_hashtable_inc()
268 int old_size = ht->ht_size; in __gnix_ht_resize_hashtable_dec()
304 ht->ht_size = 0; in __gnix_ht_common_destroy()
341 for (i = 0; i < ht->ht_size; ++i) { in __gnix_ht_lf_destroy()
398 if (bucket < 0 || bucket >= ht->ht_size) in __gnix_ht_lf_retrieve_list()
412 if (ht->ht_size != old_size) in __gnix_ht_lf_resize()
421 ht->ht_size = new_size; in __gnix_ht_lf_resize()
475 for (i = 0; i < ht->ht_size; ++i) { in __gnix_ht_lk_destroy()
578 if (ht->ht_size != old_size) { in __gnix_ht_lk_resize()
[all …]
/dports/cad/magic/magic-8.3.245/utils/
H A Dhash.c179 table->ht_size = 2;
182 while (table->ht_size < nBuckets)
184 table->ht_size <<= 1;
191 (unsigned) (sizeof (HashEntry *) * table->ht_size));
193 for (i = 0; i < table->ht_size; i++)
405 if (table->ht_nEntries >= rebuildLimit*table->ht_size)
486 oldSize = table->ht_size;
489 HashInitClient(table, table->ht_size*4, table->ht_ptrKeys,
548 for (i = 0; i < table->ht_size; i++)
660 if (hs->hs_nextIndex >= table->ht_size) return NULL;
[all …]
/dports/www/p5-Protocol-HTTP2/Protocol-HTTP2-1.10/lib/Protocol/HTTP2/
H A DHeaderCompression.pm106 while ( $context->{ht_size} + $size > $context->{max_ht_size} ) {
109 $context->{ht_size} -=
129 $context->{ht_size} += $size;
269 int_decode( $buf_ref, $buf_offset + $offset, \my $ht_size, 5 );
274 $ht_size > $context->{settings}->{&SETTINGS_HEADER_TABLE_SIZE} )
278 . "$ht_size > "
291 . $ht_size );
292 $context->{max_ht_size} = $ht_size;
/dports/www/p5-Protocol-HTTP2/Protocol-HTTP2-1.10/t/
H A D01_HeaderCompression.t121 is $ctx->{ht_size} => 222, 'ht_size ok';
136 is $ctx->{ht_size} => 222, 'ht_size ok';
158 is $ctx->{ht_size} => 215, 'ht_size ok';
185 is $ctx->{ht_size}, 57, "correct table size";
206 is $ctx->{ht_size}, 110, "correct table size";
232 is $ctx->{ht_size}, 164, "correct table size";
/dports/devel/cvsps-devel/cvsps-2.2b1/cbtcommon/
H A Dhash.c35 tbl->ht_size = sz; in create_hash_table()
51 for (i = 0; i < tbl->ht_size; i++) in destroy_hash_table()
87 hash = hash_string(key) % tbl->ht_size; in get_hash_entry()
150 while( tbl->iterator < tbl->ht_size ) in next_hash_entry()
185 hash = hash_string(key) % tbl->ht_size; in put_hash_object_ex()
254 for (i = 0; i < tbl->ht_size; i++) in destroy_hash_table_ex()
/dports/devel/cvsps/cvsps-2.1/cbtcommon/
H A Dhash.c35 tbl->ht_size = sz; in create_hash_table()
51 for (i = 0; i < tbl->ht_size; i++) in destroy_hash_table()
87 hash = hash_string(key) % tbl->ht_size; in get_hash_entry()
150 while( tbl->iterator < tbl->ht_size ) in next_hash_entry()
185 hash = hash_string(key) % tbl->ht_size; in put_hash_object_ex()
254 for (i = 0; i < tbl->ht_size; i++) in destroy_hash_table_ex()
/dports/misc/rump/buildrump.sh-b914579/src/usr.bin/config/
H A Dhash.c72 size_t ht_size; /* size (power of 2) */ member
103 ht->ht_size = sz; in ht_init()
121 n = ht->ht_size * 2; in ht_expand()
127 for (i = 0; i < ht->ht_size; i++) { in ht_expand()
137 ht->ht_size = ++n; in ht_expand()
247 for (i = 0; i < ht->ht_size; i++) { in ht_free()
361 for (i = 0; i < ht->ht_size; i++) { in ht_enumerate2()
377 for (i = 0; i < ht->ht_size; i++) { in ht_enumerate()
/dports/devel/libds/libds-2.2/
H A Dhashtbl.c51 unsigned long ht_size; member
93 p->ht_size = size; in htMakeHashTable()
112 for ( i = 0; i < ht->ht_size; i++ ) in htCloseWithFunction()
200 i = table->ht_hashfun(key) % table->ht_size; in find_bucket()
348 return table->ht_size; in htSize()
373 for (i = 0; i < table->ht_size; i++) in htWalk()
/dports/biology/ncbi-cxx-toolkit/ncbi_cxx--25_2_0/src/algo/winmask/
H A Dseq_masker_istat_oascii.cpp164 Uint4 ht_size = (1ULL<<k); in CSeqMaskerIstatOAscii() local
165 Uint4 * ht = new Uint4[ht_size]; in CSeqMaskerIstatOAscii()
171 linenum < ht_size && getline( input_stream, line ); in CSeqMaskerIstatOAscii()
175 if( linenum < ht_size ) in CSeqMaskerIstatOAscii()
/dports/biology/ncbi-blast+/ncbi-blast-2.12.0+-src/c++/src/algo/winmask/
H A Dseq_masker_istat_oascii.cpp164 Uint4 ht_size = (1ULL<<k); in CSeqMaskerIstatOAscii() local
165 Uint4 * ht = new Uint4[ht_size]; in CSeqMaskerIstatOAscii()
171 linenum < ht_size && getline( input_stream, line ); in CSeqMaskerIstatOAscii()
175 if( linenum < ht_size ) in CSeqMaskerIstatOAscii()
/dports/security/clamav/clamav-0.104.2/clamonacc/inotif/
H A Dinotif.h51 int onas_ddd_init(uint64_t nwatches, size_t ht_size);
53 int onas_ddd_init(uint64_t nwatches, size_t ht_size);
/dports/security/clamav-lts/clamav-0.103.5/clamonacc/inotif/
H A Dinotif.h51 int onas_ddd_init(uint64_t nwatches, size_t ht_size);
53 int onas_ddd_init(uint64_t nwatches, size_t ht_size);
/dports/net/openmpi/openmpi-4.1.1/opal/mca/pmix/pmix3x/pmix/src/class/
H A Dpmix_hash_table.c84 ht->ht_capacity = ht->ht_size = ht->ht_growth_trigger = 0; in pmix_hash_table_construct()
150 ht->ht_size = 0; in pmix_hash_table_remove_all()
263 ht->ht_size -= 1; in pmix_hash_table_remove_elt_at()
348 ht->ht_size += 1; in pmix_hash_table_set_value_uint32()
349 if (ht->ht_size >= ht->ht_growth_trigger) { in pmix_hash_table_set_value_uint32()
482 ht->ht_size += 1; in pmix_hash_table_set_value_uint64()
483 if (ht->ht_size >= ht->ht_growth_trigger) { in pmix_hash_table_set_value_uint64()
650 ht->ht_size += 1; in pmix_hash_table_set_value_ptr()
651 if (ht->ht_size >= ht->ht_growth_trigger) { in pmix_hash_table_set_value_ptr()
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/pmix/pmix2x/pmix/src/class/
H A Dpmix_hash_table.c84 ht->ht_capacity = ht->ht_size = ht->ht_growth_trigger = 0; in pmix_hash_table_construct()
150 ht->ht_size = 0; in pmix_hash_table_remove_all()
263 ht->ht_size -= 1; in pmix_hash_table_remove_elt_at()
348 ht->ht_size += 1; in pmix_hash_table_set_value_uint32()
349 if (ht->ht_size >= ht->ht_growth_trigger) { in pmix_hash_table_set_value_uint32()
482 ht->ht_size += 1; in pmix_hash_table_set_value_uint64()
483 if (ht->ht_size >= ht->ht_growth_trigger) { in pmix_hash_table_set_value_uint64()
650 ht->ht_size += 1; in pmix_hash_table_set_value_ptr()
651 if (ht->ht_size >= ht->ht_growth_trigger) { in pmix_hash_table_set_value_ptr()
/dports/math/combblas/CombBLAS_beta_16_2/graph500-1.2/generator/
H A Dpermutation_gen.c43 static inline void hashtable_insert(slot_data* ht, int64_t ht_size, int64_t index, int64_t value, i… in hashtable_insert() argument
45 for (i = hashval; i < ht_size; ++i) { in hashtable_insert()
63 static inline int hashtable_count_key(const slot_data* ht, int64_t ht_size, int64_t index, int64_t … in hashtable_count_key() argument
66 for (i = hashval; i < ht_size && ht[i].index != (int64_t)(-1); ++i) { in hashtable_count_key()
69 if (i == ht_size) { in hashtable_count_key()
82 static inline int hashtable_get_values(const slot_data* ht, int64_t ht_size, int64_t index, int64_t… in hashtable_get_values() argument
85 for (i = hashval; i < ht_size && ht[i].index != (int64_t)(-1); ++i) { in hashtable_get_values()
90 if (i == ht_size) { in hashtable_get_values()
/dports/net/openmpi3/openmpi-3.1.6/opal/class/
H A Dopal_hash_table.c134 ht->ht_capacity = ht->ht_size = ht->ht_growth_trigger = 0; in opal_hash_table_construct()
200 ht->ht_size = 0; in opal_hash_table_remove_all()
313 ht->ht_size -= 1; in opal_hash_table_remove_elt_at()
398 ht->ht_size += 1; in opal_hash_table_set_value_uint32()
399 if (ht->ht_size >= ht->ht_growth_trigger) { in opal_hash_table_set_value_uint32()
532 ht->ht_size += 1; in opal_hash_table_set_value_uint64()
533 if (ht->ht_size >= ht->ht_growth_trigger) { in opal_hash_table_set_value_uint64()
700 ht->ht_size += 1; in opal_hash_table_set_value_ptr()
701 if (ht->ht_size >= ht->ht_growth_trigger) { in opal_hash_table_set_value_ptr()
945 if (0 == vpids->ht_size) { in opal_proc_table_remove_value()
/dports/net/openmpi/openmpi-4.1.1/opal/class/
H A Dopal_hash_table.c134 ht->ht_capacity = ht->ht_size = ht->ht_growth_trigger = 0; in opal_hash_table_construct()
200 ht->ht_size = 0; in opal_hash_table_remove_all()
313 ht->ht_size -= 1; in opal_hash_table_remove_elt_at()
398 ht->ht_size += 1; in opal_hash_table_set_value_uint32()
399 if (ht->ht_size >= ht->ht_growth_trigger) { in opal_hash_table_set_value_uint32()
532 ht->ht_size += 1; in opal_hash_table_set_value_uint64()
533 if (ht->ht_size >= ht->ht_growth_trigger) { in opal_hash_table_set_value_uint64()
700 ht->ht_size += 1; in opal_hash_table_set_value_ptr()
701 if (ht->ht_size >= ht->ht_growth_trigger) { in opal_hash_table_set_value_ptr()
945 if (0 == vpids->ht_size) { in opal_proc_table_remove_value()
/dports/news/trn/trn-3.6/
H A Dhash.c45 tbl->ht_size = size;
66 tblsize = tbl->ht_size;
177 tblsize = tbl->ht_size;
202 size = tbl->ht_size;
/dports/sysutils/cluster-glue/Reusable-Cluster-Components-glue--0a7add1d9996/lib/plugins/lrm/
H A Draexechb.c265 int ht_size = 0; in prepare_cmd_parameters() local
271 ht_size = g_hash_table_size(params_ht); in prepare_cmd_parameters()
273 if ( ht_size+3 > MAX_PARAMETER_NUM ) { in prepare_cmd_parameters()
284 for (index = 1; index <= ht_size; index++ ) { in prepare_cmd_parameters()
/dports/net-im/tdlib/td-a53cb30e99f937cfd64e0266fa558785a184a553/memprof/
H A Dmemprof.cpp147 static std::atomic<std::size_t> ht_size{0}; variable
151 return ht_size.load(); in get_ht_size()
161 if (ht_size > HT_MAX_SIZE / 2) { in get_ht_pos()
163 my_assert(ht_size * 10 < HT_MAX_SIZE * 7); in get_ht_pos()
174 ++ht_size; in get_ht_pos()

123456