17 overrides of MaxBufferSize
InMemory.FunctionalTests (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\Buffers.MemoryPool\PinnedBlockMemoryPool.cs (1)
24public override int MaxBufferSize { get; } = _blockSize;
System.Memory (1)
System\Buffers\ArrayMemoryPool.cs (1)
10public sealed override int MaxBufferSize => Array.MaxLength;
33 references to MaxBufferSize
http2cat (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
IIS.FunctionalTests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
IIS.LongTests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
IIS.NewHandler.FunctionalTests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
IIS.NewShim.FunctionalTests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
IIS.ShadowCopy.Tests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
IISExpress.FunctionalTests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
InMemory.FunctionalTests (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
56if (newSize <= memoryPool.MaxBufferSize)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
Microsoft.AspNetCore.Server.IIS (3)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
56if (newSize <= memoryPool.MaxBufferSize)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
Microsoft.AspNetCore.Server.Kestrel.Core (8)
Internal\Http\Http1OutputProducer.cs (3)
699if (minSize <= _memoryPool.MaxBufferSize) 752if (sizeHint <= _memoryPool.MaxBufferSize) 760else if (sizeHint <= MemoryPool<byte>.Shared.MaxBufferSize)
Internal\Http2\Http2OutputProducer.cs (1)
693if (minSize <= _memoryPool.MaxBufferSize)
Internal\Http3\Http3OutputProducer.cs (1)
259if (minSize <= _memoryPool.MaxBufferSize)
Internal\Infrastructure\PipeWriterHelpers\ConcurrentPipeWriter.cs (2)
359if (minSize <= _pool.MaxBufferSize) 362newSegment.SetOwnedMemory(_pool.Rent(GetSegmentSize(minSize, _pool.MaxBufferSize)));
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
Http1\Http1OutputProducerTests.cs (1)
173var bufferSize = _memoryPool.MaxBufferSize * 2;
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
src\Shared\Buffers.MemoryPool\DiagnosticMemoryPool.cs (1)
67public override int MaxBufferSize => _pool.MaxBufferSize;
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (1)
56if (newSize <= memoryPool.MaxBufferSize)
src\Shared\ServerInfrastructure\MemoryPoolExtensions.cs (1)
25return Math.Min(4096, pool.MaxBufferSize);
System.IO.Pipelines (3)
System\IO\Pipelines\Pipe.cs (1)
241maxSize = pool.MaxBufferSize;
System\IO\Pipelines\StreamPipeReader.cs (1)
516int maxSize = !_options.IsDefaultSharedMemoryPool ? _options.Pool.MaxBufferSize : -1;
System\IO\Pipelines\StreamPipeWriter.cs (1)
60_maxPooledBufferSize = _pool?.MaxBufferSize ?? -1;