Home
last modified time | relevance | path

Searched hist:"88275138 bae13f25a33a610ba51d116f4a593b81" (Results 1 – 6 of 6) sorted by relevance

/haiku/src/tests/system/kernel/util/
H A DBitmapTest.h88275138bae13f25a33a610ba51d116f4a593b81 Fri Mar 25 01:27:36 UTC 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>
H A DBitmapTest.cpp88275138bae13f25a33a610ba51d116f4a593b81 Fri Mar 25 01:27:36 UTC 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>
H A DKernelUtilsTestAddon.cpp88275138bae13f25a33a610ba51d116f4a593b81 Fri Mar 25 01:27:36 UTC 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>
H A DJamfile88275138bae13f25a33a610ba51d116f4a593b81 Fri Mar 25 01:27:36 UTC 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>
/haiku/headers/private/kernel/util/
H A DBitmap.h88275138bae13f25a33a610ba51d116f4a593b81 Fri Mar 25 01:27:36 UTC 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>
/haiku/src/system/kernel/util/
H A DBitmap.cpp88275138bae13f25a33a610ba51d116f4a593b81 Fri Mar 25 01:27:36 UTC 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>