Searched refs:left (Results 1 – 7 of 7) sorted by relevance
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/Collections/ |
| D | TwoWayDictionary.cs | 30 public bool Remove(TLeft left) in Remove() argument 33 return Remove(left, out tmp); in Remove() 36 public bool TryExchange(TLeft left, TRight newRight, out TRight oldRight) in TryExchange() argument 40 if(!Remove(left, out oldRight)) in TryExchange() 44 Add(left, newRight); in TryExchange() 62 public bool Remove(TLeft left, out TRight right) in Remove() argument 67 if(!Exists(left)) in Remove() 71 right = lefts[left]; in Remove() 72 RemoveExistingMapping(left, right); in Remove() 77 public bool Remove(TRight right, out TLeft left) in Remove() argument [all …]
|
| D | FastReadConcurrentTwoWayDictionary.cs | 53 public void Remove(TLeft left) in Remove() argument 56 TryRemove(left, out fake); in Remove() 59 public bool TryRemove(TLeft left, out TRight right) in TryRemove() argument 66 if(!newLefts.TryGetValue(left, out right)) in TryRemove() 72 newLefts.Remove(left); in TryRemove() 80 OnItemRemoved(left, right); in TryRemove() 106 public void Add(TLeft left, TRight right) in Add() argument 108 Add(right, left); in Add() 111 public void Add(TRight right, TLeft left) in Add() argument 118 newRights.Add(right, left); in Add() [all …]
|
| D | WeakMultiTable.cs | 24 public void Add(TLeft left, TRight right) in Add() argument 28 lefts.Add(new WeakReference(left)); in Add() 33 public IEnumerable<TRight> GetAllForLeft(TLeft left) in GetAllForLeft() argument 40 …napshotLefts.Select((l, index) => new { l, index }).Where(x => x.l.Equals(left)).Select(x => x.ind… in GetAllForLeft() 67 public void RemovePair(TLeft left, TRight right) in RemovePair() argument 76 if(left.Equals(snapshotLefts[i]) && right.Equals(snapshotRights[i])) in RemovePair() 107 var left = (TLeft)lefts[i].Target; in Snapshot() 109 if(left == null || right == null) in Snapshot() 116 snapshotLefts.Add(left); in Snapshot()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Time/ |
| D | BaseClockSource.cs | 49 var left = time; in Advance() 50 while(left.Ticks > 0) in Advance() 52 var thisTurn = TimeInterval.Min(nearestLimitIn, left); in Advance() 53 left -= thisTurn; in Advance()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Sound/ |
| D | EOSS3_Voice.cs | 175 var left = (uint)Misc.SwapBytesUShort((ushort)samplesLeft[i]); in InputSamples() 177 preparedDoubleWords[i] = (right << 16) | left; in InputSamples()
|
| D | NRF52840_PDM.cs | 218 var left = (uint)Misc.SwapBytesUShort((ushort)samplesLeft[i]); in InputSamples() 220 preparedDoubleWords[i] = (right << 16) | left; in InputSamples()
|
| /Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Mocks/ |
| D | HPSHostController.cs | 47 var left = bytes.Length; in FlashMCU() 49 while(left > 0) in FlashMCU() 51 var batchSize = Math.Min(left, 256); in FlashMCU() 64 left -= batchSize; in FlashMCU()
|