6 instantiations of MemorySegment
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
12 references to MemorySegment
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (12)
src\Shared\test\Shared.Tests\runtime\Http3\VariableLengthIntegerHelperTests.cs (12)
159internal MemorySegment<T> Append(ReadOnlyMemory<T> memory)
161var segment = new MemorySegment<T>(memory)
175MemorySegment<byte> memorySegment1 = new MemorySegment<byte>(new byte[] { 64 });
176MemorySegment<byte> memorySegment2 = memorySegment1.Append(new byte[] { 1 });
191MemorySegment<byte> memorySegment1 = new MemorySegment<byte>(new byte[] { 192 });
192MemorySegment<byte> memorySegment2 = memorySegment1.Append(new byte[] { 0, 0, 0, 0, 0, 0, 2 });
207MemorySegment<byte> memorySegment1 = new MemorySegment<byte>(new byte[] { 192 });
208MemorySegment<byte> memorySegment2 = memorySegment1.Append(new byte[] { 0, 0, 0, 0, 0, 2 });
222MemorySegment<byte> memorySegment1 = new MemorySegment<byte>(new byte[] { 192 });
223MemorySegment<byte> memorySegment2 = memorySegment1.Append(new byte[] { 0, 0, 0, 0, 0, 0, 2 });
237MemorySegment<byte> memorySegment1 = new MemorySegment<byte>(new byte[] { 192 });
238MemorySegment<byte> memorySegment2 = memorySegment1.Append(new byte[] { 0, 0, 0, 0, 0, 2 });