24 references to WrittenSpan
Microsoft.Extensions.Diagnostics.ResourceMonitoring (24)
Linux\LinuxUtilizationParserCgroupV1.cs (12)
102
ReadOnlySpan<char> usage = bufferWriter.Buffer.
WrittenSpan
;
123
ReadOnlySpan<char> stat = bufferWriter.Buffer.
WrittenSpan
;
126
if (!bufferWriter.Buffer.
WrittenSpan
.StartsWith(StartingTokens))
128
Throw.InvalidOperationException($"Expected proc/stat to start with '{StartingTokens}' but it was '{new string(bufferWriter.Buffer.
WrittenSpan
)}'.");
189
ReadOnlySpan<char> memoryBuffer = bufferWriter.Buffer.
WrittenSpan
;
209
ReadOnlySpan<char> memoryFile = bufferWriter.Buffer.
WrittenSpan
;
230
ReadOnlySpan<char> containerMemoryUsageFile = bufferWriter.Buffer.
WrittenSpan
;
261
ReadOnlySpan<char> firstLine = bufferWriter.Buffer.
WrittenSpan
;
306
ReadOnlySpan<char> stats = bufferWriter.Buffer.
WrittenSpan
;
407
ReadOnlySpan<char> quotaBuffer = bufferWriter.Buffer.
WrittenSpan
;
425
ReadOnlySpan<char> periodBuffer = bufferWriter.Buffer.
WrittenSpan
;
462
ReadOnlySpan<char> cpuPodWeightBuffer = bufferWriter.Buffer.
WrittenSpan
;
Linux\LinuxUtilizationParserCgroupV2.cs (12)
111
ReadOnlySpan<char> usage = bufferWriter.Buffer.
WrittenSpan
;
141
ReadOnlySpan<char> stat = bufferWriter.Buffer.
WrittenSpan
;
144
if (!bufferWriter.Buffer.
WrittenSpan
.StartsWith(StartingTokens))
146
Throw.InvalidOperationException($"Expected proc/stat to start with '{StartingTokens}' but it was '{new string(bufferWriter.Buffer.
WrittenSpan
)}'.");
219
ReadOnlySpan<char> memoryBuffer = bufferWriter.Buffer.
WrittenSpan
;
257
ReadOnlySpan<char> memoryUsageFile = bufferWriter.Buffer.
WrittenSpan
;
294
memoryFile = bufferWriter.Buffer.
WrittenSpan
;
343
ReadOnlySpan<char> firstLine = bufferWriter.Buffer.
WrittenSpan
;
388
ReadOnlySpan<char> stats = bufferWriter.Buffer.
WrittenSpan
;
498
ReadOnlySpan<char> quotaBuffer = bufferWriter.Buffer.
WrittenSpan
;
547
ReadOnlySpan<char> cpuPodWeightBuffer = bufferWriter.Buffer.
WrittenSpan
;
586
ReadOnlySpan<char> memoryUsageFile = bufferWriter.Buffer.
WrittenSpan
;