141 references to Span
Microsoft.AspNetCore.Components.Server.Tests (1)
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (6)
BufferWriterTests.cs (6)
51writer.Write(new Span<byte>(array, 0, 0));
52writer.Write(new Span<byte>(array, array.Length, 0));
56writer.Write(new Span<byte>(array, offset, length));
64writer.Write(new Span<byte>(array, 0, array.Length));
80writer.Write(new Span<byte>(array, offset, length));
98writer.Write(new Span<byte>(array, 0, array.Length));
Microsoft.AspNetCore.SignalR.Common (1)
Microsoft.AspNetCore.SignalR.Protocols.Json (1)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (1)
Microsoft.AspNetCore.WebUtilities (3)
Microsoft.AspNetCore.WebUtilities.Tests (1)
Microsoft.CodeAnalysis.Workspaces (1)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.Logging.Console (1)
Microsoft.ML.CpuMath.PerformanceTests (22)
Microsoft.ML.Transforms (3)
Shared (1)
System.Collections.Immutable (4)
System.ComponentModel.TypeConverter (1)
System.Console (2)
System.Formats.Asn1 (3)
System.IO.Compression (4)
System.IO.Compression.Brotli (1)
System.IO.Packaging (1)
System.IO.Pipelines (1)
System.IO.Pipes (1)
System.Linq (1)
System.Linq.AsyncEnumerable (2)
System.Memory.Data (2)
System.Net.Http (3)
System.Net.Quic (1)
System.Net.Requests (1)
System.Net.Security (4)
System.Net.ServerSentEvents (1)
System.Net.Sockets (3)
System\Net\Sockets\SocketPal.Unix.cs (3)
1288bool completed = TryCompleteReceive(handle, new Span<byte>(buffer, offset, count), socketFlags, out bytesTransferred, out errorCode);
1318if (!TryCompleteReceiveMessageFrom(handle, new Span<byte>(buffer, offset, count), null, socketFlags, socketAddress.Buffer, out socketAddressLen, isIPv4, isIPv6, out bytesTransferred, out socketFlags, out ipPacketInformation, out errorCode))
1363bool completed = TryCompleteReceiveFrom(handle, new Span<byte>(buffer, offset, count), socketFlags, socketAddress.Span, out socketAddressLen, out bytesTransferred, out socketFlags, out errorCode);
System.Net.WebClient (1)
System.Net.WebSockets (3)
System.Private.CoreLib (29)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (5)
3747return new Span<T>(array, start, length);
3756return new Span<T>(segment.Array, segment.Offset, segment.Count);
3776return new Span<T>(segment.Array, segment.Offset + start, segment.Count - start);
3812return new Span<T>(segment.Array, segment.Offset + start, length);
3824return new Span<T>(segment.Array, segment.Offset + start, length);
System.Private.DataContractSerialization (2)
System.Reflection.Metadata (1)
System.Security.Cryptography (13)
System\Security\Cryptography\CryptoStream.cs (5)
362CryptographicOperations.ZeroMemory(new Span<byte>(_inputBuffer, 0, _inputBufferIndex));
396CryptographicOperations.ZeroMemory(new Span<byte>(tempOutputBuffer, 0, numOutputBytes));
417CryptographicOperations.ZeroMemory(new Span<byte>(tempInputBuffer, 0, numWholeBlocksInBytes));
611CryptographicOperations.ZeroMemory(new Span<byte>(tempOutputBuffer, 0, numOutputBytes));
617CryptographicOperations.ZeroMemory(new Span<byte>(tempOutputBuffer, 0, numOutputBytes));
System.Security.Cryptography.Pkcs (4)
System.Text.Json (6)
System.Windows.Forms (1)