Examples of xor()


Examples of javaewah.EWAHCompressedBitmap.xor()

      XorCompressedBitmap xb = (XorCompressedBitmap) r;
      EWAHCompressedBitmap out = xb.bitmap;
      for (;;) {
        r = xb.xorBitmap.bitmapContainer;
        if (r instanceof EWAHCompressedBitmap) {
          out = out.xor((EWAHCompressedBitmap) r);
          bitmapContainer = out;
          return out;
        }
        xb = (XorCompressedBitmap) r;
        out = out.xor(xb.bitmap);
View Full Code Here

Examples of net.tomp2p.peers.Number160.xor()

            public void run() {
                // System.err.println("start theard (" + Thread.currentThread().getName() + ") " + number + "/" + start
                // + "-" + rounds);
                Number160 result = number;
                for (int i = start; i < rounds; i++) {
                    result = result.xor(new Number160(new Random(i * 31)));
                    // System.err.println("number160s[" + ii + "]=" + result + "start="+start);
                }
                futureTest.setDone(result, counter);
            }
        };
View Full Code Here

Examples of org.rabinfingerprint.polynomial.Polynomial.xor()

   */
  private void precomputePushTable() {
    for (int i = 0; i < 512; i++) {
      Polynomial f = Polynomial.createFromLong(i);
      f = f.shiftLeft(poly.degree());
      f = f.xor(f.mod(poly));
      pushTable[i] = f.toBigInteger().longValue();
    }
  }

  @Override
View Full Code Here

Examples of org.sat4j.tools.GateTranslator.xor()

                break;
            case AND:
                gater.and(y, literals);
                break;
            case XOR:
                gater.xor(y, literals);
                break;
            case IFF:
                gater.iff(y, literals);
                break;
            case IFTHENELSE:
View Full Code Here

Examples of zz.jinterp.JPrimitive.JBitNumber.xor()

       
      case IXOR:
      case LXOR: {
        JBitNumber n2 = (JBitNumber) pop();
        JBitNumber n1 = (JBitNumber) pop();
        push(n1.xor(n2));
      } break;
       
      case I2L: {
        JInt i = (JInt) pop();
        push(new JLong(i.v));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.