Exemplo n.º 1
0
 ///---------------------------------------------------------------------
 private void Set(int offset, Mask256 mask)
 {
     for (int i = offset; i < offset + Mask256.MAX_SIZE; i++)
     {
         this[i] = mask.Get(i - Mask256.MAX_SIZE);
     }
 }
Exemplo n.º 2
0
 ///---------------------------------------------------------------------
 public Mask512(Mask128 mask_000f, Mask128 mask_00f0, Mask256 mask_ff00)
     : this(mask_000f, mask_00f0)
 {
     Set(Mask128.MAX_SIZE * 2, mask_ff00);
 }
Exemplo n.º 3
0
 ///---------------------------------------------------------------------
 public Mask512(Mask128 mask_000f, Mask256 mask_0ff0, Mask128 mask_f000)
     : this(mask_000f)
 {
     Set(Mask128.MAX_SIZE, mask_0ff0);
     Set(Mask128.MAX_SIZE + Mask256.MAX_SIZE, mask_f000);
 }
Exemplo n.º 4
0
 ///---------------------------------------------------------------------
 public Mask512(Mask256 mask_00ff, Mask128 mask_0f00, Mask128 mask_f000)
     : this(mask_00ff)
 {
     Set(Mask128.MAX_SIZE * 2, mask_0f00);
     Set(Mask128.MAX_SIZE * 3, mask_f000);
 }
Exemplo n.º 5
0
 ///---------------------------------------------------------------------
 public Mask512(Mask256 mask_0f, Mask256 mask_f0)
     : this(mask_0f)
 {
     Set(Mask256.MAX_SIZE, mask_f0);
 }
Exemplo n.º 6
0
 ///---------------------------------------------------------------------
 public Mask512(Mask256 mask_0f)
     : this(false)
 {
     Set(0, mask_0f);
 }