17 references to Max
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\Infrastructure\TimeoutControl.cs (3)
296var singleWriteTimeoutTimestamp = currentTimeUpperBound + Math.Max( 309_writeTimingTimeoutTimestamp = Math.Max(singleWriteTimeoutTimestamp, accumulatedWriteTimeoutTimestamp); 343return Math.Max(_writeTimingTimeoutTimestamp, gracePeriod);
Microsoft.AspNetCore.SignalR.Client.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
373var numElements = (int)Math.Min(BufferLength, Math.Max(1, sequenceId - (linkedBuffer._startingSequenceId - 1)));
Microsoft.AspNetCore.SignalR.Core (1)
src\SignalR\common\Shared\MessageBuffer.cs (1)
373var numElements = (int)Math.Min(BufferLength, Math.Max(1, sequenceId - (linkedBuffer._startingSequenceId - 1)));
Microsoft.Build (1)
Logging\BinaryLogger\Postprocessing\SubStream.cs (1)
46count = Math.Min((int)Math.Max(Length - _position, 0), count);
Microsoft.Extensions.DependencyModel (1)
DependencyContextJsonReader.cs (1)
66long expectedLength = Math.Max(utf8Bom.Length, stream.Length - stream.Position) + 1;
PresentationCore (2)
MS\Internal\IO\Packaging\NetStream.cs (1)
905_length = (int)(Math.Max(_offset + _length, b._offset + b._length) - _offset);
System\Windows\Media\MediaContext.cs (1)
592nextTickNeeded = TimeSpan.FromTicks(Math.Max(nextTickNeeded.Ticks, minimumDelay.Ticks));
PresentationFramework (1)
System\Windows\Documents\XamlToRtfWriter.cs (1)
1732tableWidth = Math.Max(tableWidth, lastCellX);
ReachFramework (1)
PrintConfig\PTProvider.cs (1)
826return (int)Math.Max(0, Math.Min(value, int.MaxValue));
System.Data.Common (1)
System\Data\Common\Int64Storage.cs (1)
128max = Math.Max(_values[record], max);
System.Linq (1)
System\Linq\SegmentedArrayBuilder.cs (1)
332int newSegmentLength = (int)Math.Min(Math.Max(minimumRequired, currentSegmentLength * 2L), Array.MaxLength);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
687public static long Max(long x, long y) => Math.Max(x, y);
System.Text.Json (2)
System\Text\Json\Document\JsonDocument.Parse.cs (2)
774long expectedLength = Math.Max(utf8Bom.Length, stream.Length - stream.Position) + 1; 857long expectedLength = Math.Max(utf8BomLength, stream.Length - stream.Position) + 1;
System.Text.RegularExpressions (1)
System\Text\RegularExpressions\Symbolic\BDD.cs (1)
316m = Math.Max(serialized[i], m);