Lines Matching refs:priority
19 public void Enqueue(TElement item, TPriority priority) in Enqueue() argument
21 list.Add(new Key(priority, count), item); in Enqueue()
25 public bool TryDequeue(out TElement item, out TPriority priority) in TryDequeue() argument
27 if(!TryPeek(out item, out priority)) in TryDequeue()
42 public bool TryPeek(out TElement item, out TPriority priority) in TryPeek() argument
47 priority = default(TPriority); in TryPeek()
51 priority = list.Keys[0].priority; in TryPeek()
78 public Key(TPriority priority, ulong count) in Key() argument
80 this.priority = priority; in Key()
86 int priorityDiff = priority.CompareTo(other.priority); in CompareTo()
90 public readonly TPriority priority; field in Antmicro.Renode.Utilities.Collections.TPriority.Key