11 references to PopCount
Microsoft.AspNetCore.Server.Kestrel.Core (5)
Internal\Http\HttpHeaders.Generated.cs (5)
2586return (_contentLength.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0); 10872return (_contentLength.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0); 14053if(BitOperations.PopCount((ulong)tempBits) > 12) 17169return (_contentLength.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0); 17486if(BitOperations.PopCount((ulong)tempBits) > 12)
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Int64.cs (1)
296public static long PopCount(long value) => BitOperations.PopCount((ulong)value);
src\libraries\System.Private.CoreLib\src\System\Numerics\BitOperations.cs (2)
419if (PopCount(value) != 1) 523return PopCount((ulong)value);
src\libraries\System.Private.CoreLib\src\System\SpanHelpers.T.cs (1)
3808count += BitOperations.PopCount(mask);
src\libraries\System.Private.CoreLib\src\System\UInt64.cs (1)
293public static ulong PopCount(ulong value) => (ulong)BitOperations.PopCount(value);
System.Reflection.Metadata (1)
System\Reflection\Internal\Utilities\BitArithmetic.cs (1)
35return BitOperations.PopCount(v);