/dports/dns/getdns/getdns-1.5.2/src/util/ |
H A D | lruhash.c | 100 struct lruhash_entry* p, *np; in bin_delete() local 121 struct lruhash_entry *p, *np; in bin_split() local 169 struct lruhash_entry* p = bin->overflow_list; in bin_overflow_remove() local 219 struct lruhash_bin* bin, hashvalue_type hash, void* key) in bin_find_entry() 221 struct lruhash_entry* p = bin->overflow_list; in bin_find_entry() local 231 table_grow(struct lruhash* table) in table_grow() 300 lruhash_insert(struct lruhash* table, hashvalue_type hash, in lruhash_insert() 356 lruhash_lookup(struct lruhash* table, hashvalue_type hash, void* key, int wr) in lruhash_lookup() 378 lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key) in lruhash_remove() 418 struct lruhash_entry* p, *np; in bin_clear() local [all …]
|
/dports/dns/unbound/unbound-1.14.0/util/storage/ |
H A D | lruhash.c | 100 struct lruhash_entry* p, *np; in bin_delete() local 121 struct lruhash_entry *p, *np; in bin_split() local 169 struct lruhash_entry* p = bin->overflow_list; in bin_overflow_remove() local 219 struct lruhash_bin* bin, hashvalue_type hash, void* key) in bin_find_entry() 221 struct lruhash_entry* p = bin->overflow_list; in bin_find_entry() local 231 table_grow(struct lruhash* table) in table_grow() 300 lruhash_insert(struct lruhash* table, hashvalue_type hash, in lruhash_insert() 356 lruhash_lookup(struct lruhash* table, hashvalue_type hash, void* key, int wr) in lruhash_lookup() 378 lruhash_remove(struct lruhash* table, hashvalue_type hash, void* key) in lruhash_remove() 418 struct lruhash_entry* p, *np; in bin_clear() local [all …]
|
/dports/textproc/redisearch16/RediSearch-1.6.16/src/util/ |
H A D | khtable.c | 12 void KHTable_Init(KHTable *table, const KHTableProcs *procs, void *ctx, size_t estSize) { in KHTable_Init() 14 uint32_t *p; in KHTable_Init() local 32 void KHTable_Free(KHTable *table) { in KHTable_Free() 36 void KHTable_Clear(KHTable *table) { in KHTable_Clear() 41 static int KHTable_Rehash(KHTable *table) { in KHTable_Rehash() 44 for (uint32_t *p = primes; *p; p++) { in KHTable_Rehash() local 62 uint32_t hash = table->procs.Hash(cur); in KHTable_Rehash() local 82 static KHTableEntry *KHTable_InsertNewEntry(KHTable *table, uint32_t hash, in KHTable_InsertNewEntry() 101 KHTableEntry *KHTable_GetEntry(KHTable *table, const void *s, size_t n, uint32_t hash, int *isNew) { in KHTable_GetEntry() 165 void KHTable_FreeEx(KHTable *table, void *arg, in KHTable_FreeEx() [all …]
|
/dports/textproc/redisearch/RediSearch-2.2.5/src/util/ |
H A D | khtable.c | 12 void KHTable_Init(KHTable *table, const KHTableProcs *procs, void *ctx, size_t estSize) { in KHTable_Init() 14 uint32_t *p; in KHTable_Init() local 32 void KHTable_Free(KHTable *table) { in KHTable_Free() 36 void KHTable_Clear(KHTable *table) { in KHTable_Clear() 41 static int KHTable_Rehash(KHTable *table) { in KHTable_Rehash() 44 for (uint32_t *p = primes; *p; p++) { in KHTable_Rehash() local 62 uint32_t hash = table->procs.Hash(cur); in KHTable_Rehash() local 82 static KHTableEntry *KHTable_InsertNewEntry(KHTable *table, uint32_t hash, in KHTable_InsertNewEntry() 101 KHTableEntry *KHTable_GetEntry(KHTable *table, const void *s, size_t n, uint32_t hash, int *isNew) { in KHTable_GetEntry() 165 void KHTable_FreeEx(KHTable *table, void *arg, in KHTable_FreeEx() [all …]
|
/dports/textproc/redisearch20/RediSearch-2.0.15/src/util/ |
H A D | khtable.c | 12 void KHTable_Init(KHTable *table, const KHTableProcs *procs, void *ctx, size_t estSize) { in KHTable_Init() 14 uint32_t *p; in KHTable_Init() local 32 void KHTable_Free(KHTable *table) { in KHTable_Free() 36 void KHTable_Clear(KHTable *table) { in KHTable_Clear() 41 static int KHTable_Rehash(KHTable *table) { in KHTable_Rehash() 44 for (uint32_t *p = primes; *p; p++) { in KHTable_Rehash() local 62 uint32_t hash = table->procs.Hash(cur); in KHTable_Rehash() local 82 static KHTableEntry *KHTable_InsertNewEntry(KHTable *table, uint32_t hash, in KHTable_InsertNewEntry() 101 KHTableEntry *KHTable_GetEntry(KHTable *table, const void *s, size_t n, uint32_t hash, int *isNew) { in KHTable_GetEntry() 165 void KHTable_FreeEx(KHTable *table, void *arg, in KHTable_FreeEx() [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/binutils/gas/ |
H A D | hash.c | 49 unsigned long hash; member 132 register unsigned long hash; in hash_lookup() local 138 struct hash_entry *p; in hash_lookup() local 206 struct hash_entry *p; in hash_insert() local 208 unsigned long hash; in hash_insert() local 236 struct hash_entry *p; in hash_jam() local 238 unsigned long hash; in hash_jam() local 274 struct hash_entry *p; in hash_replace() local 298 struct hash_entry *p; in hash_find() local 313 struct hash_entry *p; in hash_delete() local [all …]
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/binutils-2.16.1/gas/ |
H A D | hash.c | 49 unsigned long hash; member 132 register unsigned long hash; in hash_lookup() local 138 struct hash_entry *p; in hash_lookup() local 206 struct hash_entry *p; in hash_insert() local 208 unsigned long hash; in hash_insert() local 236 struct hash_entry *p; in hash_jam() local 238 unsigned long hash; in hash_jam() local 274 struct hash_entry *p; in hash_replace() local 298 struct hash_entry *p; in hash_find() local 313 struct hash_entry *p; in hash_delete() local [all …]
|
/dports/lang/gnatdroid-binutils-x86/binutils-2.27/gas/ |
H A D | hash.c | 43 unsigned long hash; member 137 unsigned long hash; in hash_lookup() local 142 struct hash_entry *p; in hash_lookup() local 208 struct hash_entry *p; in hash_insert() local 210 unsigned long hash; in hash_insert() local 238 struct hash_entry *p; in hash_jam() local 240 unsigned long hash; in hash_jam() local 276 struct hash_entry *p; in hash_replace() local 300 struct hash_entry *p; in hash_find() local 315 struct hash_entry *p; in hash_find_n() local [all …]
|
/dports/lang/gnatdroid-binutils/binutils-2.27/gas/ |
H A D | hash.c | 43 unsigned long hash; member 137 unsigned long hash; in hash_lookup() local 142 struct hash_entry *p; in hash_lookup() local 208 struct hash_entry *p; in hash_insert() local 210 unsigned long hash; in hash_insert() local 238 struct hash_entry *p; in hash_jam() local 240 unsigned long hash; in hash_jam() local 276 struct hash_entry *p; in hash_replace() local 300 struct hash_entry *p; in hash_find() local 315 struct hash_entry *p; in hash_find_n() local [all …]
|
/dports/devel/djgpp-binutils/binutils-2.17/gas/ |
H A D | hash.c | 45 unsigned long hash; member 157 unsigned long hash; in hash_lookup() local 162 struct hash_entry *p; in hash_lookup() local 228 struct hash_entry *p; in hash_insert() local 230 unsigned long hash; in hash_insert() local 258 struct hash_entry *p; in hash_jam() local 260 unsigned long hash; in hash_jam() local 296 struct hash_entry *p; in hash_replace() local 320 struct hash_entry *p; in hash_find() local 335 struct hash_entry *p; in hash_find_n() local [all …]
|
/dports/devel/libisofs/libisofs-1.5.4/libisofs/ |
H A D | util_htable.c | 36 struct iso_hnode **table; member 41 hash_funtion_t hash; member 70 int iso_htable_add(IsoHTable *table, void *key, void *data) in iso_htable_add() 74 unsigned int hash; in iso_htable_add() local 100 int iso_htable_put(IsoHTable *table, void *key, void *data) in iso_htable_put() 104 unsigned int hash; in iso_htable_put() local 147 unsigned int hash; in iso_htable_get() local 185 unsigned int hash; in iso_htable_remove() local 239 unsigned int hash; in iso_htable_remove_ptr() local 273 const char *p = key; in iso_str_hash() local [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gcc/gcc/ |
H A D | hashtable.c | 59 hash_table *table; in ht_create() local 78 ht_destroy (hash_table *table) in ht_destroy() 94 ht_lookup (hash_table *table, const unsigned char *str, size_t len, in ht_lookup() 97 unsigned int hash = calc_hash (str, len); in ht_lookup() local 170 ht_expand (hash_table *table) in ht_expand() 172 hashnode *nentries, *p, *limit; in ht_expand() local 184 unsigned int index, hash, hash2; in ht_expand() local 210 ht_forall (hash_table *table, ht_cb cb, const void *v) in ht_forall() 212 hashnode *p, *limit; in ht_forall() local 228 ht_dump_statistics (hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gcc/gcc/ |
H A D | hashtable.c | 59 hash_table *table; in ht_create() local 78 ht_destroy (hash_table *table) in ht_destroy() 94 ht_lookup (hash_table *table, const unsigned char *str, size_t len, in ht_lookup() 97 unsigned int hash = calc_hash (str, len); in ht_lookup() local 170 ht_expand (hash_table *table) in ht_expand() 172 hashnode *nentries, *p, *limit; in ht_expand() local 184 unsigned int index, hash, hash2; in ht_expand() local 210 ht_forall (hash_table *table, ht_cb cb, const void *v) in ht_forall() 212 hashnode *p, *limit; in ht_forall() local 228 ht_dump_statistics (hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/gcc-4.1-20060728/libcpp/ |
H A D | symtab.c | 57 hash_table *table; in ht_create() local 77 ht_destroy (hash_table *table) in ht_destroy() 102 ht_lookup_with_hash (hash_table *table, const unsigned char *str, in ht_lookup_with_hash() 103 size_t len, unsigned int hash, in ht_lookup_with_hash() 179 ht_expand (hash_table *table) in ht_expand() 181 hashnode *nentries, *p, *limit; in ht_expand() local 193 unsigned int index, hash, hash2; in ht_expand() local 221 ht_forall (hash_table *table, ht_cb cb, const void *v) in ht_forall() 223 hashnode *p, *limit; in ht_forall() local 253 ht_dump_statistics (hash_table *table) in ht_dump_statistics() [all …]
|
/dports/lang/gcc6-aux/gcc-6-20180516/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/lang/gcc8/gcc-8.5.0/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/arm-none-eabi-gcc492/gcc-4.9.2/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 79 ht_destroy (cpp_hash_table *table) in ht_destroy() 102 size_t len, unsigned int hash, in ht_lookup_with_hash() 184 ht_expand (cpp_hash_table *table) in ht_expand() 186 hashnode *nentries, *p, *limit; in ht_expand() local 198 unsigned int index, hash, hash2; in ht_expand() local 228 hashnode *p, *limit; in ht_forall() local 244 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 246 hashnode *p, *limit; in ht_purge() local 276 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/libcpp/ |
H A D | symtab.c | 59 cpp_hash_table *table; in ht_create() local 77 ht_destroy (cpp_hash_table *table) in ht_destroy() 100 size_t len, unsigned int hash, in ht_lookup_with_hash() 182 ht_expand (cpp_hash_table *table) in ht_expand() 184 hashnode *nentries, *p, *limit; in ht_expand() local 196 unsigned int index, hash, hash2; in ht_expand() local 226 hashnode *p, *limit; in ht_forall() local 242 ht_purge (cpp_hash_table *table, ht_cb cb, const void *v) in ht_purge() 244 hashnode *p, *limit; in ht_purge() local 274 ht_dump_statistics (cpp_hash_table *table) in ht_dump_statistics() [all …]
|