14 references to Min
ReachFramework (1)
PrintConfig\PTProvider.cs (1)
831
return (int)Math.
Min
(value, int.MaxValue);
System.Data.Common (1)
System\Data\Common\UInt64Storage.cs (1)
111
min = Math.
Min
(_values[record], min);
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (3)
73
int bytesRead = _connection.Read(buffer.Slice(0, (int)Math.
Min
((ulong)buffer.Length, _chunkBytesRemaining)));
189
int bytesRead = await _connection.ReadAsync(buffer.Slice(0, (int)Math.
Min
((ulong)buffer.Length, _chunkBytesRemaining))).ConfigureAwait(false);
367
int bytesToConsume = Math.Min(maxBytesToRead, (int)Math.
Min
((ulong)connectionBuffer.Length, _chunkBytesRemaining));
System\Net\Http\SocketsHttpHandler\ContentLengthReadStream.cs (1)
184
int bytesToConsume = Math.Min(maxBytesToRead, (int)Math.
Min
((ulong)connectionBuffer.Length, _contentBytesRemaining));
System\Net\Http\SocketsHttpHandler\Http3Connection.cs (1)
765
_maxHeaderListSize = (uint)Math.
Min
((ulong)settingValue, uint.MaxValue);
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (2)
1913
remaining = (int)Math.
Min
((ulong)_readBuffer.ActiveLength, length);
1931
int desiredBufferSize = (int)Math.
Min
((ulong)bufferSize, length);
System.Net.NetworkInformation (1)
System\Net\NetworkInformation\StringParsingHelpers.Statistics.cs (1)
459
return (long)Math.
Min
(long.MaxValue, ulong.Parse(value, CultureInfo.InvariantCulture));
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\TensorSpanHelpers.T.cs (3)
43
nuint toClear = Math.
Min
(len, int.MaxValue);
54
nuint toFill = Math.
Min
(numElements, int.MaxValue);
66
nuint toCompare = Math.
Min
(length, int.MaxValue);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
598
public static ulong Min(ulong x, ulong y) => Math.
Min
(x, y);