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