Examples of toHexString()


Examples of com.cburch.logisim.data.Value.toHexString()

      GraphicsUtil.drawCenteredText(g, v.toString(),
        x + bds.getX() + bds.getWidth() / 2,
        y + bds.getY() + bds.getHeight() / 2 - 2);
    } else {
      g.setColor(Color.BLACK);
      GraphicsUtil.drawCenteredText(g, v.toHexString(),
        x + bds.getX() + bds.getWidth() / 2,
        y + bds.getY() + bds.getHeight() / 2 - 2);
    }
    painter.drawPorts();
  }
View Full Code Here

Examples of com.cburch.logisim.data.Value.toHexString()

            GraphicsUtil.drawCenteredText(g, v.toString(),
                x + bds.getX() + bds.getWidth() / 2,
                y + bds.getY() + bds.getHeight() / 2 - 2);
        } else {
            g.setColor(Color.BLACK);
            GraphicsUtil.drawCenteredText(g, v.toHexString(),
                x + bds.getX() + bds.getWidth() / 2,
                y + bds.getY() + bds.getHeight() / 2 - 2);
        }
        painter.drawPorts();
    }
View Full Code Here

Examples of info.riemannhypothesis.crypto.tools.ByteSequence.toHexString()

        attack.setByteAt(pos, subs);
        for (int i = 1; i < pad; i++) {
          subs = (byte) (iv.byteAt(pos + i) ^ plain.byteAt(pos + i) ^ pad);
          attack.setByteAt(pos + i, subs);
        }
        URL url = new URL(baseURL + attack.toHexString());
        int response = getResponseCode(url);
        System.out.println("pos: " + pos + "; pad: " + pad
            + "; guess: " + guess + "; attack: "
            + attack.toHexString() + "; reponse: " + response);
        if (response == 404) {
View Full Code Here

Examples of info.riemannhypothesis.crypto.tools.ByteSequence.toHexString()

        }
        URL url = new URL(baseURL + attack.toHexString());
        int response = getResponseCode(url);
        System.out.println("pos: " + pos + "; pad: " + pad
            + "; guess: " + guess + "; attack: "
            + attack.toHexString() + "; reponse: " + response);
        if (response == 404) {
          System.out.println("Character at position " + pos + ": "
              + guess);
          plain.setByteAt(pos, (byte) guess);
          wrongGuess = false;
View Full Code Here

Examples of org.ardverk.dht.KUID.toHexString()

      if (!digest(context, Constants.CONTENT_SHA1, sha1)) {
        return ResponseFactory.INTERNAL_SERVER_ERROR;
      }
     
      context.addHeader(Constants.VALUE_ID,
          valueId.toHexString());
     
      upsertVclock(key, context);
     
      try {
        index.add(key, context, valueId);
View Full Code Here

Examples of org.ardverk.dht.KUID.toHexString()

          //Context context = entry.getValue();
         
          xml.writeStartElement("value");
         
          xml.writeStartElement("id");
          xml.writeCharacters(valueId.toHexString());
          xml.writeEndElement();
         
          //xml.writeStartElement("creationTime");
          //xml.writeCharacters(DateUtils.format(vclock.getCreationTime()));
          //xml.writeEndElement();
View Full Code Here

Examples of org.chaidb.db.index.btree.bufmgr.PageNumber.toHexString()

            while (pagenumbers.hasMoreElements()) {
                ppn = (PageNumber) pagenumbers.nextElement();
                DataPage dPage = new DataPage(id, ppn, btreeSpec, getBuffer());

                if (Debug.DEBUG_TRAVERAL) {
                    logger.fatal("saved data page is " + ppn.toHexString() + " ");
                }
                freeAPage(kContext, dPage);
            }
            if (Debug.DEBUG_TRAVERAL) {
                logger.fatal("end loopup");
View Full Code Here

Examples of org.chaidb.db.index.btree.bufmgr.PageNumber.toHexString()

                if (!dataPageMixed && !dataPages.containsKey(p)) {
                    PageNumber tmpPage = new PageNumber(p);
                    dataPages.put(tmpPage, tmpPage); //add data pages
                    if (Debug.DEBUG_TRAVERAL) {
                        logger.fatal("parent page is " + page.pageNumber.toHexString() + " ");
                        logger.fatal("data page is " + tmpPage.toHexString() + " ");
                    }

                }

                freeDataNode(p, node.getDataNodeOffset(), dataPageMixed, kContext);
View Full Code Here

Examples of org.gephi.preview.api.Color.toHexString()

     *
     * @return  the color formatted as an hex string
     */
    public String toHexString() {
        Color c = new SimpleColor(getRed(), getGreen(), getBlue());
        return c.toHexString();
    }
}
View Full Code Here

Examples of org.jakstab.rtl.expressions.RTLNumber.toHexString()

            assert targetValue != null;

            // Translate real library addresses into stub addresses. Necessary because the static analysis component
            // does not know about concrete import addresses, so it uses a stub system.
            if (!isProgramAddress(targetValue)) {
              logger.debug(dcs.getLocation() + ": Jumping out of module to " + targetValue.toHexString());

              // Attempt to map this out-of-module location to a stub
              if (realToStub.containsKey(targetValue)) {
                // If we saw this concrete address before, replace it by the known stub
                logger.debug("Replacing concrete target " + targetValue.toHexString() + " with stub to " + program.getSymbolFor(new AbsoluteAddress(realToStub.get(targetValue))));
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.