1 instantiation of PoolingPointerMemoryManager
System.Net.Security (1)
System\Net\Security\SslStream.cs (1)
731
var manager = Interlocked.Exchange(ref field, null) ?? new
PoolingPointerMemoryManager
();
9 references to PoolingPointerMemoryManager
System.Net.Security (9)
System\Net\Security\SslStream.cs (9)
180
private
PoolingPointerMemoryManager
? _readPointerMemoryManager;
181
private
PoolingPointerMemoryManager
? _writePointerMemoryManager;
728
private static unsafe
PoolingPointerMemoryManager
RentPointerMemoryManager(ref
PoolingPointerMemoryManager
? field, byte* pointer, int length)
731
var
manager = Interlocked.Exchange(ref field, null) ?? new PoolingPointerMemoryManager();
737
private static unsafe void ReturnPointerMemoryManager(ref
PoolingPointerMemoryManager
? field,
PoolingPointerMemoryManager
manager)
785
PoolingPointerMemoryManager
memoryManager = RentPointerMemoryManager(ref _readPointerMemoryManager, ptr, buffer.Length);
817
PoolingPointerMemoryManager
memoryManager = RentPointerMemoryManager(ref _writePointerMemoryManager, ptr, buffer.Length);