23 implementations of GetMemory
Microsoft.AspNetCore.Components.Server (3)
BlazorPack\SequenceOfT.cs (1)
177public Memory<T> GetMemory(int sizeHint) => this.GetSegment(sizeHint).RemainingMemory;
src\Shared\PooledArrayBufferWriter.cs (1)
126public Memory<T> GetMemory(int sizeHint = 0)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
src\Shared\BufferWriterPool\BufferWriter.cs (1)
139public Memory<T> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.Http.Connections (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.HttpLogging (1)
BufferingStream.cs (1)
118public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
src\Shared\PooledArrayBufferWriter.cs (1)
126public Memory<T> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.OpenApi (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.OutputCaching (1)
RecyclableArrayBufferWriter.cs (1)
63public Memory<T> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.Client.Tests (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.Common (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Internal\Protocol\Utf8BufferTextWriterTests.cs (1)
365public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.Specification.Tests (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (1)
src\SignalR\common\Shared\MemoryBufferWriter.cs (1)
109public Memory<byte> GetMemory(int sizeHint = 0)
Microsoft.Extensions.Caching.Hybrid (1)
Internal\RecyclableArrayBufferWriter.cs (1)
116public Memory<T> GetMemory(int sizeHint = 0)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (1)
src\Shared\BufferWriterPool\BufferWriter.cs (1)
139public Memory<T> GetMemory(int sizeHint = 0)
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\BufferWriterPool\BufferWriter.cs (1)
139public Memory<T> GetMemory(int sizeHint = 0)
Shared (1)
BufferWriterPool\BufferWriter.cs (1)
139public Memory<T> GetMemory(int sizeHint = 0)
System.IO.Pipelines (1)
System\IO\Pipelines\PipeWriter.cs (1)
72public abstract Memory<byte> GetMemory(int sizeHint = 0);
System.Memory (1)
src\libraries\Common\src\System\Buffers\ArrayBufferWriter.cs (1)
161public Memory<T> GetMemory(int sizeHint = 0)
System.Net.ServerSentEvents (1)
System\Net\ServerSentEvents\PooledByteBufferWriter.cs (1)
16public Memory<byte> GetMemory(int sizeHint = 0)
10 references to GetMemory
Microsoft.AspNetCore.Components.Server (2)
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\BufferWriter.cs (1)
31/// The result of the last call to <see cref="IBufferWriter{T}.GetMemory(int)"/>, less any bytes already "consumed" with <see cref="Advance(int)"/>.
src\submodules\MessagePack-CSharp\src\MessagePack.UnityClient\Assets\Scripts\MessagePack\Utilities.cs (1)
38var memory = bufferWriter.GetMemory(size);
Microsoft.AspNetCore.Http.Connections.Common (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
162_memory = _bufferWriter!.GetMemory(MaximumBytesPerUtf8Char);
Microsoft.AspNetCore.OpenApi (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
162_memory = _bufferWriter!.GetMemory(MaximumBytesPerUtf8Char);
Microsoft.AspNetCore.SignalR.Common (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
162_memory = _bufferWriter!.GetMemory(MaximumBytesPerUtf8Char);
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
162_memory = _bufferWriter!.GetMemory(MaximumBytesPerUtf8Char);
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
src\SignalR\common\Shared\Utf8BufferTextWriter.cs (1)
162_memory = _bufferWriter!.GetMemory(MaximumBytesPerUtf8Char);
Microsoft.Extensions.Caching.SqlServer (1)
DatabaseOperations.cs (1)
324var memory = destination.GetMemory(DefaultPageSize); // start from the page size
System.Text.Json (2)
System\Text\Json\Writer\Utf8JsonWriter.cs (2)
1219_memory = _output.GetMemory(sizeHint); 1244_memory = _output.GetMemory(sizeHint);