예제 #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;
     }
 }