/dports/ports-mgmt/pkg/pkg-1.17.5/external/libmachista/ |
H A D | hashmap.c | 52 uint32_t hash; member 56 HashMapEntry **table; member 64 static void setTable(HashMap *map, HashMapEntry **table, size_t capacity) { in setTable() argument 86 static size_t indexFor(uint32_t hash, size_t length) { in indexFor() 116 HashMapEntry **table; in hashMapCreate() local 142 uint32_t hash = doHash(key); in hashMapPut() local 207 uint32_t hash = doHash(key); in hashMapGet() local 220 uint32_t hash = doHash(key); in hashMapContainsKey() local 232 uint32_t hash = doHash(key); in hashMapRemove() local 272 void hashMapClear(HashMap *map) { in hashMapClear() [all …]
|
/dports/graphics/krita/krita-4.4.8/libs/image/3rdparty/lock_free_map/ |
H A D | concurrent_map.h | 39 typename Details::Table* table = m_root.loadNonatomic(); in ~ConcurrentMap() local 81 … Mutator(ConcurrentMap& map, Key key, bool) : m_map(map), m_value(Value(ValueTraits::NullValue)) in Mutator() 83 Hash hash = KeyTraits::hash(key); in Mutator() local 104 Mutator(ConcurrentMap& map, Key key) : m_map(map), m_value(Value(ValueTraits::NullValue)) in Mutator() 106 Hash hash = KeyTraits::hash(key); in Mutator() local 171 Hash hash = m_cell->hash.load(Relaxed); in exchangeValue() local 227 Hash hash = m_cell->hash.load(Relaxed); // Re-fetch hash in eraseValue() local 261 Hash hash = KeyTraits::hash(key); in get() local 263 typename Details::Table* table = m_root.load(Consume); in get() local 310 Iterator(ConcurrentMap& map) in Iterator() [all …]
|
/dports/x11/jgmenu/jgmenu-4.4.0/src/ |
H A D | hashmap.h | 31 unsigned int hash; in sha1hash() local 41 unsigned int hash; member 48 struct hashmap_entry **table; member 54 struct hashmap *map; member 67 static inline void hashmap_entry_init(void *entry, unsigned int hash) in hashmap_entry_init() 81 static inline void *hashmap_get_from_hash(const struct hashmap *map, in hashmap_get_from_hash() 82 unsigned int hash, in hashmap_get_from_hash() 95 static inline void *hashmap_iter_first(struct hashmap *map, in hashmap_iter_first()
|
/dports/devel/R-cran-Rcpp/Rcpp/inst/include/Rcpp/sugar/functions/ |
H A D | table.h | 67 Table( const TABLE_T& table ): hash() { in Table() 83 HASH hash ; variable 93 Table( const TABLE_T& table ): hash(), map() { in Table() 114 HASH hash ; variable 117 SORTED_MAP map ; variable 126 inline IntegerVector table( const VectorBase<RTYPE,NA,T>& x ){ in table() function
|
/dports/devel/cgit/cgit-1.2.3/git/ |
H A D | hashmap.h | 137 unsigned int hash; in oidhash() local 156 unsigned int hash; member 188 struct hashmap_entry **table; member 241 #define hashmap_free(map) hashmap_free_(map, -1) argument 247 #define hashmap_free_entries(map, type, member) \ argument 264 unsigned int hash) in hashmap_entry_init() 322 const struct hashmap *map, in hashmap_get_from_hash() 323 unsigned int hash, in hashmap_get_from_hash() 370 #define hashmap_put_entry(map, keyvar, member) \ argument 412 struct hashmap *map; member [all …]
|
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libnghttp2-sys-0.1.7+1.45.0/nghttp2/lib/ |
H A D | nghttp2_map.c | 36 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 51 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 97 static uint32_t hash(nghttp2_map_key_type key) { in hash() function 101 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 125 static void map_bucket_set_data(nghttp2_map_bucket *bkt, uint32_t hash, in map_bucket_set_data() 132 void nghttp2_map_print_distance(nghttp2_map *map) { in nghttp2_map_print_distance() 152 static int insert(nghttp2_map_bucket *table, uint32_t tablelen, in insert() 153 uint32_t tablelenbits, uint32_t hash, in insert() 186 static int map_resize(nghttp2_map *map, uint32_t new_tablelen, in map_resize() 307 void nghttp2_map_clear(nghttp2_map *map) { in nghttp2_map_clear() [all …]
|
/dports/net/libngtcp2/ngtcp2-224bd62/lib/ |
H A D | ngtcp2_map.c | 36 int ngtcp2_map_init(ngtcp2_map *map, const ngtcp2_mem *mem) { in ngtcp2_map_init() 50 void ngtcp2_map_free(ngtcp2_map *map) { in ngtcp2_map_free() 96 static uint32_t hash(ngtcp2_map_key_type key) { in hash() function 100 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 124 static void map_bucket_set_data(ngtcp2_map_bucket *bkt, uint32_t hash, in map_bucket_set_data() 131 void ngtcp2_map_print_distance(ngtcp2_map *map) { in ngtcp2_map_print_distance() 151 static int insert(ngtcp2_map_bucket *table, uint32_t tablelen, in insert() 152 uint32_t tablelenbits, uint32_t hash, ngtcp2_map_key_type key, in insert() 185 static int map_resize(ngtcp2_map *map, uint32_t new_tablelen, in map_resize() 307 void ngtcp2_map_clear(ngtcp2_map *map) { in ngtcp2_map_clear() [all …]
|
/dports/www/libnghttp3/nghttp3-b9e565c/lib/ |
H A D | nghttp3_map.c | 37 int nghttp3_map_init(nghttp3_map *map, const nghttp3_mem *mem) { in nghttp3_map_init() 52 void nghttp3_map_free(nghttp3_map *map) { in nghttp3_map_free() 98 static uint32_t hash(nghttp3_map_key_type key) { in hash() function 102 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 126 static void map_bucket_set_data(nghttp3_map_bucket *bkt, uint32_t hash, in map_bucket_set_data() 133 void nghttp3_map_print_distance(nghttp3_map *map) { in nghttp3_map_print_distance() 153 static int insert(nghttp3_map_bucket *table, uint32_t tablelen, in insert() 154 uint32_t tablelenbits, uint32_t hash, in insert() 187 static int map_resize(nghttp3_map *map, uint32_t new_tablelen, in map_resize() 309 void nghttp3_map_clear(nghttp3_map *map) { in nghttp3_map_clear() [all …]
|
/dports/www/libnghttp2/nghttp2-1.46.0/lib/ |
H A D | nghttp2_map.c | 36 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 51 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 97 static uint32_t hash(nghttp2_map_key_type key) { in hash() function 101 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 125 static void map_bucket_set_data(nghttp2_map_bucket *bkt, uint32_t hash, in map_bucket_set_data() 132 void nghttp2_map_print_distance(nghttp2_map *map) { in nghttp2_map_print_distance() 152 static int insert(nghttp2_map_bucket *table, uint32_t tablelen, in insert() 153 uint32_t tablelenbits, uint32_t hash, in insert() 186 static int map_resize(nghttp2_map *map, uint32_t new_tablelen, in map_resize() 308 void nghttp2_map_clear(nghttp2_map *map) { in nghttp2_map_clear() [all …]
|
/dports/www/nghttp2/nghttp2-1.46.0/lib/ |
H A D | nghttp2_map.c | 36 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 51 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 97 static uint32_t hash(nghttp2_map_key_type key) { in hash() function 101 static size_t h2idx(uint32_t hash, uint32_t bits) { in h2idx() 125 static void map_bucket_set_data(nghttp2_map_bucket *bkt, uint32_t hash, in map_bucket_set_data() 132 void nghttp2_map_print_distance(nghttp2_map *map) { in nghttp2_map_print_distance() 152 static int insert(nghttp2_map_bucket *table, uint32_t tablelen, in insert() 153 uint32_t tablelenbits, uint32_t hash, in insert() 186 static int map_resize(nghttp2_map *map, uint32_t new_tablelen, in map_resize() 308 void nghttp2_map_clear(nghttp2_map *map) { in nghttp2_map_clear() [all …]
|
/dports/devel/git-svn/git-2.34.1/ |
H A D | hashmap.h | 137 unsigned int hash; in oidhash() local 156 unsigned int hash; member 188 struct hashmap_entry **table; member 270 #define hashmap_clear(map) hashmap_clear_(map, -1) argument 288 #define hashmap_clear_and_free(map, type, member) \ argument 315 unsigned int hash) in hashmap_entry_init() 373 const struct hashmap *map, in hashmap_get_from_hash() 374 unsigned int hash, in hashmap_get_from_hash() 421 #define hashmap_put_entry(map, keyvar, member) \ argument 463 struct hashmap *map; member [all …]
|
/dports/devel/git-gui/git-2.34.1/ |
H A D | hashmap.h | 137 unsigned int hash; in oidhash() local 156 unsigned int hash; member 188 struct hashmap_entry **table; member 270 #define hashmap_clear(map) hashmap_clear_(map, -1) argument 288 #define hashmap_clear_and_free(map, type, member) \ argument 315 unsigned int hash) in hashmap_entry_init() 373 const struct hashmap *map, in hashmap_get_from_hash() 374 unsigned int hash, in hashmap_get_from_hash() 421 #define hashmap_put_entry(map, keyvar, member) \ argument 463 struct hashmap *map; member [all …]
|
/dports/devel/git-p4/git-2.34.1/ |
H A D | help.c | 137 struct cmdname *ent; 157 struct cmdname *a = *(struct cmdname **)a_; 188 cmds->names[cj++] = cmds->names[ci++]; 288 free(paths); 298 unsigned int *colopts = data; 315 pretty_print_cmdnames(main_cmds, colopts); 373 cat_id = 1UL << i; in hashmap_get_from_hash() 421 print_cmd_by_category(catdesc, NULL); 446 if (others.nr) 488 #define AUTOCORRECT_PROMPT (-3) [all …]
|
/dports/devel/git/git-2.34.1/ |
H A D | hashmap.h | 137 unsigned int hash; in oidhash() local 156 unsigned int hash; member 188 struct hashmap_entry **table; member 270 #define hashmap_clear(map) hashmap_clear_(map, -1) argument 288 #define hashmap_clear_and_free(map, type, member) \ argument 315 unsigned int hash) in hashmap_entry_init() 373 const struct hashmap *map, in hashmap_get_from_hash() 374 unsigned int hash, in hashmap_get_from_hash() 421 #define hashmap_put_entry(map, keyvar, member) \ argument 463 struct hashmap *map; member [all …]
|
/dports/devel/git-cvs/git-2.34.1/ |
H A D | hashmap.h | 137 unsigned int hash; in oidhash() local 156 unsigned int hash; member 188 struct hashmap_entry **table; member 270 #define hashmap_clear(map) hashmap_clear_(map, -1) argument 288 #define hashmap_clear_and_free(map, type, member) \ argument 315 unsigned int hash) in hashmap_entry_init() 373 const struct hashmap *map, in hashmap_get_from_hash() 374 unsigned int hash, in hashmap_get_from_hash() 421 #define hashmap_put_entry(map, keyvar, member) \ argument 463 struct hashmap *map; member [all …]
|
/dports/net/shadowsocks-libev/shadowsocks-libev-3.3.5/libcork/src/libcork/ds/ |
H A D | hash-table.c | 54 cork_hash_f hash; member 97 #define bin_index(table, hash) ((hash) & (table)->bin_mask) argument 119 cork_hash hash, void *key, void *value) in cork_hash_table_new_entry() 215 cork_hash_table_set_hash(struct cork_hash_table *table, cork_hash_f hash) in cork_hash_table_set_hash() 324 cork_hash hash = table->hash(table->user_data, key); in cork_hash_table_get_entry() local 330 cork_hash hash, const void *key) in cork_hash_table_get_hash() 422 cork_hash hash = table->hash(table->user_data, key); in cork_hash_table_get_or_create() local 513 cork_hash hash = table->hash(table->user_data, key); in cork_hash_table_put() local 533 cork_hash hash, const void *key, in cork_hash_table_delete_hash() 588 cork_hash hash = table->hash(table->user_data, key); in cork_hash_table_delete() local [all …]
|
/dports/lang/micropython/micropython-1.17/py/ |
H A D | map.c | 68 void mp_map_init(mp_map_t *map, size_t n) { in mp_map_init() 82 void mp_map_init_fixed_table(mp_map_t *map, size_t n, const mp_obj_t *table) { in mp_map_init_fixed_table() 92 void mp_map_deinit(mp_map_t *map) { in mp_map_deinit() 99 void mp_map_clear(mp_map_t *map) { in mp_map_clear() 110 STATIC void mp_map_rehash(mp_map_t *map) { in mp_map_rehash() 135 mp_map_elem_t *mp_map_lookup(mp_map_t *map, mp_obj_t index, mp_map_lookup_kind_t lookup_kind) { in mp_map_lookup() 210 mp_uint_t hash; in mp_map_lookup() local 324 mp_uint_t hash = MP_OBJ_SMALL_INT_VALUE(mp_unary_op(MP_UNARY_OP_HASH, index)); in mp_set_lookup() local 414 void mp_map_dump(mp_map_t *map) { in mp_map_dump()
|
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/expected/d/ |
H A D | 40000-HashMap.d | 346 final uint hash; variable 442 volatile table = newTable; in setTable() local 643 volatile table = newTable; in rehash() local 836 uint hash = hash(key); in put() local 863 uint hash = hash(key); in putIfAbsent() local 881 uint hash = hash(key); in remove() local 904 uint hash = hash(key); in remove() local 1019 HashMap map; variable 1021 this(HashMap map) in this() 1076 this(HashMap map) { in this() [all …]
|
/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/input/d/ |
H A D | HashMap.d | 334 final uint hash; variable 430 volatile table = newTable; in setTable() local 625 volatile table = newTable; in rehash() local 814 uint hash = hash(key); in put() local 840 uint hash = hash(key); in putIfAbsent() local 857 uint hash = hash(key); in remove() local 879 uint hash = hash(key); in remove() local 992 HashMap map; variable 994 this (HashMap map) in this() 1049 this (HashMap map) {super (map);} in this() [all …]
|
/dports/lang/v8/v8-9.6.180.12/test/cctest/ |
H A D | test-weaksets.cc | 51 Handle<Map> map = factory->NewMap(JS_WEAK_SET_TYPE, JSWeakSet::kHeaderSize); in AllocateJSWeakSet() local 57 Handle<EphemeronHashTable> table = EphemeronHashTable::New(isolate, 1); in AllocateJSWeakSet() local 87 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST() local 97 int32_t hash = key->GetOrCreateHash(isolate).value(); in TEST() local 137 Handle<Map> map = factory->NewMap(JS_OBJECT_TYPE, JSObject::kHeaderSize); in TEST() local 141 int32_t hash = object->GetOrCreateHash(isolate).value(); in TEST() local 193 int32_t hash = key->GetOrCreateHash(isolate).value(); in TEST() local 238 int32_t hash = keys[i]->GetOrCreateHash(isolate).value(); in TEST() local
|
/dports/devel/cmake-gui/cmake-3.22.1/Utilities/cmnghttp2/lib/ |
H A D | nghttp2_map.c | 31 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 45 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 49 void nghttp2_map_each_free(nghttp2_map *map, in nghttp2_map_each_free() 64 int nghttp2_map_each(nghttp2_map *map, in nghttp2_map_each() 88 static uint32_t hash(int32_t key, uint32_t mod) { in hash() function 95 static int insert(nghttp2_map_entry **table, uint32_t tablelen, in insert() 115 static int resize(nghttp2_map *map, uint32_t new_tablelen) { in resize() 142 int nghttp2_map_insert(nghttp2_map *map, nghttp2_map_entry *new_entry) { in nghttp2_map_insert() 159 nghttp2_map_entry *nghttp2_map_find(nghttp2_map *map, key_type key) { in nghttp2_map_find() 171 int nghttp2_map_remove(nghttp2_map *map, key_type key) { in nghttp2_map_remove() [all …]
|
/dports/devel/cmake-doc/cmake-3.22.1/Utilities/cmnghttp2/lib/ |
H A D | nghttp2_map.c | 31 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 45 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 49 void nghttp2_map_each_free(nghttp2_map *map, in nghttp2_map_each_free() 64 int nghttp2_map_each(nghttp2_map *map, in nghttp2_map_each() 88 static uint32_t hash(int32_t key, uint32_t mod) { in hash() function 95 static int insert(nghttp2_map_entry **table, uint32_t tablelen, in insert() 115 static int resize(nghttp2_map *map, uint32_t new_tablelen) { in resize() 142 int nghttp2_map_insert(nghttp2_map *map, nghttp2_map_entry *new_entry) { in nghttp2_map_insert() 159 nghttp2_map_entry *nghttp2_map_find(nghttp2_map *map, key_type key) { in nghttp2_map_find() 171 int nghttp2_map_remove(nghttp2_map *map, key_type key) { in nghttp2_map_remove() [all …]
|
/dports/net/proby/proby-1.0.2/cargo-crates/libnghttp2-sys-0.1.4+1.41.0/nghttp2/lib/ |
H A D | nghttp2_map.c | 31 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 45 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 49 void nghttp2_map_each_free(nghttp2_map *map, in nghttp2_map_each_free() 64 int nghttp2_map_each(nghttp2_map *map, in nghttp2_map_each() 88 static uint32_t hash(int32_t key, uint32_t mod) { in hash() function 95 static int insert(nghttp2_map_entry **table, uint32_t tablelen, in insert() 115 static int resize(nghttp2_map *map, uint32_t new_tablelen) { in resize() 142 int nghttp2_map_insert(nghttp2_map *map, nghttp2_map_entry *new_entry) { in nghttp2_map_insert() 159 nghttp2_map_entry *nghttp2_map_find(nghttp2_map *map, key_type key) { in nghttp2_map_find() 171 int nghttp2_map_remove(nghttp2_map *map, key_type key) { in nghttp2_map_remove() [all …]
|
/dports/devel/cmake/cmake-3.22.1/Utilities/cmnghttp2/lib/ |
H A D | nghttp2_map.c | 31 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 45 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 49 void nghttp2_map_each_free(nghttp2_map *map, in nghttp2_map_each_free() 64 int nghttp2_map_each(nghttp2_map *map, in nghttp2_map_each() 88 static uint32_t hash(int32_t key, uint32_t mod) { in hash() function 95 static int insert(nghttp2_map_entry **table, uint32_t tablelen, in insert() 115 static int resize(nghttp2_map *map, uint32_t new_tablelen) { in resize() 142 int nghttp2_map_insert(nghttp2_map *map, nghttp2_map_entry *new_entry) { in nghttp2_map_insert() 159 nghttp2_map_entry *nghttp2_map_find(nghttp2_map *map, key_type key) { in nghttp2_map_find() 171 int nghttp2_map_remove(nghttp2_map *map, key_type key) { in nghttp2_map_remove() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/vendor/libnghttp2-sys/nghttp2/lib/ |
H A D | nghttp2_map.c | 31 int nghttp2_map_init(nghttp2_map *map, nghttp2_mem *mem) { in nghttp2_map_init() 45 void nghttp2_map_free(nghttp2_map *map) { in nghttp2_map_free() 49 void nghttp2_map_each_free(nghttp2_map *map, in nghttp2_map_each_free() 64 int nghttp2_map_each(nghttp2_map *map, in nghttp2_map_each() 88 static uint32_t hash(int32_t key, uint32_t mod) { in hash() function 95 static int insert(nghttp2_map_entry **table, uint32_t tablelen, in insert() 115 static int resize(nghttp2_map *map, uint32_t new_tablelen) { in resize() 142 int nghttp2_map_insert(nghttp2_map *map, nghttp2_map_entry *new_entry) { in nghttp2_map_insert() 159 nghttp2_map_entry *nghttp2_map_find(nghttp2_map *map, key_type key) { in nghttp2_map_find() 171 int nghttp2_map_remove(nghttp2_map *map, key_type key) { in nghttp2_map_remove() [all …]
|