Home
last modified time | relevance | path

Searched refs:table (Results 1 – 16 of 16) sorted by relevance

/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Tests/UnitTests/Collections/
DWeakMultiTableTest.cs20 var table = new WeakMultiTable<int, int>(); in ShouldHandleManyRightValuesForLeft()
21 table.Add(0, 5); in ShouldHandleManyRightValuesForLeft()
22 table.Add(0, 6); in ShouldHandleManyRightValuesForLeft()
23 Assert.AreEqual(2, table.GetAllForLeft(0).Count()); in ShouldHandleManyRightValuesForLeft()
29 var table = new WeakMultiTable<int, int>(); in ShouldHandleManyLeftValuesForRight()
30 table.Add(5, 0); in ShouldHandleManyLeftValuesForRight()
31 table.Add(6, 0); in ShouldHandleManyLeftValuesForRight()
32 Assert.AreEqual(2, table.GetAllForRight(0).Count()); in ShouldHandleManyLeftValuesForRight()
38 var table = new WeakMultiTable<int, int>(); in ShouldRemovePair()
39 table.Add(0, 0); in ShouldRemovePair()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Mocks/
DHPSHostController.cs526 var table = new Table().AddRow("Value", "Bit", "Name", "Description"); in FormatSystemStatus()
527 table.AddRow(string.Empty, "15", string.Empty, string.Empty); in FormatSystemStatus()
528 table.AddRow(string.Empty, "14", string.Empty, string.Empty); in FormatSystemStatus()
529table.AddRow((data[0] & 0x20) >> 5 == 1 ? "1" : "0", "13", "ONE_TIME_INIT", "Whether the one_time_… in FormatSystemStatus()
530table.AddRow((data[0] & 0x10) >> 4 == 1 ? "1" : "0", "12", "STAGE0_PERM_LOCKED", "Whether stage0 h… in FormatSystemStatus()
531table.AddRow((data[0] & 0x8) >> 3 == 1 ? "1" : "0", "11", "STAGE0_LOCKED", "Whether stage0 has bee… in FormatSystemStatus()
532table.AddRow((data[0] & 0x4) >> 2 == 1 ? "1" : "0", "10", "CMDINPROGRESS", "A command is in-progre… in FormatSystemStatus()
533table.AddRow((data[0] & 0x2) >> 1 == 1 ? "1" : "0", "9", "APPLREADY", "Application is running, and… in FormatSystemStatus()
534table.AddRow((data[0] & 0x1) == 1 ? "1" : "0", "8", "APPLRUN", "Stage 1 has been launched, and is … in FormatSystemStatus()
535 table.AddRow(string.Empty, "7", string.Empty, string.Empty); in FormatSystemStatus()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/PCI/
DMPFS_PCIe.cs158 … var table = axiAddressTables.SingleOrDefault(x => x.DoesAddressHit(currentAccessAbsoluteAddress)); in WriteDoubleWordEcam()
159 if(table == null) in WriteDoubleWordEcam()
165 var translatedAddress = table.Translate(currentAccessAbsoluteAddress); in WriteDoubleWordEcam()
166 if(table.TargetSpace == PCIeSpace.Configuration) in WriteDoubleWordEcam()
175 else if(table.TargetSpace == PCIeSpace.TxRx) in WriteDoubleWordEcam()
189 …CIe space at 0x{0:X} in an unsupported mode {1}, value 0x{2:X}.", offset, table.TargetSpace, value… in WriteDoubleWordEcam()
197 … var table = axiAddressTables.SingleOrDefault(x => x.DoesAddressHit(currentAccessAbsoluteAddress)); in ReadDoubleWordEcam()
198 if(table == null) in ReadDoubleWordEcam()
204 var translatedAddress = table.Translate(currentAccessAbsoluteAddress); in ReadDoubleWordEcam()
205 if(table.TargetSpace == PCIeSpace.Configuration) in ReadDoubleWordEcam()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Utilities/
DCRCEngine.cs92 var table = new uint[CRCTableSize]; in GenerateLookupTable()
95 for(var dividend = 0u; dividend < table.Length; dividend++) in GenerateLookupTable()
110 table[dividend] = value; in GenerateLookupTable()
115 tablesCache[crcPolynomial] = table; in GenerateLookupTable()
118 return table; in GenerateLookupTable()
135 if(table == null)
137 table = GenerateLookupTable(crcConfig.CRCPolynomial);
139 return table;
144 private uint[] table; field in Antmicro.Renode.Utilities.CRCEngine
DSnapshotTracker.cs78 var table = new Table().AddRow("Path", "Timestamp", "Size"); in PrintDetailedSnapshotsInfo()
79 table.AddRows(snapshots, in PrintDetailedSnapshotsInfo()
85 return table.ToArray(); in PrintDetailedSnapshotsInfo()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/CPU/ExecutionTracer/FBInstruction/
Dinstruction.fbs3 table Instruction {
22 table Instructions { instructions:[Instruction]; }
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Peripherals/CPU/
DICPUWithRegisters.cs85 var table = new Table().AddRow(" Name ", " Index ", " Value "); in GetRegistersValues()
86table.AddRows(result, x => " {0} ".FormatWith(x.Item1), x => " {0} ".FormatWith(x.Item2), x => " 0… in GetRegistersValues()
87 return table.ToArray(); in GetRegistersValues()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Sockets/
DSocketsManager.cs42 var table = new Table().AddRow("Owner", "Type", "EndPoint", "Bound", "Connected"); in List()
43table.AddRows(sockets, x => x.Owner.ToString(), x => x.Type.ToString(), x => x.EndPoint, x => x.Is… in List()
44 return table.ToArray(); in List()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/X86/ACPI/
DACPIExtensions.cs58 var table = Packet.Encode(processorLocalAPICRecord).ToArray(); in GenerateACPITable()
59 bus.WriteBytes(table, recordAddress); in GenerateACPITable()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Peripherals/Peripherals/Network/SynopsysDWCEthernetQualityOfService/
DSynopsysDWCEthernetQualityOfService_Registers.cs57 var table = new Table(); in GetCoutersInfo()
58 table.AddRow("Name", "Value"); in GetCoutersInfo()
59 table.AddRow(nameof(txByteCounter), Convert.ToString(txByteCounter.Value)); in GetCoutersInfo()
60 table.AddRow(nameof(txPacketCounter), Convert.ToString(txPacketCounter.Value)); in GetCoutersInfo()
61table.AddRow(nameof(txUnicastPacketCounter), Convert.ToString(txUnicastPacketCounter.Value)); in GetCoutersInfo()
62table.AddRow(nameof(txMulticastPacketCounter), Convert.ToString(txMulticastPacketCounter.Value)); in GetCoutersInfo()
63table.AddRow(nameof(txBroadcastPacketCounter), Convert.ToString(txBroadcastPacketCounter.Value)); in GetCoutersInfo()
64 table.AddRow(nameof(txGoodByteCounter), Convert.ToString(txGoodByteCounter.Value)); in GetCoutersInfo()
65 table.AddRow(nameof(txGoodPacketCounter), Convert.ToString(txGoodPacketCounter.Value)); in GetCoutersInfo()
66 table.AddRow(nameof(rxPacketCounter), Convert.ToString(rxPacketCounter.Value)); in GetCoutersInfo()
[all …]
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Plugins/
DPluginManager.cs53 … var table = new Table().AddRow("Name", "Description", "Vendor", "Version", "Mode", "State"); in GetPlugins()
54 table.AddRows(TypeManager.Instance.AvailablePlugins.Where(x => !x.IsHidden), in GetPlugins()
62 return table.ToArray(); in GetPlugins()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Cores/Arm64/
DARMv8A.cs46 var table = new Renode.Utilities.Table().AddRow("Name", "Value"); in GetAllSystemRegisterValues()
51 table.AddRow(indexSystemRegisterPair.Value.Name, $"0x{value:X}"); in GetAllSystemRegisterValues()
53 return table.ToArray(); in GetAllSystemRegisterValues()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/UserInterface/
DMonitorCommands.cs334 var table = result as string[,]; in PrintActionResult()
335 PrettyPrint2DArray(table, writer); in PrintActionResult()
380 private static void PrettyPrint2DArray(string[,] table, ICommandInteraction writer) in PrettyPrint2DArray() argument
382 var columnLengths = new int[table.GetLength(1)]; in PrettyPrint2DArray()
385 for(var j = 0; j < table.GetLength(0); j++) in PrettyPrint2DArray()
387 columnLengths[i] = Math.Max(table[j, i].Length, columnLengths[i]); in PrettyPrint2DArray()
392 for(var i = 0; i < table.GetLength(0); i++) in PrettyPrint2DArray()
399 for(var j = 0; j < table.GetLength(1); j++) in PrettyPrint2DArray()
401 writer.Write(table[i, j].PadRight(columnLengths[j])); in PrettyPrint2DArray()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Extensions/Config/
DSimpleJson.cs727 IDictionary<string, object> table = new JsonObject(); in ParseObject()
751 return table; in ParseObject()
784 table.Add(name, value); in ParseObject()
788 return table; in ParseObject()
/Renode-Infrastructure-v1.15.3-29f510e/src/Emulator/Main/Core/
DMachine.cs716 …var table = new Table().AddRow("Owner", "Enabled", "Frequency", "Limit", "Value", "Step", "Event f… in GetClockSourceInfo()
717 table.AddRows(entries, in GetClockSourceInfo()
741 return table.ToArray(); in GetClockSourceInfo()
/Renode-Infrastructure-v1.15.3-29f510e/licenses/
DLGPL.txt176 table of data to be supplied by an application program that uses
180 table, the facility still operates, and performs whatever part of
186 application-supplied function or table used by this function must