コード例 #1
0
ファイル: Bit.cs プロジェクト: Nucs/nlib
 protected bool Equals(bit other) {
     return Value == other.Value;
 }
コード例 #2
0
 public static void FastFill(bit bit, BinaryVector vector)
 {
     long fill = 0;
     if (bit == bit.ONE)
     {
         fill = ~fill;
     }
     for (int idx = 0; idx < vector.data.Length; idx++)
     {
         vector.data[idx] = fill;
     }
 }