87 references to Fill
illink (1)
InMemory.FunctionalTests (1)
Http2\Http2ConnectionTests.cs (1)
2084data.AsSpan().Fill(1);
Microsoft.AspNetCore.Http.Extensions (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.HttpLogging (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.AspNetCore.WebSockets (1)
src\Shared\ValueStringBuilder\ValueStringBuilder.cs (1)
144_chars.Slice(index, count).Fill(value);
Microsoft.Build (1)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
298skipProjects.AsSpan().Fill(true);
Microsoft.Build.Tasks.Core (1)
MSBuild.cs (1)
264skipProjects.AsSpan().Fill(true);
Microsoft.Data.Analysis (5)
PrimitiveColumnContainer.cs (4)
53mutableBuffer.RawSpan.Fill(default(T)); 77span.Fill(255); 170mutableLastBuffer.RawSpan.Slice(mutableLastBuffer.Length - allocatable, allocatable).Fill(value.Value); 557newBuffer.Span.Fill(false);
Utils\BitUtility.cs (1)
129slice.Fill(fill);
Microsoft.Extensions.Logging.Abstractions (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
Microsoft.ML.TimeSeries (1)
SrCnnTransformBase.cs (1)
300result.Values.Fill(Double.NaN);
Microsoft.ML.Tokenizers (1)
Utils\ValueStringBuilder.cs (1)
238_chars.Slice(index, count).Fill(value);
PresentationCore.Tests (3)
System\Windows\Media\Imaging\WriteableBitmap.Tests.cs (3)
54MemoryMarshal.Cast<byte, uint>(smallRect.AsSpan()).Fill(0xFF00E6FF); 95MemoryMarshal.Cast<byte, uint>(smallRect).Fill(0xFF00E6FF); 160bigRect.Fill(0xFF00E6FF);
System.Collections (1)
System\Collections\BitArray.cs (1)
292span.Fill(-1);
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenHashTable.cs (1)
62bucketStarts.Fill(-1);
System\Collections\Frozen\String\LengthBuckets.cs (1)
48buckets.AsSpan(0, arraySize).Fill(-1);
System.Console (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Diagnostics.DiagnosticSource (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Diagnostics.Process (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Drawing.Common.Tests (2)
System\Drawing\Imaging\Effects\EffectsTests.cs (2)
184buffer.Fill(tableValue); 242buffer.Fill(value);
System.Formats.Asn1 (1)
System\Formats\Asn1\AsnCharacterStringEncodings.cs (1)
221isAllowed.AsSpan(minCharAllowed, maxCharAllowed - minCharAllowed + 1).Fill(true);
System.Formats.Tar (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Formats\Tar\TarHeader.Write.cs (1)
1096destination.Slice(0, copyPos).Fill((byte)'0');
System.IO.Compression (4)
System\IO\Compression\DeflateManaged\HuffmanTree.cs (4)
83literalTreeLength.AsSpan(0, 144).Fill(8); 84literalTreeLength.AsSpan(144, 112).Fill(9); 85literalTreeLength.AsSpan(256, 24).Fill(7); 86literalTreeLength.AsSpan(280, 8).Fill(8);
System.IO.FileSystem.Watcher (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Linq (2)
System\Linq\Repeat.SpeedOpt.cs (2)
27SetCountAndGetSpan(list, _count).Fill(_current); 93array.AsSpan(arrayIndex, _count).Fill(_current);
System.Net.Http (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Net.Mail (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Numerics.Tensors (5)
System\Numerics\Tensors\netcore\TensorOperation.cs (1)
2156destination.Fill(value);
System\Numerics\Tensors\netcore\TensorPrimitives.IsCanonical.cs (1)
32destination.Slice(0, x.Length).Fill(true);
System\Numerics\Tensors\netcore\TensorPrimitives.IsFinite.cs (1)
32destination.Slice(0, x.Length).Fill(true);
System\Numerics\Tensors\netcore\TensorPrimitives.IsInteger.cs (1)
31destination.Slice(0, x.Length).Fill(true);
System\Numerics\Tensors\netcore\TensorPrimitives.IsRealNumber.cs (1)
32destination.Slice(0, x.Length).Fill(true);
System.Private.CoreLib (20)
src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
54Digits.Fill(0xCC);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
src\libraries\System.Private.CoreLib\src\System\Array.cs (2)
1095new Span<T>(array).Fill(value); 1126new Span<T>(ref first, count).Fill(value);
src\libraries\System.Private.CoreLib\src\System\IO\Directory.Unix.cs (1)
42path.Slice(pos, 6).Fill((byte)'X');
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (4)
6261_destination.Slice(_pos, paddingRequired).Fill(' '); 6266_destination.Slice(_pos, paddingRequired).Fill(' '); 6379_destination.Slice(_pos, paddingNeeded).Fill(' '); 6384_destination.Slice(startingPos, paddingNeeded).Fill(' ');
src\libraries\System.Private.CoreLib\src\System\Runtime\CompilerServices\DefaultInterpolatedStringHandler.cs (4)
435_chars.Slice(_pos, paddingRequired).Fill(' '); 440_chars.Slice(_pos, paddingRequired).Fill(' '); 569_chars.Slice(_pos, paddingNeeded).Fill(' '); 574_chars.Slice(startingPos, paddingNeeded).Fill(' ');
src\libraries\System.Private.CoreLib\src\System\String.Manipulation.cs (2)
1137new Span<char>(ref result._firstChar, count).Fill(paddingChar); 1156new Span<char>(ref Unsafe.Add(ref result._firstChar, oldLength), count).Fill(paddingChar);
src\libraries\System.Private.CoreLib\src\System\Text\StringBuilder.cs (3)
670chunkChars.AsSpan(chunkLength, repeatCount).Fill(value); 699chunkChars.AsSpan(chunkLength, firstLength).Fill(value); 709m_ChunkChars.AsSpan(0, restLength).Fill(value);
src\libraries\System.Private.CoreLib\src\System\Text\Unicode\Utf8.cs (2)
787_destination.Slice(_pos, paddingNeeded).Fill((byte)' '); 792_destination.Slice(startingPos, paddingNeeded).Fill((byte)' ');
System.Private.Uri (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Private.Windows.Core (1)
System\Text\ValueStringBuilder.cs (1)
164_chars.Slice(index, count).Fill(value);
System.Private.Xml (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Reflection.Metadata (3)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Reflection\Internal\Utilities\BlobUtilities.cs (1)
18new Span<byte>(buffer, start, byteCount).Fill(value);
System\Reflection\Metadata\BlobWriter.cs (1)
130_buffer.AsSpan(start, byteCount).Fill(value);
System.Runtime.Numerics (5)
src\libraries\Common\src\System\Number.NumberBuffer.cs (1)
54Digits.Fill(0xCC);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Numerics\BigIntegerCalculator.DivRem.cs (2)
653quotient.Fill(uint.MaxValue); 675quotient.Slice(0, qi).Fill(uint.MaxValue);
System\Numerics\BigIntegerCalculator.Utils.cs (1)
83bits.Fill(0xCD);
System.Security.Cryptography (4)
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
109D.Fill(id);
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (1)
282destination.Slice(2, paddingLength).Fill(0xFF);
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Security\Cryptography\SymmetricPadding.cs (1)
103destination.Slice(count, padBytes).Fill((byte)padBytes);
System.Security.Cryptography.Pkcs (1)
src\libraries\Common\src\System\Security\Cryptography\Pkcs12Kdf.cs (1)
109D.Fill(id);
System.Text.Encodings.Web (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Text.Json (2)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System\Text\Json\Writer\JsonWriterHelper.cs (1)
35buffer.Slice(0, indent).Fill(indentByte);
System.Text.RegularExpressions (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Text.RegularExpressions.Generator (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Web.HttpUtility (1)
src\libraries\Common\src\System\Text\ValueStringBuilder.cs (1)
143_chars.Slice(index, count).Fill(value);
System.Windows.Forms.Tests (1)
SpanHelpersTests.cs (1)
22destination.Fill('@');
Test.Utilities (1)
CodeMetricsTestsBase.cs (1)
140parameters.AsSpan().Fill(Type.Missing);