示例#1
0
 /// <summary>
 /// Move a node to the head/top of a list. Used to maintain LRU lists.
 /// </summary>
 /// <param name="node">The node to move.</param>
 public void Up(ListNode node)
 {
     FT.FT_List_Up(Reference, node.Reference);
 }
示例#2
0
 /// <summary>
 /// Insert an element at the head of a list.
 /// </summary>
 /// <param name="node">The node to insert.</param>
 public void Insert(ListNode node)
 {
     FT.FT_List_Insert(Reference, node.Reference);
 }
示例#3
0
 /// <summary>
 /// Remove a node from a list. This function doesn't check whether the node is in the list!
 /// </summary>
 /// <param name="node">The node to remove.</param>
 public void Remove(ListNode node)
 {
     FT.FT_List_Remove(Reference, node.Reference);
 }
示例#4
0
 /// <summary>
 /// Append an element to the end of a list.
 /// </summary>
 /// <param name="node">The node to append.</param>
 public void Add(ListNode node)
 {
     FT.FT_List_Add(Reference, node.Reference);
 }
示例#5
0
		/// <summary>
		/// Move a node to the head/top of a list. Used to maintain LRU lists.
		/// </summary>
		/// <param name="node">The node to move.</param>
		public void Up(ListNode node)
		{
			FT.FT_List_Up(Reference, node.Reference);
		}
示例#6
0
		/// <summary>
		/// Remove a node from a list. This function doesn't check whether the node is in the list!
		/// </summary>
		/// <param name="node">The node to remove.</param>
		public void Remove(ListNode node)
		{
			FT.FT_List_Remove(Reference, node.Reference);
		}
示例#7
0
		/// <summary>
		/// Insert an element at the head of a list.
		/// </summary>
		/// <param name="node">The node to insert.</param>
		public void Insert(ListNode node)
		{
			FT.FT_List_Insert(Reference, node.Reference);
		}
示例#8
0
		/// <summary>
		/// Append an element to the end of a list.
		/// </summary>
		/// <param name="node">The node to append.</param>
		public void Add(ListNode node)
		{
			FT.FT_List_Add(Reference, node.Reference);
		}