1 write to _head
System.ServiceModel.Primitives (1)
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
969
_head
= (_head + 1) % _maxSize;
16 references to _head
System.ServiceModel.Primitives (16)
System\ServiceModel\Channels\TransmissionStrategy.cs (16)
842
if (_tail >=
_head
)
843
return (_tail -
_head
);
845
return (_tail -
_head
+ _maxSize);
892
return _buffer[(
_head
+ index) % _maxSize].LastAttemptTime;
898
if (!_buffer[(
_head
+ index) % _maxSize].Transferred)
899
return _buffer[(
_head
+ index) % _maxSize].Buffer.CreateMessage();
907
return _buffer[(
_head
+ index) % _maxSize].RetryCount;
913
return _buffer[(
_head
+ index) % _maxSize].State;
919
return _buffer[(
_head
+ index) % _maxSize].Transferred;
943
if (_buffer[(
_head
+ index) % _maxSize].Transferred)
953
_buffer[(
_head
+ index) % _maxSize].LastAttemptTime = retryTime;
955
return ++_buffer[(
_head
+ index) % _maxSize].RetryCount;
967
_buffer[
_head
].Buffer.Close();
968
_buffer[
_head
].Buffer = null;
969
_head = (
_head
+ 1) % _maxSize;
976
_buffer[(
_head
+ index) % _maxSize].Transferred = true;