88275138ba
* 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:
|
||
---|---|---|
.. | ||
atomic.h | ||
AutoLock.h | ||
AVLTree.h | ||
AVLTreeBase.h | ||
AVLTreeMap.h | ||
Bitmap.h | ||
BitUtils.h | ||
Constructor.h | ||
DoublyLinkedList.h | ||
DoublyLinkedQueue.h | ||
FixedWidthPointer.h | ||
fs_trim_support.h | ||
Heap.h | ||
kernel_c.h | ||
kernel_cpp.h | ||
KernelReferenceable.h | ||
KernelUtilsOrder.h | ||
KMessage.h | ||
kqueue.h | ||
list.h | ||
MallocFreeAllocator.h | ||
MinMaxHeap.h | ||
MultiHashTable.h | ||
OpenHashTable.h | ||
queue.h | ||
RadixBitmap.h | ||
Random.h | ||
ring_buffer.h | ||
SinglyLinkedList.h | ||
SplayTree.h | ||
Stack.h | ||
StringHash.h | ||
syscall_args.h | ||
ThreadAutoLock.h | ||
TypeOperation.h | ||
Vector.h | ||
VectorMap.h | ||
VectorSet.h |