4 writes to
Microsoft.NET.StringTools (2)
System.Private.CoreLib (2)
3791 references to
Aspire.Dashboard (7)
Aspire.Hosting (1)
Aspire.Hosting.Docker (18)
BuildActionTelemetryTable (3)
GenerateDocumentationAndConfigFiles (14)
http2cat (14)
IIS.FunctionalTests (14)
IIS.LongTests (14)
IIS.NewHandler.FunctionalTests (14)
IIS.NewShim.FunctionalTests (14)
IIS.ShadowCopy.Tests (3)
IISExpress.FunctionalTests (14)
illink (1)
Metrics (18)
Metrics.Legacy (18)
Microsoft.AspNetCore.Authorization (1)
Microsoft.AspNetCore.Components (4)
Microsoft.AspNetCore.Components.Server (3)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Cors (1)
Microsoft.AspNetCore.DataProtection.Abstractions (2)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.Http.Abstractions (4)
Microsoft.AspNetCore.Http.Connections (3)
Microsoft.AspNetCore.Http.Results (1)
Microsoft.AspNetCore.HttpOverrides (1)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Microsoft.AspNetCore.Mvc.Core (2)
Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (1)
Microsoft.AspNetCore.Routing (6)
Microsoft.AspNetCore.Server.HttpSys (7)
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (13)
Microsoft.AspNetCore.Server.IIS (7)
Microsoft.AspNetCore.Server.Kestrel.Core (57)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (1)
Microsoft.AspNetCore.Shared.Tests (32)
Microsoft.AspNetCore.SignalR.Common.Tests (1)
Microsoft.AspNetCore.SignalR.Microbenchmarks (2)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (1)
Microsoft.AspNetCore.WebUtilities (6)
Microsoft.Build.Tasks.CodeAnalysis (7)
Microsoft.Build.Tasks.CodeAnalysis.Sdk (7)
Microsoft.CodeAnalysis (41)
Microsoft.CodeAnalysis.Analyzers (18)
Microsoft.CodeAnalysis.AnalyzerUtilities (18)
Microsoft.CodeAnalysis.BannedApiAnalyzers (18)
Microsoft.CodeAnalysis.CodeStyle (16)
Microsoft.CodeAnalysis.Collections.Package (1)
Microsoft.CodeAnalysis.CSharp (14)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.ExpressionEvaluator.ResultProvider (4)
Microsoft.CodeAnalysis.Extensions.Package (4)
Microsoft.CodeAnalysis.Features (5)
Microsoft.CodeAnalysis.Features.Test.Utilities (2)
Microsoft.CodeAnalysis.InteractiveHost (7)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (18)
Microsoft.CodeAnalysis.PublicApiAnalyzers (18)
Microsoft.CodeAnalysis.ResxSourceGenerator (18)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.Threading.Package (1)
Microsoft.CodeAnalysis.Workspaces (16)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (20)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (212)
PrimitiveDataFrameColumnComputations.cs (98)
131if (span[i] == false)
149if (span[i] == true)
286ret = (byte)(Math.Max(readOnlySpan[i], ret));
350ret = (byte)(Math.Min(readOnlySpan[i], ret));
414ret = (byte)(readOnlySpan[i] * ret);
478ret = (byte)(readOnlySpan[i] + ret);
542value = (byte)(Math.Max(readOnlySpan[i], value));
590value = (byte)(Math.Min(readOnlySpan[i], value));
636ret = (byte)(readOnlySpan[i] * ret);
682value = (byte)(readOnlySpan[i] + value);
773ret = (char)(Math.Max(readOnlySpan[i], ret));
837ret = (char)(Math.Min(readOnlySpan[i], ret));
901ret = (char)(readOnlySpan[i] * ret);
965ret = (char)(readOnlySpan[i] + ret);
1029value = (char)(Math.Max(readOnlySpan[i], value));
1077value = (char)(Math.Min(readOnlySpan[i], value));
1123ret = (char)(readOnlySpan[i] * ret);
1169value = (char)(readOnlySpan[i] + value);
1260ret = (decimal)(Math.Max(readOnlySpan[i], ret));
1324ret = (decimal)(Math.Min(readOnlySpan[i], ret));
1388ret = (decimal)(readOnlySpan[i] * ret);
1452ret = (decimal)(readOnlySpan[i] + ret);
1516value = (decimal)(Math.Max(readOnlySpan[i], value));
1564value = (decimal)(Math.Min(readOnlySpan[i], value));
1610ret = (decimal)(readOnlySpan[i] * ret);
1656value = (decimal)(readOnlySpan[i] + value);
1747ret = (double)(Math.Max(readOnlySpan[i], ret));
1811ret = (double)(Math.Min(readOnlySpan[i], ret));
1875ret = (double)(readOnlySpan[i] * ret);
1939ret = (double)(readOnlySpan[i] + ret);
2003value = (double)(Math.Max(readOnlySpan[i], value));
2051value = (double)(Math.Min(readOnlySpan[i], value));
2097ret = (double)(readOnlySpan[i] * ret);
2143value = (double)(readOnlySpan[i] + value);
2234ret = (float)(Math.Max(readOnlySpan[i], ret));
2298ret = (float)(Math.Min(readOnlySpan[i], ret));
2362ret = (float)(readOnlySpan[i] * ret);
2426ret = (float)(readOnlySpan[i] + ret);
2490value = (float)(Math.Max(readOnlySpan[i], value));
2538value = (float)(Math.Min(readOnlySpan[i], value));
2584ret = (float)(readOnlySpan[i] * ret);
2630value = (float)(readOnlySpan[i] + value);
2721ret = (int)(Math.Max(readOnlySpan[i], ret));
2785ret = (int)(Math.Min(readOnlySpan[i], ret));
2849ret = (int)(readOnlySpan[i] * ret);
2913ret = (int)(readOnlySpan[i] + ret);
2977value = (int)(Math.Max(readOnlySpan[i], value));
3025value = (int)(Math.Min(readOnlySpan[i], value));
3071ret = (int)(readOnlySpan[i] * ret);
3117value = (int)(readOnlySpan[i] + value);
3208ret = (long)(Math.Max(readOnlySpan[i], ret));
3272ret = (long)(Math.Min(readOnlySpan[i], ret));
3336ret = (long)(readOnlySpan[i] * ret);
3400ret = (long)(readOnlySpan[i] + ret);
3464value = (long)(Math.Max(readOnlySpan[i], value));
3512value = (long)(Math.Min(readOnlySpan[i], value));
3558ret = (long)(readOnlySpan[i] * ret);
3604value = (long)(readOnlySpan[i] + value);
3695ret = (sbyte)(Math.Max(readOnlySpan[i], ret));
3759ret = (sbyte)(Math.Min(readOnlySpan[i], ret));
3823ret = (sbyte)(readOnlySpan[i] * ret);
3887ret = (sbyte)(readOnlySpan[i] + ret);
3951value = (sbyte)(Math.Max(readOnlySpan[i], value));
3999value = (sbyte)(Math.Min(readOnlySpan[i], value));
4045ret = (sbyte)(readOnlySpan[i] * ret);
4091value = (sbyte)(readOnlySpan[i] + value);
4182ret = (short)(Math.Max(readOnlySpan[i], ret));
4246ret = (short)(Math.Min(readOnlySpan[i], ret));
4310ret = (short)(readOnlySpan[i] * ret);
4374ret = (short)(readOnlySpan[i] + ret);
4438value = (short)(Math.Max(readOnlySpan[i], value));
4486value = (short)(Math.Min(readOnlySpan[i], value));
4532ret = (short)(readOnlySpan[i] * ret);
4578value = (short)(readOnlySpan[i] + value);
4669ret = (uint)(Math.Max(readOnlySpan[i], ret));
4733ret = (uint)(Math.Min(readOnlySpan[i], ret));
4797ret = (uint)(readOnlySpan[i] * ret);
4861ret = (uint)(readOnlySpan[i] + ret);
4925value = (uint)(Math.Max(readOnlySpan[i], value));
4973value = (uint)(Math.Min(readOnlySpan[i], value));
5019ret = (uint)(readOnlySpan[i] * ret);
5065value = (uint)(readOnlySpan[i] + value);
5156ret = (ulong)(Math.Max(readOnlySpan[i], ret));
5220ret = (ulong)(Math.Min(readOnlySpan[i], ret));
5284ret = (ulong)(readOnlySpan[i] * ret);
5348ret = (ulong)(readOnlySpan[i] + ret);
5412value = (ulong)(Math.Max(readOnlySpan[i], value));
5460value = (ulong)(Math.Min(readOnlySpan[i], value));
5506ret = (ulong)(readOnlySpan[i] * ret);
5552value = (ulong)(readOnlySpan[i] + value);
5643ret = (ushort)(Math.Max(readOnlySpan[i], ret));
5707ret = (ushort)(Math.Min(readOnlySpan[i], ret));
5771ret = (ushort)(readOnlySpan[i] * ret);
5835ret = (ushort)(readOnlySpan[i] + ret);
5899value = (ushort)(Math.Max(readOnlySpan[i], value));
5947value = (ushort)(Math.Min(readOnlySpan[i], value));
5993ret = (ushort)(readOnlySpan[i] * ret);
6039value = (ushort)(readOnlySpan[i] + value);
Microsoft.Data.Analysis.Tests (1)
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (8)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (5)
Microsoft.Extensions.AI.AzureAIInference (1)
Microsoft.Extensions.AI.Integration.Tests (1)
Microsoft.Extensions.AI.OpenAI (2)
Microsoft.Extensions.Caching.Hybrid (2)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (8)
Microsoft.Extensions.Http.Diagnostics (6)
Microsoft.Extensions.Identity.Core (1)
Microsoft.Extensions.Logging.Console (10)
Microsoft.Extensions.Primitives (2)
Microsoft.Extensions.ServiceDiscovery.Dns (2)
Microsoft.Extensions.Telemetry (6)
Microsoft.Extensions.Telemetry.Tests (1)
Microsoft.Interop.ComInterfaceGenerator (1)
Microsoft.Maui (1)
Microsoft.Maui.Essentials (2)
Microsoft.Maui.Graphics (1)
Microsoft.ML.Core (286)
Utilities\VBufferUtils.cs (186)
28if (Single.IsNaN(values[i]))
39if (Double.IsNaN(values[i]))
50if (!FloatUtils.IsFinite(values[i]))
61if (!FloatUtils.IsFinite(values[i]))
93visitor(i, aValues[i]);
99visitor(aIndices[i], aValues[i]);
123visitor(i, aValues[i], bValues[i]);
129visitor(aIndices[i], aValues[i], bValues[aIndices[i]]);
135visitor(bIndices[i], aValues[bIndices[i]], bValues[i]);
146int i = aIndices[aI];
147int j = bIndices[bI];
149visitor(i, aValues[aI++], bValues[bI++]);
174visitor(i, aValues[i], bValues[i]);
182T aVal = (aI < aValues.Length && i == aIndices[aI]) ? aValues[aI++] : default(T);
183visitor(i, aVal, bValues[i]);
192T bVal = (bI < bValues.Length && i == bIndices[bI]) ? bValues[bI++] : default(T);
193visitor(i, aValues[i], bVal);
205int diff = aIndices[aI] - bIndices[bI];
208visitor(bIndices[bI], aValues[aI], bValues[bI]);
214visitor(aIndices[aI], aValues[aI], default(T));
219visitor(bIndices[bI], default(T), bValues[bI]);
226visitor(aIndices[aI], aValues[aI], default(T));
232visitor(bIndices[bI], default(T), bValues[bI]);
284manip(dstIndices[i], ref editor.Values[i]);
370Contracts.Assert(i <= indices[i]);
371editor.Values[indices[i]] = values[i];
380editor.Values.Slice(min, indices[ii] - min).Clear();
381min = indices[ii] + 1;
390editor.Values[indices[i]] = values[i];
404if (dst.IsDense || denseCount == 0 || (dstValues.Length >= denseCount && dstIndices[denseCount - 1] == denseCount - 1))
438editor.Values[ii] = i >= 0 && dstIndices[i] == ii ? dstValues[i--] : default(T);
462if (!isDefaultPredicate(in srcValues[i]))
478if (!isDefaultPredicate(in srcValues[i]))
482editor.Values[j] = srcValues[i];
637manip(dstIndices[i], default(TSrc), ref editor.Values[i]);
653manip(i, srcValues[i], ref editor.Values[i]);
664int sIndex = srcIndices[sI];
669manip(i, srcValues[sI], ref editor.Values[i]);
670sIndex = ++sI == srcValues.Length ? src.Length : srcIndices[sI];
679manip(srcIndices[i], srcValues[i], ref editor.Values[srcIndices[i]]);
694manip(editor.Indices[i] = srcIndices[i], srcValues[i], ref editor.Values[i]);
705int sIndex = srcIndices[sI];
706while (dI < dstValues.Length && dstIndices[dI] < sIndex)
713if (dstIndices[dI] == sIndex)
754int sIndex = srcIndices[sI];
755int dIndex = dstIndices[dI];
764values[i] = dstValues[dI];
767dIndex = --dI >= 0 ? dstIndices[dI] : -1;
773manip(sIndex, srcValues[sI], ref values[i]);
774sIndex = --sI >= 0 ? srcIndices[sI] : -1;
782values[i] = dstValues[dI];
783manip(sIndex, srcValues[sI], ref values[i]);
784sIndex = --sI >= 0 ? srcIndices[sI] : -1;
785dIndex = --dI >= 0 ? dstIndices[dI] : -1;
800Contracts.Assert(srcIndices[i] == dstIndices[i]);
801manip(srcIndices[i], srcValues[i], ref editor.Values[i]);
811int sIndex = srcIndices[sI];
814if (dstIndices[i] == sIndex)
816manip(sIndex, srcValues[sI], ref editor.Values[i]);
817sIndex = ++sI == srcValues.Length ? src.Length : srcIndices[sI];
820manip(dstIndices[i], default(TSrc), ref editor.Values[i]);
827int sIndex = srcIndices[sI];
828while (dstIndices[dI] < sIndex)
830Contracts.Assert(dstIndices[dI] == sIndex);
831manip(sIndex, srcValues[sI], ref editor.Values[dI++]);
847int bIndex = dstIndices[dI];
848while (srcIndices[sI] < bIndex)
850Contracts.Assert(srcIndices[sI] == bIndex);
862manip(srcIndices[sI], srcValues[sI], ref editor.Values[sI]);
897manip(i, srcValues[i], default(TDst), ref editor.Values[i]);
910int i = srcIndices[ii];
912manip(i, srcValues[ii], default(TDst), ref editor.Values[ii]);
926manip(j, default(TSrc), dstValues[j], ref editor.Values[j]);
932editor.Values[j] = dstValues[j];
940manip(i, srcValues[i], dstValues[i], ref editor.Values[i]);
951int i = srcIndices[ii];
959manip(j, srcValues[ii], dstValues[j], ref editor.Values[j]);
960i = ++ii == count ? length : srcIndices[ii];
963manip(j, default(TSrc), dstValues[j], ref editor.Values[j]);
973manip(j, srcValues[ii], dstValues[j], ref editor.Values[j]);
974i = ++ii == count ? length : srcIndices[ii];
977editor.Values[j] = dstValues[j];
996int j = dstIndices[jj];
998manip(j, default(TSrc), dstValues[jj], ref editor.Values[jj]);
1005editor.Indices[jj] = dstIndices[jj];
1006editor.Values[jj] = dstValues[jj];
1016int j = dstIndices[jj];
1021manip(i, srcValues[i], dstValues[jj], ref editor.Values[i]);
1022j = ++jj == dstCount ? length : dstIndices[jj];
1025manip(i, srcValues[i], default(TDst), ref editor.Values[i]);
1039int i = srcIndices[ii];
1040while (jj < dstValues.Length && dstIndices[jj] < i)
1047if (dstIndices[jj] == i)
1071int i = srcIndices[ii];
1073int j = dstIndices[jj];
1082manip(i, srcValues[ii], dstValues[jj], ref editor.Values[kk]);
1083i = ++ii == srcValues.Length ? length : srcIndices[ii];
1084j = ++jj == dstCount ? length : dstIndices[jj];
1090manip(i, srcValues[ii], default(TDst), ref editor.Values[kk]);
1091i = ++ii == srcValues.Length ? length : srcIndices[ii];
1100manip(j, default(TSrc), dstValues[jj], ref editor.Values[kk]);
1102editor.Values[kk] = dstValues[jj];
1103j = ++jj == dstCount ? length : dstIndices[jj];
1146values[i] = func(i, srcValues[i]);
1154values[i] = func(srcIndices[i], srcValues[i]);
1207TSrc1 aVal = (aI < aIndices.Length && i == aIndices[aI]) ? aValues[aI++] : default(TSrc1);
1208editor.Values[i] = func(i, aVal, bValues[i]);
1217TSrc2 bVal = (bI < bIndices.Length && i == bIndices[bI]) ? bValues[bI++] : default(TSrc2);
1218editor.Values[i] = func(i, aValues[i], bVal);
1225editor.Values[i] = func(i, aValues[i], bValues[i]);
1237int aCompB = aIndices[aI] - bIndices[bI];
1264Contracts.Assert(aIndices[aI] == bIndices[aI]);
1265editor.Values[aI] = func(aIndices[aI], aValues[aI], bValues[aI]);
1275Contracts.Assert(aIndices[aI] >= bIndices[bI]);
1276TSrc1 aVal = aIndices[aI] == bIndices[bI] ? aValues[aI++] : default(TSrc1);
1277editor.Values[bI] = func(bIndices[bI], aVal, bValues[bI]);
1280editor.Values[bI] = func(bIndices[bI], default(TSrc1), bValues[bI]);
1290Contracts.Assert(bIndices[bI] >= aIndices[aI]);
1291TSrc2 bVal = aIndices[aI] == bIndices[bI] ? bValues[bI++] : default(TSrc2);
1292editor.Values[aI] = func(aIndices[aI], aValues[aI], bVal);
1295editor.Values[aI] = func(aIndices[aI], aValues[aI], default(TSrc2));
1305int aCompB = aIndices[aI] - bIndices[bI];
1310index = aIndices[aI];
1311aVal = aValues[aI++];
1316index = bIndices[bI];
1318bVal = bValues[bI++];
1322index = aIndices[aI];
1323Contracts.Assert(index == bIndices[bI]);
1324aVal = aValues[aI++];
1325bVal = bValues[bI++];
1333int index = aIndices[aI];
1334editor.Values[newI] = func(index, aValues[aI], default(TSrc2));
1340int index = bIndices[bI];
1341editor.Values[newI] = func(index, default(TSrc1), bValues[bI]);
Microsoft.ML.Core.Tests (7)
Microsoft.ML.CpuMath (19)
Microsoft.ML.Data (272)
Transforms\Hashing.cs (29)
1051editor.Values[i] = hasher.HashCoreOld(seed, mask, srcValues[i]);
1068editor.Values[i] = hasher.HashCoreOld(seed, mask, srcValues[i]);
1081editor.Values[srcIndices[i]] = hasher.HashCoreOld(seed, mask, srcValues[i]);
1105editor.Values[i] = hasher.HashCore(seed, mask, srcValues[i]);
1122editor.Values[i] = hasher.HashCore(seed, mask, srcValues[i]);
1135editor.Values[srcIndices[i]] = hasher.HashCore(seed, mask, srcValues[i]);
1171editor.Values[i] = hasher.HashCoreOld(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1177editor.Values[i] = hasher.HashCoreOld(Hashing.MurmurRound(seed, (uint)srcIndices[i]), mask, srcValues[i]);
1194editor.Values[i] = hasher.HashCoreOld(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1203if (srcIndices.Length <= j || srcIndices[j] > i)
1205else if (srcIndices[j] == i)
1206editor.Values[i] = hasher.HashCoreOld(indexSeed, mask, srcValues[j++]);
1235editor.Values[i] = hasher.HashCore(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1241editor.Values[i] = hasher.HashCore(Hashing.MurmurRound(seed, (uint)srcIndices[i]), mask, srcValues[i]);
1258editor.Values[i] = hasher.HashCore(Hashing.MurmurRound(seed, (uint)i), mask, srcValues[i]);
1267if (srcIndices.Length <= j || srcIndices[j] > i)
1269else if (srcIndices[j] == i)
1270editor.Values[i] = hasher.HashCore(indexSeed, mask, srcValues[j++]);
1685Collector.Add(hashValues[i], valueValues[i]);
1731Collector.Add(hashValues[i], new KeyValuePair<int, T>(i, valueValues[i]));
1737Collector.Add(hashValues[i], new KeyValuePair<int, T>(hashIndices[i], valueValues[i]));
Transforms\NormalizeColumnDbl.cs (36)
367var val = values[j];
377var val = values[k];
378var j = indices[k];
478var origVal = values[j];
487var origVal = values[k];
488var j = indices[k];
838bldr.AddFeature(i, values[i] * scale[i]);
846int i = indices[ii];
848bldr.AddFeature(i, values[ii] * scale[i]);
873bldr.AddFeature(i, (values[i] - offset[i]) * scale[i]);
880int ivSrc = indices[ii];
887bldr.AddFeature(ivDst, (values[ii] - offset[ivDst]) * scale[ivDst]);
888ivSrc = ++ii < values.Length ? indices[ii] : size;
918bldr.AddFeature(i, (values[i] - offset[i]) * scale[i]);
925int ivSrc = indices[ii];
932Contracts.Assert(ii < values.Length && ivSrc == indices[ii] || ii == values.Length && ivSrc == size);
945bldr.AddFeature(ivSrc, values[ii] * scale[ivSrc]);
946ivSrc = ++ii < values.Length ? indices[ii] : size;
955bldr.AddFeature(ivDst, (values[ii] - offset[ivDst]) * scale[ivDst]);
956ivSrc = ++ii < values.Length ? indices[ii] : size;
1117var val = useLog ? (TFloat)Math.Log(values[i]) : values[i];
1129var ivDst = indices[ii];
1133var val = useLog ? (TFloat)Math.Log(values[ii]) : values[ii];
1328bldr.AddFeature(i, BinUtils.GetValue(in values[i], _binUpperBounds[i], _den[i], _offset[i]));
1333bldr.AddFeature(i, BinUtils.GetValue(in values[i], _binUpperBounds[i], _den[i]));
1344int ivSrc = indices[ii];
1353BinUtils.GetValue(in values[ii], _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst]));
1354ivSrc = ++ii < values.Length ? indices[ii] : size;
1367int i = indices[ii];
1369bldr.AddFeature(i, BinUtils.GetValue(in values[ii], _binUpperBounds[i], _den[i]));
1944_values[j].Add(values[j]);
1951var val = values[k];
1952var j = indices[k];
2147_medianAggregators[i].ProcessValue(span[i]);
Transforms\NormalizeColumnSng.cs (36)
368var val = values[j];
378var val = values[k];
379var j = indices[k];
480var origVal = values[j];
489var origVal = values[k];
490var j = indices[k];
996bldr.AddFeature(i, values[i] * scale[i]);
1004int i = indices[ii];
1006bldr.AddFeature(i, values[ii] * scale[i]);
1032bldr.AddFeature(i, (values[i] - offset[i]) * scale[i]);
1039int ivSrc = indices[ii];
1046bldr.AddFeature(ivDst, (values[ii] - offset[ivDst]) * scale[ivDst]);
1047ivSrc = ++ii < count ? indices[ii] : size;
1078bldr.AddFeature(i, (values[i] - offset[i]) * scale[i]);
1085int ivSrc = indices[ii];
1092Contracts.Assert(ii < count && ivSrc == indices[ii] || ii == count && ivSrc == size);
1105bldr.AddFeature(ivSrc, values[ii] * scale[ivSrc]);
1106ivSrc = ++ii < count ? indices[ii] : size;
1115bldr.AddFeature(ivDst, (values[ii] - offset[ivDst]) * scale[ivDst]);
1116ivSrc = ++ii < count ? indices[ii] : size;
1278var val = useLog ? (TFloat)Math.Log(values[i]) : values[i];
1290var ivDst = indices[ii];
1294var val = useLog ? (TFloat)Math.Log(values[ii]) : values[ii];
1490bldr.AddFeature(i, BinUtils.GetValue(values[i], _binUpperBounds[i], _den[i], _offset[i]));
1495bldr.AddFeature(i, BinUtils.GetValue(values[i], _binUpperBounds[i], _den[i]));
1506int ivSrc = indices[ii];
1515BinUtils.GetValue(values[ii], _binUpperBounds[ivDst], _den[ivDst], _offset[ivDst]));
1516ivSrc = ++ii < count ? indices[ii] : size;
1529int i = indices[ii];
1531bldr.AddFeature(i, BinUtils.GetValue(values[ii], _binUpperBounds[i], _den[i]));
2108_values[j].Add(values[j]);
2115var val = values[k];
2116var j = indices[k];
2309_medianAggregators[i].ProcessValue(span[i]);
Microsoft.ML.DataView (5)
Microsoft.ML.Ensemble (5)
Microsoft.ML.EntryPoints (1)
Microsoft.ML.FastTree (28)
GamModelParameters.cs (6)
214value += GetBinEffect(j, featuresValues[i]);
224if (_inputFeatureToShapeFunctionMap.TryGetValue(featuresIndices[i], out int j))
226value += GetBinEffect(j, featuresValues[i]) - GetBinEffect(j, 0);
245value += GetBinEffect(j, featuresValues[i], out bins[j]);
258if (_inputFeatureToShapeFunctionMap.TryGetValue(featuresIndices[i], out int j))
260value += GetBinEffect(j, featuresValues[i], out bins[j]) - GetBinEffect(j, 0);
Microsoft.ML.ImageAnalytics (32)
Microsoft.ML.KMeansClustering (3)
Microsoft.ML.LightGbm (9)
Microsoft.ML.Mkl.Components (3)
Microsoft.ML.OnnxTransformer (1)
Microsoft.ML.Predictor.Tests (2)
Microsoft.ML.Samples (17)
Microsoft.ML.StandardTrainers (37)
Microsoft.ML.TestFrameworkCommon (8)
Microsoft.ML.Tests (96)
ImagesTests.cs (93)
222Assert.True(imageData[i + redIndex] == imageData[i + greenIndex] && imageData[i + greenIndex] == imageData[i + blueIndex]);
272Assert.True(imageData[i + redIndex] == imageData[i + greenIndex] && imageData[i + greenIndex] == imageData[i + blueIndex]);
295Assert.True(imageData1[i + redIndex1] == imageData1[i + greenIndex1] && imageData1[i + greenIndex1] == imageData1[i + blueIndex1]);
395Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
396Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
397Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
471croppedImageData[i + redIndex1] == restoredImageData[i + redIndex] &&
472croppedImageData[i + greenIndex1] == restoredImageData[i + greenIndex] &&
473croppedImageData[i + blueIndex1] == restoredImageData[i + blueIndex]);
546Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
547Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
548Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
621Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
622Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
623Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
696Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
697Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
698Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
772Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
773Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
774Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
847Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
848Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
849Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
923Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
924Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
925Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
997Assert.Equal(restoredImageData[i + redIndex], croppedImageData[i + redIndex1]);
998Assert.Equal(restoredImageData[i + greenIndex], croppedImageData[i + greenIndex1]);
999Assert.Equal(restoredImageData[i + blueIndex], croppedImageData[i + blueIndex1]);
1040(int red, int green, int blue) topLeft = (imageData[redIndex], imageData[greenIndex], imageData[blueIndex]);
1042(int red, int green, int blue) topRight = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1044(int red, int green, int blue) bottomLeft = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1046(int red, int green, int blue) bottomRight = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1048(int red, int green, int blue) middle = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1052(int red, int green, int blue) midTop = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1055(int red, int green, int blue) midBottom = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1058(int red, int green, int blue) leftMid = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
1061(int red, int green, int blue) rightMid = (imageData[index + redIndex], imageData[index + greenIndex], imageData[index + blueIndex]);
Microsoft.ML.TimeSeries (3)
Microsoft.ML.Tokenizers (48)
Microsoft.ML.Tokenizers.Tests (22)
Microsoft.ML.TorchSharp (13)
Microsoft.ML.Transforms (102)
Microsoft.NET.StringTools (6)
PresentationBuildTasks (4)
PresentationCore (11)
PresentationFramework (26)
Roslyn.Diagnostics.Analyzers (18)
Roslyn.Diagnostics.CSharp.Analyzers (1)
Shared (3)
System.Collections (2)
System.Collections.Immutable (11)
System.Configuration.ConfigurationManager (6)
System.Data.Common (34)
System.Diagnostics.DiagnosticSource (28)
System.Drawing.Common (21)
System\Drawing\Imaging\ImageCodecInfo.cs (16)
87int signatureCount = (int)codecInfo[i].SigCount;
91Clsid = codecInfo[i].Clsid,
92FormatID = codecInfo[i].FormatID,
93CodecName = codecInfo[i].CodecName.ToString(),
94DllName = codecInfo[i].DllName.ToString(),
95FormatDescription = codecInfo[i].FormatDescription.ToString(),
96FilenameExtension = codecInfo[i].FilenameExtension.ToString(),
97MimeType = codecInfo[i].MimeType.ToString(),
98Flags = (ImageCodecFlags)codecInfo[i].Flags,
99Version = (int)codecInfo[i].Version,
107codec.SignaturePatterns[j] = new ReadOnlySpan<byte>(codecInfo[i].SigPattern + j * codecInfo[i].SigSize, (int)codecInfo[i].SigSize).ToArray();
108codec.SignatureMasks[j] = new ReadOnlySpan<byte>(codecInfo[i].SigMask + j * codecInfo[i].SigSize, (int)codecInfo[i].SigSize).ToArray();
System.Drawing.Primitives (3)
System.Formats.Asn1 (20)
System.Formats.Cbor (3)
System.Formats.Nrbf (1)
System.Formats.Tar (12)
System.IO.FileSystem.Watcher (9)
System.IO.Hashing (7)
System.IO.IsolatedStorage (6)
System.IO.Packaging (7)
System.Linq (23)
System.Memory (16)
System.Memory.Data (1)
System.Net.HttpListener (5)
System.Net.Mail (49)
System.Net.Ping (2)
System.Net.ServerSentEvents (2)
System.Net.WebClient (5)
System.Numerics.Tensors (155)
System.Private.CoreLib (829)
src\libraries\System.Private.CoreLib\src\System\MemoryExtensions.cs (73)
895if (!EqualityComparer<T>.Default.Equals(span[i], value))
913if (!comparer.Equals(span[i], value))
999if (!EqualityComparer<T>.Default.Equals(span[i], value0) &&
1000!EqualityComparer<T>.Default.Equals(span[i], value1))
1018if (!comparer.Equals(span[i], value0) &&
1019!comparer.Equals(span[i], value1))
1111if (!EqualityComparer<T>.Default.Equals(span[i], value0) &&
1112!EqualityComparer<T>.Default.Equals(span[i], value1) &&
1113!EqualityComparer<T>.Default.Equals(span[i], value2))
1130if (!comparer.Equals(span[i], value0) &&
1131!comparer.Equals(span[i], value1) &&
1132!comparer.Equals(span[i], value2))
1245if (!values.Contains(span[i]))
1283if (!values.Contains(span[i], comparer))
1473if (!EqualityComparer<T>.Default.Equals(span[i], value))
1491if (!comparer.Equals(span[i], value))
1577if (!EqualityComparer<T>.Default.Equals(span[i], value0) &&
1578!EqualityComparer<T>.Default.Equals(span[i], value1))
1596if (!comparer.Equals(span[i], value0) &&
1597!comparer.Equals(span[i], value1))
1689if (!EqualityComparer<T>.Default.Equals(span[i], value0) &&
1690!EqualityComparer<T>.Default.Equals(span[i], value1) &&
1691!EqualityComparer<T>.Default.Equals(span[i], value2))
1709if (!comparer.Equals(span[i], value0) &&
1710!comparer.Equals(span[i], value1) &&
1711!comparer.Equals(span[i], value2))
1825if (!values.Contains(span[i]))
1863if (!values.Contains(span[i], comparer))
2257if (EqualityComparer<T>.Default.Equals(span[i], value))
2274if (comparer.Equals(span[i], value))
2462if (EqualityComparer<T>.Default.Equals(span[i], value))
2480if (comparer.Equals(span[i], value))
2702if (EqualityComparer<T>.Default.Equals(span[i], value0) ||
2703EqualityComparer<T>.Default.Equals(span[i], value1))
2720if (comparer.Equals(span[i], value0) ||
2721comparer.Equals(span[i], value1))
2807if (EqualityComparer<T>.Default.Equals(span[i], value0) ||
2808EqualityComparer<T>.Default.Equals(span[i], value1) ||
2809EqualityComparer<T>.Default.Equals(span[i], value2))
2826if (comparer.Equals(span[i], value0) ||
2827comparer.Equals(span[i], value1) ||
2828comparer.Equals(span[i], value2))
2966if (values.Contains(span[i], comparer))
3122if (EqualityComparer<T>.Default.Equals(span[i], value0) ||
3123EqualityComparer<T>.Default.Equals(span[i], value1))
3141if (comparer.Equals(span[i], value0) ||
3142comparer.Equals(span[i], value1))
3228if (EqualityComparer<T>.Default.Equals(span[i], value0) ||
3229EqualityComparer<T>.Default.Equals(span[i], value1) ||
3230EqualityComparer<T>.Default.Equals(span[i], value2))
3248if (comparer.Equals(span[i], value0) ||
3249comparer.Equals(span[i], value1) ||
3250comparer.Equals(span[i], value2))
3388if (values.Contains(span[i], comparer))
3478if (!EqualityComparer<T>.Default.Equals(span[i], other[i]))
3492if (!comparer.Equals(span[i], other[i]))
3537int c = comparer.Compare(span[i], other[i]);
4740destination[i] = EqualityComparer<T>.Default.Equals(source[i], oldValue) ? newValue : source[i];
4752destination[i] = comparer.Equals(source[i], oldValue) ? newValue : source[i];
4914if (!EqualityComparer<T>.Default.Equals(span[i], other[i]))
4946if (!comparer.Equals(span[i], other[i]))
5347while (startInclusive < endExclusive && char.IsWhiteSpace(source[startInclusive]))
5352while (endExclusive > startInclusive && char.IsWhiteSpace(source[endExclusive - 1]))
5464if (EqualityComparer<T>.Default.Equals(span[i], value))
5483if (comparer.Equals(span[i], value))
5803appended = handler.AppendFormatted(args[index], segment.Alignment, segment.Format);
src\libraries\System.Private.CoreLib\src\System\SearchValues\ProbabilisticMap.cs (1)
51int c = values[i];
System.Private.DataContractSerialization (24)
System.Private.Uri (24)
System.Private.Windows.Core (4)
System.Private.Windows.GdiPlus (2)
System.Private.Xml (51)
System.Reflection.Emit (14)
System.Reflection.Metadata (16)
System.Reflection.MetadataLoadContext (1)
System.Resources.Extensions (1)
System.Runtime.Numerics (65)
System\Numerics\BigIntegerCalculator.PowMod.cs (6)
172uint p = power[i];
182return PowCore(value, power[power.Length - 1], modulus, result);
442uint p = power[i];
456return PowCore(value, valueLength, power[power.Length - 1], modulus, result, resultLength, temp);
501uint p = power[i];
515return PowCore(value, valueLength, power[power.Length - 1], reducer, result, resultLength, temp);
System.Security.Cryptography.Pkcs (10)
System.Security.Cryptography.ProtectedData (1)
System.Security.Cryptography.Xml (5)
System.Text.Encoding.CodePages (23)
System.Text.Encodings.Web (10)
System.Text.Json (154)
System.Text.Json.SourceGeneration (3)
System.Text.RegularExpressions (56)
System.Text.RegularExpressions.Generator (33)
src\libraries\System.Text.RegularExpressions\src\System\Text\RegularExpressions\RegexPrefixAnalyzer.cs (1)
846sum += Frequency[c];
System.Web.HttpUtility (18)
System.Windows.Forms (2)
System.Windows.Forms.Design (5)
System.Windows.Forms.Primitives (8)
System.Windows.Forms.Primitives.TestUtilities (9)
System.Windows.Forms.UI.IntegrationTests (4)
System.Xaml (2)
Test.Utilities (14)
Text.Analyzers (18)
xunit.assert (6)