7 references to AvailableLength
Microsoft.Extensions.AI.OpenAI (7)
src\Shared\ServerSentEvents\ArrayBuffer.cs (7)
118
Debug.Assert(byteCount <=
AvailableLength
);
126
if (byteCount >
AvailableLength
)
134
Debug.Assert(
AvailableLength
< byteCount);
143
int totalFree = _activeStart +
AvailableLength
;
150
Debug.Assert(byteCount <=
AvailableLength
);
179
Debug.Assert(byteCount <=
AvailableLength
);
184
EnsureAvailableSpaceCore(
AvailableLength
+ 1);