History log of /haiku/src/tests/system/kernel/util/KernelUtilsTestAddon.cpp
Revision Date Author Comments
# 88275138 24-Mar-2022 Augustin Cavalier <waddlesplash@gmail.com>

kernel/util: Implement more features in the Bitmap class.

* Resize(): adds more space to the end of the bitmap.
* Shift(): moves all bits in the map up or down.
* Use size_t instead of int for indexes.

Also add unit tests for the new functions (they seem to be passing.)

Reference material for shift implementation:
https://github.com/ecsv/linux-like-bitops/blob/2c56d43c1ebc9fc0dddc0149a374d096198372a9/bitops.h#L977

Change-Id: Ia85768aaeed7bd3ffef3a9f575f05331e048fe50
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5146
Reviewed-by: waddlesplash <waddlesplash@gmail.com>


# aa7ac127 26-Jan-2020 Kyle Ambroff-Kao <kyle@ambroffkao.com>

tests/kernel: Add tests for BOpenHashTable

Linking libkernelutilstest.so with libbe to for use of BObjectList in
the tests.

Change-Id: I1abb991e240dd522821a71ef54d22a1ca7957283
Reviewed-on: https://review.haiku-os.org/c/haiku/+/2165
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>


# 77b1fd22 20-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed the tests/kernel/core directory like the main directory tests/system/kernel
and adapted all Jamfiles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15630 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 77b1fd224322628748a663de467af3775a474690 20-Dec-2005 Axel Dörfler <axeld@pinc-software.de>

Renamed the tests/kernel/core directory like the main directory tests/system/kernel
and adapted all Jamfiles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15630 a95241bf-73f2-0310-859d-f6bbb57e9c96