Examples of readInt()


Examples of org.voltdb.messaging.FastDeserializer.readInt()

        for (int i=0; i < count; i++) {
            ArrayList<VoltType> types = new ArrayList<VoltType>();
            ArrayList<String> names = new ArrayList<String>();

            byte is_replicated = fds.readByte();
            int p_id = fds.readInt();
            long t_id = fds.readLong();
            String t_name = fds.readString();
            int colcnt = fds.readInt();
            for (int jj = 0; jj < colcnt; jj++) {
                names.add(fds.readString());
View Full Code Here

Examples of research.store.StorableInput.readInt()

        try {
            zipEntry = zipFile.getEntry("index.txt");
            InputStream inputStream = zipFile.getInputStream(zipEntry);
            StorableInput indexInput = new StorableInput(inputStream);

            int viewNum = indexInput.readInt();

            if (viewNum > 0) {
                viewNameArray = new String[viewNum];
                for (int i = 0; i < viewNum; i++) {
                    viewNameArray[i] = indexInput.readString();
View Full Code Here

Examples of rocket.serialization.client.ObjectInputStream.readInt()

    // the method name...
    final String methodName = (String) inputStream.readObject();

    // the parameter types...
    final int parameterCount = inputStream.readInt();
    final String[] parameterTypes = new String[parameterCount];
    for (int i = 0; i < parameterTypes.length; i++) {
      parameterTypes[i] = (String) inputStream.readObject();
    }
View Full Code Here

Examples of serp.bytecode.lowlevel.ConstantPoolTable.readInt()

                name = table.readUnsignedShort(idx);
                idx += 2;
                if ("RuntimeVisibleAnnotations".equals(table.readString
                    (table.get(name))))
                    return matchAnnotations(table, idx + 4);
                idx += 4 + table.readInt(idx);
            }
        } catch (ArrayIndexOutOfBoundsException e) {
            Error cfe = new ClassFormatError(rsrc.getName());
            cfe.initCause(e);
            throw cfe;
View Full Code Here

Examples of ucar.unidata.io.RandomAccessFile.readInt()

            raf.skipBytes(-8);
          }
        }

        try {
          numCompBytes = raf.readInt();
          if (numCompBytes == -1) {
            System.out.println("\n--done: numCompBytes=-1 ");
            break;
          }
        } catch (EOFException ee) {
View Full Code Here

Examples of uk.ac.ucl.panda.utility.io.IndexInput.readInt()

    <code>d</code>, as written by the {@link #write} method.
    */
  public BitVector(Directory d, String name) throws IOException {
    IndexInput input = d.openInput(name);
    try {
      size = input.readInt();       // read size
      if (size == -1) {
        readDgaps(input);
      } else {
        readBits(input);
      }
View Full Code Here

Examples of util.io.BufferedRandomAccessFile.readInt()

    BufferedRandomAccessFile dataFile = null;
    try {
      dataFile = new BufferedRandomAccessFile(mFile, "rw");

      int version = dataFile.readInt();

      if (version < 2) {
        dataFile.close();
        updateToVersion2();
        dataFile = new BufferedRandomAccessFile(mFile, "rw");
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.