45 references to SequenceKind
Microsoft.Extensions.Caching.Hybrid.Tests (45)
DistributedCacheTests.cs (45)
154[InlineData(0, SequenceKind.FullArray)] 155[InlineData(128, SequenceKind.FullArray)] 156[InlineData(1024, SequenceKind.FullArray)] 157[InlineData(16 * 1024, SequenceKind.FullArray)] 158[InlineData(0, SequenceKind.PaddedArray)] 159[InlineData(128, SequenceKind.PaddedArray)] 160[InlineData(1024, SequenceKind.PaddedArray)] 161[InlineData(16 * 1024, SequenceKind.PaddedArray)] 162[InlineData(0, SequenceKind.CustomMemory)] 163[InlineData(128, SequenceKind.CustomMemory)] 164[InlineData(1024, SequenceKind.CustomMemory)] 165[InlineData(16 * 1024, SequenceKind.CustomMemory)] 166[InlineData(0, SequenceKind.MultiSegment)] 167[InlineData(128, SequenceKind.MultiSegment)] 168[InlineData(1024, SequenceKind.MultiSegment)] 169[InlineData(16 * 1024, SequenceKind.MultiSegment)] 170public async Task ReadOnlySequenceBufferRoundtrip(int size, SequenceKind kind) 216[InlineData(0, SequenceKind.FullArray)] 217[InlineData(128, SequenceKind.FullArray)] 218[InlineData(1024, SequenceKind.FullArray)] 219[InlineData(16 * 1024, SequenceKind.FullArray)] 220[InlineData(0, SequenceKind.PaddedArray)] 221[InlineData(128, SequenceKind.PaddedArray)] 222[InlineData(1024, SequenceKind.PaddedArray)] 223[InlineData(16 * 1024, SequenceKind.PaddedArray)] 224[InlineData(0, SequenceKind.CustomMemory)] 225[InlineData(128, SequenceKind.CustomMemory)] 226[InlineData(1024, SequenceKind.CustomMemory)] 227[InlineData(16 * 1024, SequenceKind.CustomMemory)] 228[InlineData(0, SequenceKind.MultiSegment)] 229[InlineData(128, SequenceKind.MultiSegment)] 230[InlineData(1024, SequenceKind.MultiSegment)] 231[InlineData(16 * 1024, SequenceKind.MultiSegment)] 232public async Task ReadOnlySequenceBufferRoundtripAsync(int size, SequenceKind kind) 278private static ReadOnlySequence<byte> Invent(int size, SequenceKind kind) 284case SequenceKind.FullArray: 289case SequenceKind.PaddedArray: 294case SequenceKind.CustomMemory: 298case SequenceKind.MultiSegment: 323case SequenceKind.CustomMemory or SequenceKind.MultiSegment when size == 0: 327case SequenceKind.MultiSegment: 330case SequenceKind.CustomMemory: 334case SequenceKind.FullArray: 342case SequenceKind.PaddedArray: