1 instantiation of SharedArrayPoolPartitions
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (1)
43
var inst = new
SharedArrayPoolPartitions
();
9 references to SharedArrayPoolPartitions
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (9)
36
private readonly
SharedArrayPoolPartitions
?[] _buckets = new
SharedArrayPoolPartitions
[NumBuckets];
40
/// <summary>Allocate a new <see cref="
SharedArrayPoolPartitions
"/> and try to store it into the <see cref="_buckets"/> array.</summary>
41
private
SharedArrayPoolPartitions
CreatePerCorePartitions(int bucketIndex)
43
var
inst = new SharedArrayPoolPartitions();
76
SharedArrayPoolPartitions
?[] perCoreBuckets = _buckets;
79
SharedArrayPoolPartitions
? b = perCoreBuckets[bucketIndex];
164
SharedArrayPoolPartitions
partitionsForArraySize = _buckets[bucketIndex] ?? CreatePerCorePartitions(bucketIndex);
196
SharedArrayPoolPartitions
?[] perCoreBuckets = _buckets;