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
drirc_home
fast_idiv_by_const
fast_urem_by_const
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
string_buffer
timespec
vector
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