6 references to _buckets
System.Private.CoreLib (6)
src\libraries\System.Private.CoreLib\src\System\Buffers\SharedArrayPool.cs (6)
40
/// <summary>Allocate a new <see cref="SharedArrayPoolPartitions"/> and try to store it into the <see cref="
_buckets
"/> array.</summary>
44
return Interlocked.CompareExchange(ref
_buckets
[bucketIndex], inst, null) ?? inst;
76
SharedArrayPoolPartitions?[] perCoreBuckets =
_buckets
;
115
log.BufferAllocated(bufferId, buffer.Length, Id, ArrayPoolEventSource.NoBucketId, bucketIndex >=
_buckets
.Length ?
164
SharedArrayPoolPartitions partitionsForArraySize =
_buckets
[bucketIndex] ?? CreatePerCorePartitions(bucketIndex);
196
SharedArrayPoolPartitions?[] perCoreBuckets =
_buckets
;