Here are the examples of the csharp api class Drivers.Framework.Collections.UInt32Queue.Expand(int) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: FlingOS
Source File: Queue.cs
Source File: Queue.cs
public void Push(uint val) { if ((BackIdx != 0 && FrontIdx == BackIdx - 1) || (BackIdx == 0 && FrontIdx == InternalArray.Length - 1)) { // Queue full if (CanExpand) { Expand(InternalArray.Length); } else { return; } } InternalArray[FrontIdx++] = val; if (FrontIdx >= InternalArray.Length) { FrontIdx = 0; } }