1 write to Content
Interop.FunctionalTests (1)
HttpClientHttp2InteropTests.cs (1)
203
Content
= 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)
204
for (var i = 0; i <
Content
.Length; i++)
206
Content
[i] = (byte)i;
216
await stream.WriteAsync(
Content
, 0,
Content
.Length, timer.Token).DefaultTimeout();
242
Assert.True(totalRead <= Repetitions *
Content
.Length, "Too Long");
246
Assert.Equal(
Content
[patternOffset %
Content
.Length], buffer[offset]);
254
Assert.True(totalRead == Repetitions *
Content
.Length, "Too Short");