Examples of toHexString()


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

              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))));
                targetValue = realToStub.get(targetValue);
              } else {

                // Check the statically produced edges for one that is not yet mapped to a concrete address.
                // If the over-approximation resolved an import to a stub, it's going to be contained.
View Full Code Here

Examples of org.msgpack.core.buffer.MessageBuffer.toHexString()

                    System.out.println("read string: " + s);
                    break;
                case BINARY:
                    // Message buffer is an efficient byte buffer
                    MessageBuffer mb = v.get().asBinary().toMessageBuffer();
                    System.out.println("read binary: " + mb.toHexString(0, mb.size()));
                    break;
                case ARRAY:
                    ArrayValue arr = v.get().asArrayValue();
                    for(ValueRef a : arr) {
                        System.out.println("read array element: " + a);
View Full Code Here

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

    }
  }

  public void generatePolynomial(int deg) {
    Polynomial p = Polynomial.createIrreducible(deg);
    System.out.println(p.toHexString());
  }

  public void printUsage() throws IOException {
    ByteStreams.copy(getClass().getResourceAsStream("/usage.txt"), System.out);
  }
View Full Code Here

Examples of org.snmp4j.smi.OctetString.toHexString()

          if (rowIndex == null) {
            return null;
          }
          OctetString os = new OctetString();
          os.fromSubIndex(rowIndex, true);
          String hexString = os.toHexString();
          return new Long(Long.parseLong(hexString, 16));
        }
      }));

      ObjectName onameJvmClasses =
View Full Code Here

Examples of org.tc65sh.util.ByteArray.toHexString()

    byte flags;
    if ( pathname == null || pathname.length() == 0 || pathname.equals("/") || pathname.equals("..") || pathname.toLowerCase().equals("a:") || pathname.toLowerCase().equals("a:/") ) {
      flags = Obex.FLAG_SETPATH_PARENT_FOLDER;
    } else {
      ByteArray obexPath = Obex.encodeUtf16String(pathname);
      Log.debug(this.getClass(), "obexPath = "+obexPath.toPrintableString()+" " +obexPath.toHexString());
      header.append(Obex.HEADER_NAME);
      header.append(Obex.shortToBytes(obexPath.length()+3));
      header.append(obexPath);
      if ( create ) {
        flags = Obex.FLAG_SETPATH_CREATE;
View Full Code Here

Examples of org.tc65sh.util.ByteArray.toHexString()

    while( serialIn.available() > 0 ) {
      int readCount = serialIn.read(buf);
      totalReadCount += readCount;
      ByteArray temp = new ByteArray(buf, 0, readCount);
      if ( Log.isDebugEnabled() ) {
        Log.debug(this.getClass(), "received " + temp.length() + " bytes: " + temp.toHexString() + temp.toPrintableString());
      }
      byteArray.append(temp);
    }
    return totalReadCount;
  }
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.