1 instantiation of Sequence
Microsoft.AspNetCore.Components.Server (1)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequencePool.cs (1)
99
return new Rental(this, new
Sequence
<byte>(this.arrayPool) { MinimumSpanLength = MinimumSpanLength });
15 references to Sequence
Microsoft.AspNetCore.Components.Server (15)
BlazorPack\SequenceOfT.cs (5)
36
/// Initializes a new instance of the <see cref="
Sequence
{T}"/> class
45
/// Initializes a new instance of the <see cref="
Sequence
{T}"/> class.
55
/// Initializes a new instance of the <see cref="
Sequence
{T}"/> class.
106
public static implicit operator ReadOnlySequence<T>(
Sequence
<T> sequence)
309
/// <remarks>This may be nonzero as a result of calling <see cref="
Sequence
{T}.AdvanceTo(SequencePosition)"/>.</remarks>
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\SequencePool.cs (10)
22
/// A thread-safe pool of reusable <see cref="
Sequence
{T}"/> objects.
27
/// The value to use for <see cref="
Sequence
{T}.MinimumSpanLength"/>.
30
/// Individual users that want a different value for this can modify the setting on the rented <see cref="
Sequence
{T}"/>
40
private readonly Stack<
Sequence
<byte>> pool = new Stack<
Sequence
<byte>>();
43
/// The array pool which we share with all <see cref="
Sequence
{T}"/> objects created by this <see cref="SequencePool"/> instance.
83
/// Gets an instance of <see cref="
Sequence
{T}"/>
102
private void Return(
Sequence
<byte> value)
121
internal Rental(SequencePool owner,
Sequence
<byte> value)
130
public
Sequence
<byte> Value { get; }