1 write to Content
Interop.FunctionalTests (1)
HttpClientHttp2InteropTests.cs (1)
203Content = new byte[999]; // Intentionally not matching normal memory page sizes to ensure we stress boundaries.
8 references to Content
Interop.FunctionalTests (8)
HttpClientHttp2InteropTests.cs (8)
204for (var i = 0; i < Content.Length; i++) 206Content[i] = (byte)i; 216await stream.WriteAsync(Content, 0, Content.Length, timer.Token).DefaultTimeout(); 242Assert.True(totalRead <= Repetitions * Content.Length, "Too Long"); 246Assert.Equal(Content[patternOffset % Content.Length], buffer[offset]); 254Assert.True(totalRead == Repetitions * Content.Length, "Too Short");