Area:Api
- Better Edge Detection API - #1299 via @JimBobSquarePants
- Cancellable codec API, and overloads for loading/saving - #1296 via @antonfirsov, @JimBobSquarePants
Area:Api
| using System; | |
| using System.IO; | |
| using System.IO.Pipes; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace KilledByPipes | |
| { | |
| class Program | |
| { |
Area:Api
Area:Api
| using System.Collections.Generic; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| using Microsoft.VisualStudio.TestPlatform.Common.ExtensionFramework.Utilities; | |
| using Xunit; | |
| using Xunit.Abstractions; | |
| namespace System.Net.Sockets.Tests | |
| { | |
| public class Repro31570 : SocketTestHelperBase<SocketHelperEap> |
| // Copyright (c) Six Labors. | |
| // Licensed under the Apache License, Version 2.0. | |
| using System; | |
| using System.IO; | |
| using SixLabors.ImageSharp.IO; | |
| using Xunit; | |
| namespace SixLabors.ImageSharp.Tests.IO | |
| { |
| using Microsoft.AspNetCore.Builder; | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.AspNetCore.Http; | |
| using Microsoft.Extensions.DependencyInjection; | |
| using Microsoft.Extensions.Hosting; | |
| namespace Rfc6265Test | |
| { | |
| public class Program | |
| { |
| public interface IQuantizer | |
| { | |
| // Remove: | |
| // IFrameQuantizer<TPixel> CreateFrameQuantizer<TPixel>(Configuration configuration, QuantizerOptions options) | |
| // where TPixel : unmanaged, IPixel<TPixel>; | |
| // Add: | |
| IQuantizer<TPixel> CreatePixelSpecificQuantizer<TPixel>(Configuration configuration, QuantizerOptions options) | |
| where TPixel : unmanaged, IPixel<TPixel>; | |
| } |
| An unhanded exception occured. | |
| At this point you can opt to continue, however it is possible that the aborted computation will cause additional failures. Because PerfView generally only opens files for reading, there is no danger of corrupting files, so it generally does not hurt to try. However be on guard for unusual/incorrect behavior going forward. | |
| You can of course exit and restart PerfView to be completely safe. | |
| The fact that this exception went unhanded is a programmer error. It should be reported so it can be fixed. Please set along the following stack trace information which will be useful in diagnosing the problem. | |
| StackTrace: | |
| System.ArgumentException: Invalid samples, two samples can not happen at the same time. |
| using System; | |
| using System.Diagnostics.Tracing; | |
| namespace EtwTest | |
| { | |
| [EventSource] | |
| public class TestEventSource : EventSource | |
| { | |
| public static readonly TestEventSource Log = new TestEventSource(); | |
LoadResizeSave
BenchmarkDotNet=v0.12.0, OS=Windows 10.0.18362 Intel Core i7-7700HQ CPU 2.80GHz (Kaby Lake), 1 CPU, 8 logical and 4 physical cores .NET Core SDK=3.1.101 [Host] : .NET Core 3.1.1 (CoreCLR 4.700.19.60701, CoreFX 4.700.19.60801), X64 RyuJIT Job-NJQGIY : .NET Core 3.1.1 (CoreCLR 4.700.19.60701, CoreFX 4.700.19.60801), X64 RyuJIT
| mkdir liburing | |
| pushd liburing | |
| git clone https://github.com/axboe/liburing.git | |
| pushd liburing | |
| ./configure | |
| make | |
| sudo make install | |
| popd |