mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-08 01:05:59 +02:00
Improvements to Queue, to bring it more inline with List
This commit is contained in:
parent
69cb6d0208
commit
96c53d4a9e
5 changed files with 238 additions and 88 deletions
26
IDE/dist/BeefDbgVis.toml
vendored
26
IDE/dist/BeefDbgVis.toml
vendored
|
@ -219,10 +219,36 @@ DisplayString = "{{ count={mSize} }}"
|
|||
[[Type.Expand.Item]]
|
||||
Name = "[Count]"
|
||||
Value = "mSize"
|
||||
[[Type.Expand.Item]]
|
||||
Condition = "__getHighBits(mAllocSizeAndFlags, 1) == 1"
|
||||
Name = "[AllocSize]"
|
||||
Value = "__clearHighBits(mAllocSizeAndFlags, 1)"
|
||||
[[Type.Expand.Item]]
|
||||
Condition = "__getHighBits(mAllocSizeAndFlags, 1) == 0"
|
||||
Name = "[InternalSize]"
|
||||
Value = "__clearHighBits(mAllocSizeAndFlags, 1)"
|
||||
[Type.Expand.ArrayItems]
|
||||
Size = "mSize"
|
||||
ValuePointer = "mItems"
|
||||
|
||||
[[Type]]
|
||||
Name = "System.Collections.Generic.Queue<*>"
|
||||
DisplayString = "{{ count={mSize} }}"
|
||||
[[Type.Expand.Item]]
|
||||
Name = "[Count]"
|
||||
Value = "mSize"
|
||||
[[Type.Expand.Item]]
|
||||
Condition = "__getHighBits(mAllocSizeAndFlags, 1) == 1"
|
||||
Name = "[AllocSize]"
|
||||
Value = "__clearHighBits(mAllocSizeAndFlags, 1)"
|
||||
[[Type.Expand.Item]]
|
||||
Condition = "__getHighBits(mAllocSizeAndFlags, 1) == 0"
|
||||
Name = "[InternalSize]"
|
||||
Value = "__clearHighBits(mAllocSizeAndFlags, 1)"
|
||||
[Type.Expand.IndexListItems]
|
||||
Size = "mSize"
|
||||
ValueNode = "mItems[($i + mHead) % __clearHighBits(mAllocSizeAndFlags, 2)]"
|
||||
|
||||
[[Type]]
|
||||
Name = "System.Collections.Generic.Dictionary<*, *>"
|
||||
DisplayString = "{{ count={mCount - mFreeCount} }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue