2 references to CustomMemoryForTest
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
src\Shared\Buffers.Testing\CustomMemoryForTest.cs (1)
13
public CustomMemoryForTest(T[] array) :
this
(array, 0, array.Length)
src\Shared\Buffers.Testing\ReadOnlySequenceFactory.cs (1)
68
return new ReadOnlySequence<byte>(new
CustomMemoryForTest
<byte>(startSegment, 10, data.Length).Memory);