コード例 #1
0
 internal override void ShareFreeList(BlockRevQueue q)
 {
     g.ShareFreeList(q);
 }
コード例 #2
0
ファイル: BlockRevQueue.cs プロジェクト: sharwell/ngit
 internal void FreeBlock(BlockRevQueue.Block b)
 {
     b.next = next;
     next = b;
 }
コード例 #3
0
ファイル: DepthGenerator.cs プロジェクト: LunarLanding/ngit
		internal override void ShareFreeList(BlockRevQueue q)
		{
			pending.ShareFreeList(q);
		}
コード例 #4
0
 internal override void ShareFreeList(BlockRevQueue q)
 {
     q.ShareFreeList(this.held);
 }
コード例 #5
0
ファイル: Generator.cs プロジェクト: sharwell/ngit
 /// <summary>Connect the supplied queue to this generator's own free list (if any).</summary>
 /// <remarks>Connect the supplied queue to this generator's own free list (if any).</remarks>
 /// <param name="q">another FIFO queue that wants to share our queue's free list.</param>
 internal virtual void ShareFreeList(BlockRevQueue q)
 {
 }
コード例 #6
0
ファイル: RewriteGenerator.cs プロジェクト: LunarLanding/ngit
		internal override void ShareFreeList(BlockRevQueue q)
		{
			source.ShareFreeList(q);
		}
コード例 #7
0
 internal override void ShareFreeList(BlockRevQueue q)
 {
     q.ShareFreeList(pending);
 }
コード例 #8
0
 /// <summary>Reconfigure this queue to share the same free list as another.</summary>
 /// <remarks>
 /// Reconfigure this queue to share the same free list as another.
 /// <p>
 /// Multiple revision queues can be connected to the same free list, making
 /// it less expensive for applications to shuttle commits between them. This
 /// method arranges for the receiver to take from / return to the same free
 /// list as the supplied queue.
 /// <p>
 /// Free lists are not thread-safe. Applications must ensure that all queues
 /// sharing the same free list are doing so from only a single thread.
 /// </remarks>
 /// <param name="q">the other queue we will steal entries from.</param>
 internal override void ShareFreeList(NGit.Revwalk.BlockRevQueue q)
 {
     free = q.free;
 }
コード例 #9
0
ファイル: TopoSortGenerator.cs プロジェクト: sharwell/ngit
 internal override void ShareFreeList(BlockRevQueue q)
 {
     q.ShareFreeList(pending);
 }
コード例 #10
0
			internal override void ShareFreeList(BlockRevQueue q)
			{
				q.ShareFreeList(this.held);
			}
コード例 #11
0
 /// <summary>Connect the supplied queue to this generator's own free list (if any).</summary>
 /// <remarks>Connect the supplied queue to this generator's own free list (if any).</remarks>
 /// <param name="q">another FIFO queue that wants to share our queue's free list.</param>
 internal virtual void ShareFreeList(BlockRevQueue q)
 {
 }