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.ComponentModel; | |
using System.Diagnostics; | |
using System.Runtime.InteropServices; | |
namespace JobObjectSpike | |
{ | |
internal sealed class JobObject : IDisposable | |
{ | |
private readonly IntPtr _jobObjectHandle; |
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
function getInput(e, env) { | |
if (e.filename && env.filename && (e.filename !== env.filename)) { | |
var baseFilename = basename(e.filename); | |
for (f in parser.imports.contents) { | |
if (parser.imports.contents.hasOwnProperty(f) && f.indexOf(baseFilename) >= 0) { | |
return parser.imports.contents[f]; | |
} | |
} | |
return parser.imports.contents[baseFilename]; | |
} else { |