11 instantiations of PinnedBlockMemoryPool
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (11)
ConcurrentPipeWriterTests.cs (5)
20
using (var memoryPool = new
PinnedBlockMemoryPool
())
83
using (var memoryPool = new
PinnedBlockMemoryPool
())
181
using (var memoryPool = new
PinnedBlockMemoryPool
())
265
using (var memoryPool = new
PinnedBlockMemoryPool
())
333
using (var memoryPool = new
PinnedBlockMemoryPool
())
DiagnosticMemoryPoolTests.cs (4)
14
protected override MemoryPool<byte> CreatePool() => new DiagnosticMemoryPool(new
PinnedBlockMemoryPool
());
179
var memoryPool = new DiagnosticMemoryPool(new
PinnedBlockMemoryPool
(), allowLateReturn: true);
189
var memoryPool = new DiagnosticMemoryPool(new
PinnedBlockMemoryPool
(), allowLateReturn: true);
205
var memoryPool = new DiagnosticMemoryPool(new
PinnedBlockMemoryPool
(), rentTracking: true);
PinnedBlockMemoryPoolTests.cs (1)
11
protected override MemoryPool<byte> CreatePool() => new
PinnedBlockMemoryPool
();
src\Shared\Buffers.MemoryPool\MemoryPoolFactory.cs (1)
19
return new
PinnedBlockMemoryPool
();
7 references to PinnedBlockMemoryPool
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (7)
ConcurrentPipeWriterTests.cs (5)
20
using (
var
memoryPool = new PinnedBlockMemoryPool())
83
using (
var
memoryPool = new PinnedBlockMemoryPool())
181
using (
var
memoryPool = new PinnedBlockMemoryPool())
265
using (
var
memoryPool = new PinnedBlockMemoryPool())
333
using (
var
memoryPool = new PinnedBlockMemoryPool())
src\Shared\Buffers.MemoryPool\MemoryPoolBlock.cs (2)
13
internal MemoryPoolBlock(
PinnedBlockMemoryPool
pool, int length)
25
public
PinnedBlockMemoryPool
Pool { get; }