Exemple #1
0
        void TraceRot(Vec256 <uint> src, Vec256 <uint> offsets)
        {
            var vL = Bits.rotl(src, offsets);
            var vX = Bits.rotr(vL, offsets);

            Trace("src", src.FormatHex(), 20);
            Trace("offsets", offsets.FormatHex(), 20);
            Trace("rotl(src)", vL.FormatHex(), 20);
            Trace("rotr(rotl(src))", vX.FormatHex(), 20);
        }
Exemple #2
0
 public static string FormatHexBlocks <T>(this Vec256 <T> src)
     where T : struct
 => src.FormatHex(false, AsciSym.Space);