implements IDisposable
0x00x0028
Members 5
| Offset | Size | Name | Type | Flags |
|---|---|---|---|---|
| — | m_Data | Void* | Private | |
| 0x0000 | 0x08 | padding / unreflected | ||
| 0x08 | m_ActiveFreeMaskCounts | ValueTuple<System.Int32 | Private | |
| 0x08 | m_FreeMasksStorage | ValueTuple<System.Int32 | Private | |
| 0x08 | m_FreeMaskIndicesStorage | ValueTuple<System.Int32 | Private | |
| 0x04 | m_Allocator | Allocator | Private | |
| 0x0024 | 0x04 | unreflected bytes to end of BuddyAllocator | ||
Functions 21
| Signature | Flags | Native | Params |
|---|---|---|---|
| ref Header get_header() | Private+1 flags | 0x10 | |
| NativeArray<System.Int32> get_freeMaskCounts() | Private+1 flags | 0x10 | |
| NativeArray<System.UInt64> get_freeMasksStorage() | Private+1 flags | 0x10 | |
| NativeArray<System.UInt64> FreeMasks(int level) | Private | 0x10 | |
| NativeArray<System.Int32> get_freeMaskIndicesStorage() | Private+1 flags | 0x10 | |
| NativeArray<System.Int32> FreeMaskIndices(int level) | Private | 0x10 | |
| int get_levelCount() | Public+1 flags | 0x04 | |
| void .ctor(int levelCount, int branchingOrder, const Allocator& allocator) | Public+1 flags | 0x04 | |
| bool TryAllocate(int requestedLevel, ref BuddyAllocation& allocation) | Public | 0x08 | |
| void Free(const BuddyAllocation& allocation) | Public | 0x08 | |
| void Dispose() | PublicFinal+2 flags | 0x00 | |
| NativeArray<T> GetNativeArray(int offset, int length) | Private | 0x10 | |
| int LevelOffset(int level, int branchingOrder) | PrivateStatic | 0x04 | |
| int LevelLength(int level, int branchingOrder) | PrivateStatic | 0x04 | |
| int LevelOffset64(int level, int branchingOrder) | PrivateStatic | 0x04 | |
| int LevelLength64(int level, int branchingOrder) | PrivateStatic | 0x04 | |
| ValueTuple<System.Int32 AllocateRange(int length, ref int& dataSize) | PrivateStatic | 0x08 | |
| int AlignForward(int offset, int alignment) | PrivateStatic | 0x04 | |
| Void* PtrAdd(const Void*& ptr, int bytes) | PrivateStatic | 0x04 | |
| int Pow2(int n) | PrivateStatic | 0x04 | |
| int Pow2N(int x, int n) | PrivateStatic | 0x04 |