1811 references to Shared
Aspire.Dashboard (2)
Aspire.Hosting (2)
dotnet (8)
dotnet.Tests (4)
dotnet-watch (16)
illink (4)
ILLink.RoslynAnalyzer (4)
Metrics (6)
Metrics.Legacy (6)
Microsoft.AspNetCore.Components (14)
Microsoft.AspNetCore.Components.Endpoints (18)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Microsoft.AspNetCore.Components.Forms (1)
Microsoft.AspNetCore.Components.Server (17)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.WebAssembly (2)
Microsoft.AspNetCore.Components.WebView (3)
Microsoft.AspNetCore.DataProtection (2)
Microsoft.AspNetCore.Diagnostics.Middleware (1)
Microsoft.AspNetCore.Http (2)
Microsoft.AspNetCore.Http.Abstractions (3)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Extensions (18)
Microsoft.AspNetCore.Http.Results (2)
Microsoft.AspNetCore.HttpLogging (9)
Microsoft.AspNetCore.Identity (5)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.Mvc.Core.Test (3)
ModelBinding\Binders\BodyModelBinderTests.cs (2)
772: base(GetLogger(), new JsonSerializerSettings(), ArrayPool<char>.Shared, new DefaultObjectPoolProvider(), new MvcOptions(), new MvcNewtonsoftJsonOptions()
842: base(GetLogger(), new JsonSerializerSettings(), ArrayPool<char>.Shared, new DefaultObjectPoolProvider(), new MvcOptions(), new MvcNewtonsoftJsonOptions()
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (26)
NewtonsoftJsonInputFormatterTest.cs (12)
32ArrayPool<char>.Shared,
68ArrayPool<char>.Shared,
104ArrayPool<char>.Shared,
317ArrayPool<char>.Shared,
352ArrayPool<char>.Shared,
383ArrayPool<char>.Shared,
414ArrayPool<char>.Shared,
443ArrayPool<char>.Shared,
491ArrayPool<char>.Shared,
539ArrayPool<char>.Shared,
566: base(GetLogger(), settings, ArrayPool<char>.Shared, objectPoolProvider, new MvcOptions(), new MvcNewtonsoftJsonOptions())
588ArrayPool<char>.Shared,
NewtonsoftJsonOutputFormatterTest.cs (7)
22return new NewtonsoftJsonOutputFormatter(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
76var jsonFormatter = new NewtonsoftJsonOutputFormatter(settings, ArrayPool<char>.Shared, new MvcOptions());
106var jsonFormatter = new NewtonsoftJsonOutputFormatter(settings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions()
133var jsonFormatter = new NewtonsoftJsonOutputFormatter(settings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
351var formatter = new NewtonsoftJsonOutputFormatter(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
382var formatter = new NewtonsoftJsonOutputFormatter(new JsonSerializerSettings(), ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions());
555: base(serializerSettings, ArrayPool<char>.Shared, new MvcOptions(), new MvcNewtonsoftJsonOptions())
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
Microsoft.AspNetCore.Mvc.Views.TestCommon (1)
Microsoft.AspNetCore.OpenApi (3)
Microsoft.AspNetCore.OutputCaching (8)
Microsoft.AspNetCore.OutputCaching.Microbenchmarks (6)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (2)
Microsoft.AspNetCore.OutputCaching.Tests (3)
Microsoft.AspNetCore.Owin (2)
Microsoft.AspNetCore.Server.Kestrel.Core (19)
Microsoft.AspNetCore.Shared.Tests (1)
Microsoft.AspNetCore.SignalR.Client.Tests (3)
Microsoft.AspNetCore.SignalR.Common (3)
Microsoft.AspNetCore.SignalR.Common.Tests (2)
Microsoft.AspNetCore.SignalR.Core (2)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (3)
Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson (4)
Microsoft.AspNetCore.SignalR.Specification.Tests (3)
Microsoft.AspNetCore.SignalR.StackExchangeRedis (3)
Microsoft.AspNetCore.WebSockets (7)
Microsoft.AspNetCore.WebUtilities (20)
Microsoft.AspNetCore.WebUtilities.Tests (42)
HttpRequestStreamReaderTest.cs (14)
359var httpRequestStreamReader = new HttpRequestStreamReader(new MemoryStream(), Encoding.UTF8, size, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
370var httpRequestStreamReader = new HttpRequestStreamReader(mockStream.Object, Encoding.UTF8, 1, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
378var httpRequestStreamReader = new HttpRequestStreamReader(new MemoryStream(), Encoding.UTF8, 10, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
391var httpRequestStreamReader = new HttpRequestStreamReader(new MemoryStream(), Encoding.UTF8, 10, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
441yield return new object?[] { null, Encoding.UTF8, ArrayPool<byte>.Shared, ArrayPool<char>.Shared };
442yield return new object?[] { new MemoryStream(), null, ArrayPool<byte>.Shared, ArrayPool<char>.Shared };
443yield return new object?[] { new MemoryStream(), Encoding.UTF8, null, ArrayPool<char>.Shared };
444yield return new object?[] { new MemoryStream(), Encoding.UTF8, ArrayPool<byte>.Shared, null };
HttpResponseStreamWriterTest.cs (16)
695ArrayPool<byte>.Shared,
696ArrayPool<char>.Shared))
747var httpRequestStreamReader = new HttpRequestStreamReader(new MemoryStream(), Encoding.UTF8, size, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
758var httpRequestStreamReader = new HttpRequestStreamReader(mockStream.Object, Encoding.UTF8, 1, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
766var httpResponseStreamWriter = new HttpResponseStreamWriter(new MemoryStream(), Encoding.UTF8, 10, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
779var httpResponseStreamWriter = new HttpResponseStreamWriter(new MemoryStream(), Encoding.UTF8, 10, ArrayPool<byte>.Shared, ArrayPool<char>.Shared);
848yield return new object?[] { null, Encoding.UTF8, ArrayPool<byte>.Shared, ArrayPool<char>.Shared };
849yield return new object?[] { new MemoryStream(), null, ArrayPool<byte>.Shared, ArrayPool<char>.Shared };
850yield return new object?[] { new MemoryStream(), Encoding.UTF8, null, ArrayPool<char>.Shared };
851yield return new object?[] { new MemoryStream(), Encoding.UTF8, ArrayPool<byte>.Shared, null };
Microsoft.Build (6)
Microsoft.Build.Tasks.Core (8)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.Analyzers (6)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.CSharp (4)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.DotNet.HotReload.Agent.PipeRpc.Package (14)
Microsoft.DotNet.HotReload.Client.Package (16)
Microsoft.DotNet.HotReload.Client.Tests (16)
Microsoft.DotNet.MSBuildSdkResolver (4)
Microsoft.DotNet.TemplateLocator (4)
Microsoft.Extensions.AI (8)
Microsoft.Extensions.AI.Abstractions (8)
Microsoft.Extensions.AI.AzureAIInference (2)
Microsoft.Extensions.AI.OpenAI (14)
Microsoft.Extensions.Caching.Hybrid (27)
Microsoft.Extensions.Caching.Hybrid.Tests (11)
Microsoft.Extensions.Caching.SqlServer (4)
Microsoft.Extensions.Caching.StackExchangeRedis (2)
Microsoft.Extensions.Compliance.Abstractions (4)
Microsoft.Extensions.DependencyModel (6)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (4)
Microsoft.Extensions.DotNetDeltaApplier (16)
Microsoft.Extensions.Http.Diagnostics (4)
Microsoft.Extensions.Logging.Abstractions (4)
Microsoft.Extensions.Logging.Console (6)
Microsoft.Extensions.Logging.Generators (3)
Microsoft.Extensions.Options.Contextual (2)
Microsoft.Extensions.ServiceDiscovery.Dns (13)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (8)
Microsoft.Extensions.ServiceDiscovery.Dns.Tests.Fuzzing (4)
Microsoft.Extensions.Telemetry (8)
Microsoft.JSInterop (3)
Microsoft.ML.Core (2)
Microsoft.ML.ImageAnalytics (1)
Microsoft.ML.Tokenizers (184)
Model\SentencePieceUnigramModel.cs (40)
112int[] buffer = ArrayPool<int>.Shared.Rent(textToEncode.Length * 3);
115char[] normalizedString = ArrayPool<char>.Shared.Rent(textToEncode.Length + 2);
126ArrayPool<char>.Shared.Return(normalizedString);
127ArrayPool<int>.Shared.Return(buffer);
149char[] utf16NormalizedString = ArrayPool<char>.Shared.Rent(normalizedString.Length << 1);
151ArrayPool<char>.Shared.Return(normalizedString);
166char[] utf16NormalizedString = ArrayPool<char>.Shared.Rent(normalizedString.Length << 1);
168ArrayPool<char>.Shared.Return(normalizedString);
313ArrayPool<byte>.Shared.Return(normalizedArrayPool);
345BestPathNode[] bestPathEndsAt = ArrayPool<BestPathNode>.Shared.Rent(normalizationSpan.Length + 1);
405ArrayPool<BestPathNode>.Shared.Return(bestPathEndsAt);
408ArrayPool<byte>.Shared.Return(normalizedArrayPool);
584int[] buffer = ArrayPool<int>.Shared.Rent(textToEncode.Length * 3);
587char[]? normalizedString = maxTokenCount == int.MaxValue ? null : ArrayPool<char>.Shared.Rent(textToEncode.Length + 2);
605ArrayPool<char>.Shared.Return(normalizedString);
608ArrayPool<int>.Shared.Return(buffer);
627ArrayPool<byte>.Shared.Return(normalizedArrayPool);
785BestPathNode[] bestPathEndsAt = ArrayPool<BestPathNode>.Shared.Rent(normalizationSpan.Length + 1);
808unknownTokensTracking = ArrayPool<(int IdsIndex, int Utf8Index, int Utf8Length)>.Shared.Rent(10);
821ArrayPool<BestPathNode>.Shared.Return(bestPathEndsAt);
857ArrayPool<byte>.Shared.Return(normalizedArrayPool);
931ArrayPool<(int IdsIndex, int Utf8Index, int Utf8Length)>.Shared.Return(unknownTokensTracking);
936ArrayPool<byte>.Shared.Return(normalizedArrayPool);
974int[] buffer = ArrayPool<int>.Shared.Rent(textToEncode.Length * 3);
977char[]? normalizedString = maxTokenCount == int.MaxValue ? null : ArrayPool<char>.Shared.Rent(textToEncode.Length + 2);
995ArrayPool<char>.Shared.Return(normalizedString);
998ArrayPool<int>.Shared.Return(buffer);
1116BestPathNode[] bestPathEndsAt = ArrayPool<BestPathNode>.Shared.Rent(normalizationSpan.Length + 1);
1122(int Id, int UtfStartOffset, int Utf8Length)[] ids = ArrayPool<(int Id, int UtfStartOffset, int Utf8Length)>.Shared.Rent(bestPathEndsAt.Length);
1142ArrayPool<BestPathNode>.Shared.Return(bestPathEndsAt);
1155ArrayPool<(int Id, int UtfStartOffset, int Utf8Length)>.Shared.Return(ids);
1159ArrayPool<byte>.Shared.Return(normalizedArrayPool);
1197ArrayPool<(int Id, int UtfStartOffset, int Utf8Length)>.Shared.Return(ids);
1206ArrayPool<byte>.Shared.Return(normalizedArrayPool);
1241int[] buffer = ArrayPool<int>.Shared.Rent(textToEncode.Length * 3);
1244char[]? normalizedString = maxTokenCount == int.MaxValue ? null : ArrayPool<char>.Shared.Rent(textToEncode.Length + 2);
1262ArrayPool<int>.Shared.Return(buffer);
1367BestPathNode[] bestPathEndsAt = ArrayPool<BestPathNode>.Shared.Rent(normalizationSpan.Length + 1);
1420ArrayPool<BestPathNode>.Shared.Return(bestPathEndsAt);
1423ArrayPool<byte>.Shared.Return(normalizedArrayPool);
Microsoft.ML.Tokenizers.Tests (11)
Microsoft.NET.Build.Tasks (4)
Microsoft.Net.Http.Headers (4)
Microsoft.NET.Sdk.WorkloadManifestReader (4)
MSBuild (2)
PresentationCore (3)
PresentationFramework (2)
Roslyn.Diagnostics.Analyzers (6)
Shared (14)
System.Collections.Immutable (22)
System.Console (6)
System.Diagnostics.DiagnosticSource (4)
System.Diagnostics.Process (15)
System.Drawing.Common (2)
System.Formats.Asn1 (2)
System.Formats.Nrbf (2)
System.Formats.Tar (33)
System.IO.Compression (18)
System.IO.Compression.Brotli (2)
System.IO.Compression.ZipFile (2)
System.IO.FileSystem.Watcher (4)
System.IO.Packaging (2)
System.IO.Pipelines (4)
System.Linq (4)
System.Memory (6)
System.Net.Http (36)
System.Net.Mail (4)
System.Net.Ping (2)
System.Net.Primitives (2)
System.Net.Quic (15)
System.Net.Security (26)
System.Net.ServerSentEvents (12)
System.Net.WebSockets (20)
System.Numerics.Tensors (11)
System.Private.CoreLib (151)
System.Private.CoreLib.Generators (3)
System.Private.Uri (7)
System.Private.Windows.Core (10)
System.Private.Xml (4)
System.Reflection.Metadata (6)
System.Runtime.Numerics (164)
System\Number.BigInteger.cs (29)
97buffer = arrayFromPool = ArrayPool<byte>.Shared.Rent(value.Length + 1 + 1);
119ArrayPool<byte>.Shared.Return(arrayFromPool);
360: base1E9FromPool = ArrayPool<uint>.Shared.Rent(base1E9Length)).Slice(0, base1E9Length);
386: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(resultLength)).Slice(0, resultLength);
404ArrayPool<uint>.Shared.Return(base1E9FromPool);
406ArrayPool<uint>.Shared.Return(resultBufferFromPool);
419: powersOf1e9BufferFromPool = ArrayPool<uint>.Shared.Rent(powersOf1e9BufferLength)).Slice(0, powersOf1e9BufferLength);
431: leadingFromPool = ArrayPool<uint>.Shared.Rent(leadingLength)).Slice(0, leadingLength);
440ArrayPool<uint>.Shared.Return(leadingFromPool);
448ArrayPool<uint>.Shared.Return(powersOf1e9BufferFromPool);
478: bufferFromPool = ArrayPool<uint>.Shared.Rent(bufferLength)).Slice(0, bufferLength);
497ArrayPool<uint>.Shared.Return(bufferFromPool);
569bits = arrayToReturnToPool = ArrayPool<byte>.Shared.Rent(bytesWrittenOrNeeded);
627ArrayPool<byte>.Shared.Return(arrayToReturnToPool);
652bytes = arrayToReturnToPool = ArrayPool<byte>.Shared.Rent(bytesWrittenOrNeeded);
668ArrayPool<byte>.Shared.Return(arrayToReturnToPool);
731ArrayPool<byte>.Shared.Return(arrayToReturnToPool);
822(base1E9BufferFromPool = ArrayPool<uint>.Shared.Rent(base1E9BufferLength))).Slice(0, base1E9BufferLength);
890(numberBufferToReturn = ArrayPool<byte>.Shared.Rent(valueDigits + 1));
935ArrayPool<byte>.Shared.Return(numberBufferToReturn);
942ArrayPool<uint>.Shared.Return(base1E9BufferFromPool);
992: powersOf1e9BufferFromPool = ArrayPool<uint>.Shared.Rent(powersOf1e9BufferLength)).Slice(0, powersOf1e9BufferLength);
1001ArrayPool<uint>.Shared.Return(powersOf1e9BufferFromPool);
1029: upperFromPool = ArrayPool<uint>.Shared.Rent(upperLength)).Slice(0, upperLength);
1035: lowerFromPool = ArrayPool<uint>.Shared.Rent(lowerLength)).Slice(0, lowerLength);
1052ArrayPool<uint>.Shared.Return(lowerFromPool);
1064ArrayPool<uint>.Shared.Return(upperFromPool);
1309: powersOfTenFromPool = ArrayPool<uint>.Shared.Rent(bits.Length)).Slice(0, bits.Length);
1369ArrayPool<uint>.Shared.Return(powersOfTenFromPool);
System\Numerics\BigInteger.cs (60)
799: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
812ArrayPool<uint>.Shared.Return(bitsFromPool);
829: remainderFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
835: quotientFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
843ArrayPool<uint>.Shared.Return(remainderFromPool);
846ArrayPool<uint>.Shared.Return(quotientFromPool);
952: bitsFromPool = ArrayPool<uint>.Shared.Rent(leftBits.Length)).Slice(0, leftBits.Length);
965: bitsFromPool = ArrayPool<uint>.Shared.Rent(leftBits.Length)).Slice(0, leftBits.Length);
972ArrayPool<uint>.Shared.Return(bitsFromPool);
1020: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1045ArrayPool<uint>.Shared.Return(bitsFromPool);
1080: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1091: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1099ArrayPool<uint>.Shared.Return(bitsFromPool);
1713: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1725: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1737: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1749: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1756ArrayPool<uint>.Shared.Return(bitsFromPool);
1791: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1803: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1813: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1825: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1832ArrayPool<uint>.Shared.Return(bitsFromPool);
2418: leftBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2425: rightBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2432: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2442ArrayPool<uint>.Shared.Return(leftBufferFromPool);
2445ArrayPool<uint>.Shared.Return(rightBufferFromPool);
2450ArrayPool<uint>.Shared.Return(resultBufferFromPool);
2474: leftBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2481: rightBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2488: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2498ArrayPool<uint>.Shared.Return(leftBufferFromPool);
2501ArrayPool<uint>.Shared.Return(rightBufferFromPool);
2506ArrayPool<uint>.Shared.Return(resultBufferFromPool);
2525: leftBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2532: rightBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2539: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2549ArrayPool<uint>.Shared.Return(leftBufferFromPool);
2552ArrayPool<uint>.Shared.Return(rightBufferFromPool);
2557ArrayPool<uint>.Shared.Return(resultBufferFromPool);
2682: zFromPool = ArrayPool<uint>.Shared.Rent(zLength)).Slice(0, zLength);
2703ArrayPool<uint>.Shared.Return(zFromPool);
2776: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2788: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2798: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2810: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2823: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2831ArrayPool<uint>.Shared.Return(bitsFromPool);
2865: quotientFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2876ArrayPool<uint>.Shared.Return(quotientFromPool);
2891: quotientFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2897ArrayPool<uint>.Shared.Return(quotientFromPool);
2941: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2947ArrayPool<uint>.Shared.Return(bitsFromPool);
3338: zFromPool = ArrayPool<uint>.Shared.Rent(zLength)).Slice(0, zLength);
3367ArrayPool<uint>.Shared.Return(zFromPool);
5176: zFromPool = ArrayPool<uint>.Shared.Rent(zLength)).Slice(0, zLength);
5219ArrayPool<uint>.Shared.Return(zFromPool);
System\Numerics\BigIntegerCalculator.DivRem.cs (24)
107: leftCopyFromPool = ArrayPool<uint>.Shared.Rent(left.Length)).Slice(0, left.Length);
113ArrayPool<uint>.Shared.Return(leftCopyFromPool);
143: quotientFromPool = ArrayPool<uint>.Shared.Rent(quotientLength)).Slice(0, quotientLength);
148ArrayPool<uint>.Shared.Return(quotientFromPool);
180: leftCopyFromPool = ArrayPool<uint>.Shared.Rent(left.Length)).Slice(0, left.Length);
192: quotientActualFromPool = ArrayPool<uint>.Shared.Rent(quotientLength)).Slice(0, quotientLength);
202ArrayPool<uint>.Shared.Return(quotientActualFromPool);
204ArrayPool<uint>.Shared.Return(leftCopyFromPool);
386: bFromPool = ArrayPool<uint>.Shared.Rent(n)).Slice(0, n);
400: aFromPool = ArrayPool<uint>.Shared.Rent(aLength)).Slice(0, aLength);
440: rFromPool = ArrayPool<uint>.Shared.Rent(n + 1)).Slice(0, n + 1);
445: zFromPool = ArrayPool<uint>.Shared.Rent(2 * n)).Slice(0, 2 * n);
455: qFromPool = ArrayPool<uint>.Shared.Rent(n)).Slice(0, n);
463ArrayPool<uint>.Shared.Return(qFromPool);
479ArrayPool<uint>.Shared.Return(zFromPool);
481ArrayPool<uint>.Shared.Return(bFromPool);
483ArrayPool<uint>.Shared.Return(aFromPool);
515ArrayPool<uint>.Shared.Return(rFromPool);
568: r1FromPool = ArrayPool<uint>.Shared.Rent(left.Length)).Slice(0, left.Length);
588ArrayPool<uint>.Shared.Return(r1FromPool);
612: r1FromPool = ArrayPool<uint>.Shared.Rent(right.Length + 1)).Slice(0, right.Length + 1);
618ArrayPool<uint>.Shared.Return(r1FromPool);
641: dFromPool = ArrayPool<uint>.Shared.Rent(right.Length)).Slice(0, right.Length);
681ArrayPool<uint>.Shared.Return(dFromPool);
System\Numerics\BigIntegerCalculator.PowMod.cs (28)
28: tempFromPool = ArrayPool<uint>.Shared.Rent(bits.Length)).Slice(0, bits.Length);
34: valueCopyFromPool = ArrayPool<uint>.Shared.Rent(bits.Length)).Slice(0, bits.Length);
43ArrayPool<uint>.Shared.Return(tempFromPool);
45ArrayPool<uint>.Shared.Return(valueCopyFromPool);
221: valueCopyFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
240: tempFromPool = ArrayPool<uint>.Shared.Rent(bits.Length)).Slice(0, bits.Length);
246ArrayPool<uint>.Shared.Return(valueCopyFromPool);
248ArrayPool<uint>.Shared.Return(tempFromPool);
270: valueCopyFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
289: tempFromPool = ArrayPool<uint>.Shared.Rent(bits.Length)).Slice(0, bits.Length);
295ArrayPool<uint>.Shared.Return(valueCopyFromPool);
297ArrayPool<uint>.Shared.Return(tempFromPool);
328: rFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
335: muFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
342: q1FromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
348: q2FromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
354ArrayPool<uint>.Shared.Return(rFromPool);
361ArrayPool<uint>.Shared.Return(muFromPool);
363ArrayPool<uint>.Shared.Return(q1FromPool);
365ArrayPool<uint>.Shared.Return(q2FromPool);
388: rFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
395: muFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
402: q1FromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
408: q2FromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
414ArrayPool<uint>.Shared.Return(rFromPool);
421ArrayPool<uint>.Shared.Return(muFromPool);
423ArrayPool<uint>.Shared.Return(q1FromPool);
425ArrayPool<uint>.Shared.Return(q2FromPool);
System.Security.Cryptography (75)
System.Security.Cryptography.Cose (16)
System.Security.Cryptography.Pkcs (2)
System.ServiceModel.NetFramingBase (12)
System.Text.Encodings.Web (6)
System.Text.Json (204)
System.Text.Json.SourceGeneration (7)
System.Text.RegularExpressions (13)
System.Text.RegularExpressions.Generator (7)
System.Web.HttpUtility (8)
System.Windows.Forms.UI.IntegrationTests (1)
Text.Analyzers (6)
TlsFeaturesObserve (1)