1699 references to Shared
Aspire.Dashboard (2)
Aspire.Hosting (2)
GenerateDocumentationAndConfigFiles (6)
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.CodeAnalysis (4)
Microsoft.CodeAnalysis.Analyzers (6)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.BannedApiAnalyzers (6)
Microsoft.CodeAnalysis.CodeStyle (6)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (6)
Microsoft.CodeAnalysis.PublicApiAnalyzers (6)
Microsoft.CodeAnalysis.ResxSourceGenerator (6)
Microsoft.CodeAnalysis.Workspaces (6)
Microsoft.Extensions.AI (6)
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.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 (180)
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.Http.Headers (4)
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 (147)
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 (176)
System\Number.BigInteger.cs (29)
96buffer = arrayFromPool = ArrayPool<byte>.Shared.Rent(value.Length + 1 + 1);
118ArrayPool<byte>.Shared.Return(arrayFromPool);
358: base1E9FromPool = ArrayPool<uint>.Shared.Rent(base1E9Length)).Slice(0, base1E9Length);
384: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(resultLength)).Slice(0, resultLength);
402ArrayPool<uint>.Shared.Return(base1E9FromPool);
404ArrayPool<uint>.Shared.Return(resultBufferFromPool);
417: powersOf1e9BufferFromPool = ArrayPool<uint>.Shared.Rent(powersOf1e9BufferLength)).Slice(0, powersOf1e9BufferLength);
429: leadingFromPool = ArrayPool<uint>.Shared.Rent(leadingLength)).Slice(0, leadingLength);
438ArrayPool<uint>.Shared.Return(leadingFromPool);
446ArrayPool<uint>.Shared.Return(powersOf1e9BufferFromPool);
476: bufferFromPool = ArrayPool<uint>.Shared.Rent(bufferLength)).Slice(0, bufferLength);
495ArrayPool<uint>.Shared.Return(bufferFromPool);
566bits = arrayToReturnToPool = ArrayPool<byte>.Shared.Rent(bytesWrittenOrNeeded);
624ArrayPool<byte>.Shared.Return(arrayToReturnToPool);
648bytes = arrayToReturnToPool = ArrayPool<byte>.Shared.Rent(bytesWrittenOrNeeded);
664ArrayPool<byte>.Shared.Return(arrayToReturnToPool);
727ArrayPool<byte>.Shared.Return(arrayToReturnToPool);
811(base1E9BufferFromPool = ArrayPool<uint>.Shared.Rent(base1E9BufferLength))).Slice(0, base1E9BufferLength);
869(numberBufferToReturn = ArrayPool<byte>.Shared.Rent(valueDigits + 1));
905ArrayPool<byte>.Shared.Return(numberBufferToReturn);
912ArrayPool<uint>.Shared.Return(base1E9BufferFromPool);
955: powersOf1e9BufferFromPool = ArrayPool<uint>.Shared.Rent(powersOf1e9BufferLength)).Slice(0, powersOf1e9BufferLength);
964ArrayPool<uint>.Shared.Return(powersOf1e9BufferFromPool);
992: upperFromPool = ArrayPool<uint>.Shared.Rent(upperLength)).Slice(0, upperLength);
998: lowerFromPool = ArrayPool<uint>.Shared.Rent(lowerLength)).Slice(0, lowerLength);
1015ArrayPool<uint>.Shared.Return(lowerFromPool);
1027ArrayPool<uint>.Shared.Return(upperFromPool);
1272: powersOfTenFromPool = ArrayPool<uint>.Shared.Rent(bits.Length)).Slice(0, bits.Length);
1332ArrayPool<uint>.Shared.Return(powersOfTenFromPool);
System\Numerics\BigInteger.cs (74)
784: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
797ArrayPool<uint>.Shared.Return(bitsFromPool);
814: remainderFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
820: quotientFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
828ArrayPool<uint>.Shared.Return(remainderFromPool);
831ArrayPool<uint>.Shared.Return(quotientFromPool);
937: bitsFromPool = ArrayPool<uint>.Shared.Rent(leftBits.Length)).Slice(0, leftBits.Length);
950: bitsFromPool = ArrayPool<uint>.Shared.Rent(leftBits.Length)).Slice(0, leftBits.Length);
957ArrayPool<uint>.Shared.Return(bitsFromPool);
1005: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1030ArrayPool<uint>.Shared.Return(bitsFromPool);
1065: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1076: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1084ArrayPool<uint>.Shared.Return(bitsFromPool);
1693: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1705: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1717: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1729: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1736ArrayPool<uint>.Shared.Return(bitsFromPool);
1771: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1783: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1793: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1805: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
1812ArrayPool<uint>.Shared.Return(bitsFromPool);
2382: leftBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2389: rightBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2396: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2406ArrayPool<uint>.Shared.Return(leftBufferFromPool);
2409ArrayPool<uint>.Shared.Return(rightBufferFromPool);
2414ArrayPool<uint>.Shared.Return(resultBufferFromPool);
2438: leftBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2445: rightBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2452: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2462ArrayPool<uint>.Shared.Return(leftBufferFromPool);
2465ArrayPool<uint>.Shared.Return(rightBufferFromPool);
2470ArrayPool<uint>.Shared.Return(resultBufferFromPool);
2489: leftBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2496: rightBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2503: resultBufferFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2513ArrayPool<uint>.Shared.Return(leftBufferFromPool);
2516ArrayPool<uint>.Shared.Return(rightBufferFromPool);
2521ArrayPool<uint>.Shared.Return(resultBufferFromPool);
2543: xdFromPool = ArrayPool<uint>.Shared.Rent(xl)).Slice(0, xl);
2550: zdFromPool = ArrayPool<uint>.Shared.Rent(zl)).Slice(0, zl);
2578ArrayPool<uint>.Shared.Return(xdFromPool);
2580ArrayPool<uint>.Shared.Return(zdFromPool);
2604: xdFromPool = ArrayPool<uint>.Shared.Rent(xl)).Slice(0, xl);
2632: zdFromPool = ArrayPool<uint>.Shared.Rent(zl)).Slice(0, zl);
2670ArrayPool<uint>.Shared.Return(zdFromPool);
2673ArrayPool<uint>.Shared.Return(xdFromPool);
2746: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2758: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2768: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2780: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2793: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2801ArrayPool<uint>.Shared.Return(bitsFromPool);
2835: quotientFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2846ArrayPool<uint>.Shared.Return(quotientFromPool);
2861: quotientFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2867ArrayPool<uint>.Shared.Return(quotientFromPool);
2911: bitsFromPool = ArrayPool<uint>.Shared.Rent(size)).Slice(0, size);
2917ArrayPool<uint>.Shared.Return(bitsFromPool);
3313: xdFromPool = ArrayPool<uint>.Shared.Rent(xl);
3324: zdFromPool = ArrayPool<uint>.Shared.Rent(zl);
3417ArrayPool<uint>.Shared.Return(xdFromPool);
3419ArrayPool<uint>.Shared.Return(zdFromPool);
3468: xdFromPool = ArrayPool<uint>.Shared.Rent(xl);
3479: zdFromPool = ArrayPool<uint>.Shared.Rent(zl);
3564ArrayPool<uint>.Shared.Return(xdFromPool);
3566ArrayPool<uint>.Shared.Return(zdFromPool);
5305: xdFromPool = ArrayPool<uint>.Shared.Rent(xl)).Slice(0, xl);
5324: zdFromPool = ArrayPool<uint>.Shared.Rent(zl)).Slice(0, zl);
5358ArrayPool<uint>.Shared.Return(zdFromPool);
5361ArrayPool<uint>.Shared.Return(xdFromPool);
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)
Test.Utilities (6)
Text.Analyzers (6)
TlsFeaturesObserve (1)