/dports/graphics/cogl/cogl-1.22.8/deps/glib/ |
H A D | ghash.c | 473 memset (hash_table->hashes, 0, hash_table->size * sizeof (guint)); in g_hash_table_remove_all_nodes() 530 if (hash_table->keys == hash_table->values) in g_hash_table_resize() 559 if (hash_table->keys != hash_table->values) in g_hash_table_resize() 569 hash_table->noccupied = hash_table->nnodes; in g_hash_table_resize() 657 hash_table->values = hash_table->keys; in g_hash_table_new_full() 658 hash_table->hashes = g_new0 (guint, hash_table->size); in g_hash_table_new_full() 660 return hash_table; in g_hash_table_new_full() 693 ri->hash_table = hash_table; in g_hash_table_iter_init() 838 hash_table->values = g_memdup (hash_table->keys, sizeof (gpointer) * hash_table->size); in g_hash_table_insert_node() 958 return hash_table; in g_hash_table_ref() [all …]
|
/dports/devel/glib20/glib-2.70.4/glib/ |
H A D | ghash.c | 351 hash_table->mask = hash_table->size - 1; in g_hash_table_set_shift() 590 hash_table->values = hash_table->keys; in g_hash_table_setup_storage() 687 hash_table->size = hash_table->mod = hash_table->mask = 0; in g_hash_table_remove_all_nodes() 721 hash_table->hashes = g_renew (guint, hash_table->hashes, hash_table->size); in realloc_arrays() 722 …hash_table->keys = g_hash_table_realloc_key_or_value_array (hash_table->keys, hash_table->size, ha… in realloc_arrays() 725 hash_table->values = hash_table->keys; in realloc_arrays() 727 …hash_table->values = g_hash_table_realloc_key_or_value_array (hash_table->values, hash_table->size… in realloc_arrays() 895 hash_table->noccupied = hash_table->nnodes; in DEFINE_RESIZE_FUNC() 986 hash_table->values = hash_table->keys; in g_hash_table_ensure_keyval_fits() 1122 ri->hash_table = hash_table; in g_hash_table_iter_init() [all …]
|
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql13-server/postgresql-13.5/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql13-pltcl/postgresql-13.5/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql12-server/postgresql-12.9/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; 254 return hash_table; 292 return hash_table; 307 pfree(hash_table); 351 dsa_free(hash_table->area, hash_table->control->buckets); 352 dsa_free(hash_table->area, hash_table->control->handle); 354 pfree(hash_table); 475 resize(hash_table, hash_table->size_log2 + 1); 759 if (hash_table->size_log2 != hash_table->control->size_log2) 761 hash_table->buckets = dsa_get_address(hash_table->area, [all …]
|
/dports/databases/postgresql13-docs/postgresql-13.5/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql12-contrib/postgresql-12.9/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; 254 return hash_table; 292 return hash_table; 307 pfree(hash_table); 351 dsa_free(hash_table->area, hash_table->control->buckets); 352 dsa_free(hash_table->area, hash_table->control->handle); 354 pfree(hash_table); 475 resize(hash_table, hash_table->size_log2 + 1); 759 if (hash_table->size_log2 != hash_table->control->size_log2) 761 hash_table->buckets = dsa_get_address(hash_table->area, [all …]
|
/dports/databases/postgresql12-plperl/postgresql-12.9/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; 254 return hash_table; 292 return hash_table; 307 pfree(hash_table); 351 dsa_free(hash_table->area, hash_table->control->buckets); 352 dsa_free(hash_table->area, hash_table->control->handle); 354 pfree(hash_table); 475 resize(hash_table, hash_table->size_log2 + 1); 759 if (hash_table->size_log2 != hash_table->control->size_log2) 761 hash_table->buckets = dsa_get_address(hash_table->area, [all …]
|
/dports/databases/postgresql12-pltcl/postgresql-12.9/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql13-contrib/postgresql-13.5/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|
/dports/databases/postgresql12-docs/postgresql-12.9/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; 254 return hash_table; 292 return hash_table; 307 pfree(hash_table); 351 dsa_free(hash_table->area, hash_table->control->buckets); 352 dsa_free(hash_table->area, hash_table->control->handle); 354 pfree(hash_table); 475 resize(hash_table, hash_table->size_log2 + 1); 759 if (hash_table->size_log2 != hash_table->control->size_log2) 761 hash_table->buckets = dsa_get_address(hash_table->area, [all …]
|
/dports/databases/postgresql12-client/postgresql-12.9/src/backend/lib/ |
H A D | dshash.c | 252 hash_table->size_log2 = hash_table->control->size_log2; in dshash_create() 254 return hash_table; in dshash_create() 292 return hash_table; in dshash_attach() 307 pfree(hash_table); in dshash_detach() 351 dsa_free(hash_table->area, hash_table->control->buckets); in dshash_destroy() 352 dsa_free(hash_table->area, hash_table->control->handle); in dshash_destroy() 354 pfree(hash_table); in dshash_destroy() 475 resize(hash_table, hash_table->size_log2 + 1); in dshash_find_or_insert() 759 if (hash_table->size_log2 != hash_table->control->size_log2) in ensure_valid_bucket_pointers() 761 hash_table->buckets = dsa_get_address(hash_table->area, in ensure_valid_bucket_pointers() [all …]
|