2 writes to _usePool
Microsoft.Extensions.AI.OpenAI (2)
src\Shared\ServerSentEvents\ArrayBuffer.cs (2)
43
_usePool
= usePool;
55
_usePool
= false;
4 references to _usePool
Microsoft.Extensions.AI.OpenAI (4)
src\Shared\ServerSentEvents\ArrayBuffer.cs (4)
78
Debug.Assert(
_usePool
);
138
Debug.Assert(
_usePool
&& _activeStart == 0 && _availableStart == 0);
163
byte[] newBytes =
_usePool
?
191
if (
_usePool
&& buffer.Length > 0)