示例#1
0
 public static string FormatHex <T>(this Vec256 <T> src, bool vectorize = true, char?sep = null)
     where T : struct
 => src.ToSpan().FormatHex(vectorize, sep);
示例#2
0
文件: tv_rot.cs 项目: 0xCM/arrows
 void rotr_check(Vec256 <ulong> src, ulong offset, Vec256 <ulong> computed)
 => Claim.eq(bitspan.rotr(src.ToSpan(), offset), computed.ToSpan());
示例#3
0
文件: tv_rot.cs 项目: 0xCM/arrows
 void rotl_check(Vec256 <uint> src, uint offset, Vec256 <uint> computed)
 => Claim.eq(bitspan.rotl(src.ToSpan(), offset), computed.ToSpan());
示例#4
0
文件: tv_rot.cs 项目: 0xCM/arrows
 void rotr_check(Vec256 <ushort> src, ushort offset, Vec256 <ushort> computed)
 => Claim.eq(bitspan.rotr(src.ToSpan(), offset), computed.ToSpan());
示例#5
0
文件: tv_rot.cs 项目: 0xCM/arrows
 void rotr_check(Vec256 <byte> src, byte offset, Vec256 <byte> computed)
 => Claim.eq(bitspan.rotr(src.ToSpan(), offset), computed.ToSpan());
示例#6
0
 public static BitString ToBitString <T>(this Vec256 <T> src)
     where T : struct
 => BitString.FromScalars(src.ToSpan());