WIP Block allocator implementation
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-09-20 16:22:23 -07:00
parent 513db7130b
commit 07bb4a4628
2 changed files with 70 additions and 59 deletions

View File

@@ -78,6 +78,12 @@ private:
// Remove a free block from the index
void removeFreeBlock(TLSFBlock* block);
// Find a free block that can hold at least size bytes
TLSFBlock* findFreeBlock(size_t size) const;
// Get the usable size of a block
size_t getBlockUsableSize(const TLSFBlock* block) const;
};
} // namespace mimir