mesa/src/util/tests
Mike Blumenkrantz 31e546a762 util/hash_table: add macro for destructively iterating entries
a common usage for hash tables is for tracking exactly one instance of a pointer
for a given period of time, after which the table's entries are purged and it
is reused

this macro enables the purge phase of such usage to reset the table to a
pristine state, avoiding future rehashing due to ballooning of deleted entries

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8498>
2021-04-07 22:57:27 +00:00
..
cache util/disk_cache: move cache tests to the util directory 2021-03-02 02:39:05 +00:00
drirc_configdir xmlconfig: Add unit tests for recent bugs in the driconf rewrite. 2020-12-04 21:32:17 +00:00
drirc_home xmlconfig: Add unit tests for recent bugs in the driconf rewrite. 2020-12-04 21:32:17 +00:00
fast_idiv_by_const meson: inline inc_common 2020-03-28 21:36:54 +01:00
fast_urem_by_const meson: inline inc_common 2020-03-28 21:36:54 +01:00
format util: Add accessor for util_cpu_caps 2021-02-26 18:31:19 +00:00
hash_table util/hash_table: add macro for destructively iterating entries 2021-04-07 22:57:27 +00:00
set util/set: add macro for destructively iterating set entries 2021-04-07 22:57:27 +00:00
sparse_array meson: inline inc_common 2020-03-28 21:36:54 +01:00
string_buffer meson: inline inc_common 2020-03-28 21:36:54 +01:00
timespec meson: inline inc_common 2020-03-28 21:36:54 +01:00
vector meson: inline inc_common 2020-03-28 21:36:54 +01:00
vma util/vma: Fix leak of the heap in the unit test. 2020-12-15 19:39:29 +00:00
xmlconfig.cpp driconf: Fix memory leak in the unit test. 2020-12-15 19:39:29 +00:00