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