This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// A thread safe Q structure that uses lock free push an pop algorithms. | |
/// </summary> | |
/// <typeparam name="T">The type to store on the queue.</typeparam> | |
public class Q<T> | |
{ | |
private Node _head; | |
private Node _tail; | |
/// <summary> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<packageSources> | |
<!--To inherit the global NuGet package sources remove the <clear/> line below --> | |
<clear /> | |
<add key="dotnet-core" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" /> | |
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" /> | |
</packageSources> | |
</configuration> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git clone https://github.com/JimBobSquarePants/ImageProcessor.git | |
cd ImageProcessor | |
git remote add upstream git://github.com/JimBobSquarePants/ImageProcessor.git | |
git fetch upstream | |
(from forked repository) git checkout core | |
(from original repository) git merge upstream/Core | |
Resolve conflicts in visual studio | |
Commit Merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mode con: cols=1600 lines=3000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.Linq; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using System.Security.Cryptography.X509Certificates; | |
namespace Query | |
{ |