1 instantiation of SharedArrayPoolPartitions
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (1)
43var inst = new SharedArrayPoolPartitions();
9 references to SharedArrayPoolPartitions
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (9)
36private 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> 41private SharedArrayPoolPartitions CreatePerCorePartitions(int bucketIndex) 43var inst = new SharedArrayPoolPartitions(); 76SharedArrayPoolPartitions?[] perCoreBuckets = _buckets; 79SharedArrayPoolPartitions? b = perCoreBuckets[bucketIndex]; 164SharedArrayPoolPartitions partitionsForArraySize = _buckets[bucketIndex] ?? CreatePerCorePartitions(bucketIndex); 196SharedArrayPoolPartitions?[] perCoreBuckets = _buckets;