📄 os.xml
字号:
<param name="BytesIn">array of bytes to convert</param>
<returns>value of bytes as a uint</returns>
</member>
<member name="M:Hanselman.CST352.CPU.UIntToBytes(System.UInt32)">
<summary>
Pins down a section of memory and converts an unsigned int into an array of (<see cref="T:System.Byte"/>)s
</summary>
<param name="UIntIn">the uint to convert</param>
<returns>uint containing the value of the uint</returns>
</member>
<member name="M:Hanselman.CST352.CPU.UtilRoundToBoundary(System.UInt32,System.UInt32)">
<summary>
Utility function to round any number to any arbirary boundary
</summary>
<param name="number">number to be rounded</param>
<param name="boundary">boundary multiplier</param>
<returns>new rounded number</returns>
</member>
<member name="P:Hanselman.CST352.CPU.sf">
<summary>
Public get/set accessor for the Sign Flag
</summary>
</member>
<member name="P:Hanselman.CST352.CPU.zf">
<summary>
Public get/set accessor for the Zero Flag
</summary>
</member>
<member name="P:Hanselman.CST352.CPU.sp">
<summary>
Public get/set accessor for Stack Pointer
</summary>
</member>
<member name="P:Hanselman.CST352.CPU.ip">
<summary>
Public get/set access for the CPU's Instruction Pointer
</summary>
</member>
<member name="T:Hanselman.CST352.ProcessCollection">
<summary>
A collection that stores <see cref="T:Hanselman.CST352.Process"/> objects.
</summary>
<seealso cref="T:Hanselman.CST352.ProcessCollection"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.#ctor">
<summary>
Initializes a new instance of <see cref="T:Hanselman.CST352.ProcessCollection"/>.
</summary>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.#ctor(Hanselman.CST352.ProcessCollection)">
<summary>
Initializes a new instance of <see cref="T:Hanselman.CST352.ProcessCollection"/> based on another <see cref="T:Hanselman.CST352.ProcessCollection"/>.
</summary>
<param name="value">
A <see cref="T:Hanselman.CST352.ProcessCollection"/> from which the contents are copied
</param>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.#ctor(Hanselman.CST352.Process[])">
<summary>
Initializes a new instance of <see cref="T:Hanselman.CST352.ProcessCollection"/> containing any array of <see cref="T:Hanselman.CST352.Process"/> objects.
</summary>
<param name="value">
A array of <see cref="T:Hanselman.CST352.Process"/> objects with which to intialize the collection
</param>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.Add(Hanselman.CST352.Process)">
<summary>
Adds a <see cref="T:Hanselman.CST352.Process"/> with the specified value to the
<see cref="T:Hanselman.CST352.ProcessCollection"/> .
</summary>
<param name="value">The <see cref="T:Hanselman.CST352.Process"/> to add.</param>
<returns>
The index at which the new element was inserted.
</returns>
<seealso cref="M:Hanselman.CST352.ProcessCollection.AddRange(Hanselman.CST352.Process[])"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.AddRange(Hanselman.CST352.Process[])">
<summary>
Copies the elements of an array to the end of the <see cref="T:Hanselman.CST352.ProcessCollection"/>.
</summary>
<param name="value">
An array of type <see cref="T:Hanselman.CST352.Process"/> containing the objects to add to the collection.
</param>
<returns>
None.
</returns>
<seealso cref="M:Hanselman.CST352.ProcessCollection.Add(Hanselman.CST352.Process)"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.AddRange(Hanselman.CST352.ProcessCollection)">
<summary>
Adds the contents of another <see cref="T:Hanselman.CST352.ProcessCollection"/> to the end of the collection.
</summary>
<param name="value">
A <see cref="T:Hanselman.CST352.ProcessCollection"/> containing the objects to add to the collection.
</param>
<returns>
None.
</returns>
<seealso cref="M:Hanselman.CST352.ProcessCollection.Add(Hanselman.CST352.Process)"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.Contains(Hanselman.CST352.Process)">
<summary>
Gets a value indicating whether the
<see cref="T:Hanselman.CST352.ProcessCollection"/> contains the specified <see cref="T:Hanselman.CST352.Process"/>.
</summary>
<param name="value">The <see cref="T:Hanselman.CST352.Process"/> to locate.</param>
<returns>
<see langword="true"/> if the <see cref="T:Hanselman.CST352.Process"/> is contained in the collection;
otherwise, <see langword="false"/>.
</returns>
<seealso cref="M:Hanselman.CST352.ProcessCollection.IndexOf(Hanselman.CST352.Process)"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.Compare(System.Object,System.Object)">
<summary>
Implemented for IComparable.
</summary>
<param name="x">A Process object</param>
<param name="y">A Process object</param>
<returns>a comparison int from CompareTo</returns>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.Sort">
<summary>
Sorts the list of <see cref="F:Hanselman.CST352.OS.runningProcesses"/> based on <see cref="F:Hanselman.CST352.Process.ProcessControlBlock.priority"/>
</summary>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.CopyTo(Hanselman.CST352.Process[],System.Int32)">
<summary>
Copies the <see cref="T:Hanselman.CST352.ProcessCollection"/> values to a one-dimensional <see cref="T:System.Array"/> instance at the
specified index.
</summary>
<param name="array">The one-dimensional <see cref="T:System.Array"/> that is the destination of the values copied from <see cref="T:Hanselman.CST352.ProcessCollection"/> .</param>
<param name="index">The index in <paramref name="array"/> where copying begins.</param>
<returns>
None.
</returns>
<exception cref="T:System.ArgumentException"><paramref name="array"/> is multidimensional. -or- The number of elements in the <see cref="T:Hanselman.CST352.ProcessCollection"/> is greater than the available space between <paramref name="arrayIndex"/> and the end of <paramref name="array"/>.</exception>
<exception cref="T:System.ArgumentNullException"><paramref name="array"/> is <see langword="null"/>. </exception>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="arrayIndex"/> is less than <paramref name="array"/>'s lowbound. </exception>
<seealso cref="T:System.Array"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.IndexOf(Hanselman.CST352.Process)">
<summary>
Returns the index of a <see cref="T:Hanselman.CST352.Process"/> in
the <see cref="T:Hanselman.CST352.ProcessCollection"/> .
</summary>
<param name="value">The <see cref="T:Hanselman.CST352.Process"/> to locate.</param>
<returns>
The index of the <see cref="T:Hanselman.CST352.Process"/> of <paramref name="value"/> in the
<see cref="T:Hanselman.CST352.ProcessCollection"/>, if found; otherwise, -1.
</returns>
<seealso cref="M:Hanselman.CST352.ProcessCollection.Contains(Hanselman.CST352.Process)"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.Insert(System.Int32,Hanselman.CST352.Process)">
<summary>
Inserts a <see cref="T:Hanselman.CST352.Process"/> into the <see cref="T:Hanselman.CST352.ProcessCollection"/> at the specified index.
</summary>
<param name="index">The zero-based index where <paramref name="value"/> should be inserted.</param>
<param name=" value">The <see cref="T:Hanselman.CST352.Process"/> to insert.</param>
<returns>None.</returns>
<seealso cref="M:Hanselman.CST352.ProcessCollection.Add(Hanselman.CST352.Process)"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.GetEnumerator">
<summary>
Returns an enumerator that can iterate through
the <see cref="T:Hanselman.CST352.ProcessCollection"/> .
</summary>
<returns>None.</returns>
<seealso cref="T:System.Collections.IEnumerator"/>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.Remove(Hanselman.CST352.Process)">
<summary>
Removes a specific <see cref="T:Hanselman.CST352.Process"/> from the
<see cref="T:Hanselman.CST352.ProcessCollection"/> .
</summary>
<param name="value">The <see cref="T:Hanselman.CST352.Process"/> to remove from the <see cref="T:Hanselman.CST352.ProcessCollection"/> .</param>
<returns>None.</returns>
<exception cref="T:System.ArgumentException"><paramref name="value"/> is not found in the Collection. </exception>
</member>
<member name="P:Hanselman.CST352.ProcessCollection.Item(System.Int32)">
<summary>
Represents the entry at the specified index of the <see cref="T:Hanselman.CST352.Process"/>.
</summary>
<param name="index">The zero-based index of the entry to locate in the collection.</param>
<value>
The entry at the specified index of the collection.
</value>
<exception cref="T:System.ArgumentOutOfRangeException"><paramref name="index"/> is outside the valid range of indexes for the collection.</exception>
</member>
<member name="T:Hanselman.CST352.ProcessCollection.ProcessEnumerator">
<summary>
Provided for "foreach" support with this collection
</summary>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.ProcessEnumerator.#ctor(Hanselman.CST352.ProcessCollection)">
<summary>
Public constructor for an ProcessEnumerator
</summary>
<param name="mappings">The <see cref="T:Hanselman.CST352.ProcessCollection"/>we are going to iterate over</param>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.ProcessEnumerator.MoveNext">
<summary>
Move to the next Process
</summary>
<returns>true or false based on success</returns>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.ProcessEnumerator.System#Collections#IEnumerator#MoveNext">
<summary>
Move to the next Process
</summary>
<returns>true or false based on success</returns>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.ProcessEnumerator.Reset">
<summary>
Reset the cursor
</summary>
</member>
<member name="M:Hanselman.CST352.ProcessCollection.ProcessEnumerator.System#Collections#IEnumerator#Reset">
<summary>
Reset the cursor
</summary>
</member>
<member name="P:Hanselman.CST352.ProcessCollection.ProcessEnumerator.Current">
<summary>
The current <see cref="T:Hanselman.CST352.Process"/>
</summary>
</member>
<member name="P:Hanselman.CST352.ProcessCollection.ProcessEnumerator.System#Collections#IEnumerator#Current">
<summary>
The current IEnumerator interface
</summary>
</member>
<member name="T:Hanselman.CST352.Process">
<summary>
Represents a running Process in the <see cref="F:Hanselman.CST352.OS.runningProcesses"/> table. Implements <see cref="T:System.IComparable"/>
so two Processes can be compared with > and <. This will allow easy sorting of the runningProcesses table
based on <see cref="F:Hanselman.CST352.Process.ProcessControlBlock.priority"/>.
</summary>
</member>
<member name="M:Hanselman.CST352.Process.#ctor(System.UInt32,System.UInt32)">
<summary>
Process Constructor
</summary>
<param name="processId">the readonly unique id for this Process</param>
<param name="memorySize">the ammount of memory this Process and address</param>
</member>
<member name="F:Hanselman.CST352.Process.PCB">
<summary>
</summary>
</member>
<member name="M:Hanselman.CST352.Process.CompareTo(System.Object)">
<summary>
Needed to implement <see cref="T:System.IComparable"/>. Compares Processes based on <see cref="F:Hanselman.CST352.Process.ProcessControlBlock.priority"/>.
<pre>
Value Meaning
--------------------------------------------------------
Less than zero This instance is less than obj
Zero This instance is equal to obj
Greater than an zero This instance is greater than obj
</pre>
</summary>
<param name="obj"></param>
<returns></returns>
</member>
<member name="T:Hanselman.CST352.Process.ProcessControlBlock">
<summary>
Internal class to <see cref="T:Hanselman.CST352.Process"/> that represents a ProcessControlBlock. It isn't a struct so it can have
instance field initializers. Maintains things like <see cref="F:Hanselman.CST352.Process.ProcessControlBlock.registers"/> and <see cref="F:Hanselman.CST352.Process.ProcessControlBlock.clockCycles"/> for this
Process.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -