Examples of readLong()


Examples of com.mobixess.jodb.core.io.IRandomAccessDataBuffer.readLong()

            int id = in.readShort()&0xffff;
            long offset;
            if(isRelativeAddr){
                offset = in.readInt()+ in.getCursorOffset();
            }else{
                offset = in.readLong();
            }
            int index = ArrayUtils.indexOf(fieldsIDs, id);
            if(index == -1){
                continue;
            }
View Full Code Here

Examples of com.orientechnologies.orient.core.storage.fs.OFile.readLong()

      return -1;

    final long timer = OProfiler.getInstance().startChrono();

    final short clusterId = file.readShort(pos[1] + OConstants.SIZE_INT);
    final long clusterPosition = file.readLong(pos[1] + OConstants.SIZE_INT + OConstants.SIZE_SHORT);

    final byte[] content = new byte[recordSize];
    file.read(pos[1] + RECORD_FIX_SIZE, content, recordSize);

    if (clusterId > -1) {
View Full Code Here

Examples of com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryAsynchClient.readLong()

          endRequest(network);
        }

        try {
          beginResponse(network);
          return network.readLong();
        } finally {
          endResponse(network);
        }

      } catch (Exception e) {
View Full Code Here

Examples of com.orientechnologies.orient.enterprise.channel.binary.OChannelBinaryClient.readLong()

        }

        try {
          beginResponse(network);

          iRid.clusterPosition = network.readLong();
          return iRid.clusterPosition;

        } finally {
          endResponse(network);
        }
View Full Code Here

Examples of com.peterhi.obsolete.Stream.readLong()

      stream.writeBit(1);
     
      stream.readBit();
     
      for (NumWithInfo nwi : genNumWithInfos(Long.SIZE)) {
        assertEquals(nwi.getNumber().longValue(), stream.readLong());
      }
     
      assertEquals(1, stream.getData().readable());
    } finally {
    }
View Full Code Here

Examples of com.sun.enterprise.naming.util.ObjectInputStreamWithLoader.readLong()

    public void _storeable_readState(InputStream is) throws IOException {
        ObjectInputStream ois = new ObjectInputStreamWithLoader(is, SFSBBeanState.class.getClassLoader());

        try {
            sessionId = (Serializable) ois.readObject();
            version = ois.readLong();
            lastAccess = ois.readLong();
            maxIdleTime = ois.readLong();
            isNew = ois.readBoolean();
           
            int len = ois.readInt();
View Full Code Here

Examples of fiftyone.mobile.detection.readers.TrieReader.readLong()

                    new String(reader.readBytes((int) reader.readUInt())),
                    ReadStrings(reader),
                    ReadProperties(reader),
                    ReadDevices(reader),
                    ReadLookupList(reader),
                    reader.readLong(),
                    reader.getPos(),
                    fileName);

        } else {
            return null;
View Full Code Here

Examples of htsjdk.tribble.util.LittleEndianInputStream.readLong()

            // Get zoom level information
            if(isLowToHigh){
                reductionLevel = lbdis.readInt();
                reserved = lbdis.readInt();
                dataOffset = lbdis.readLong();
                indexOffset = lbdis.readLong();
            }
            else {
                reductionLevel = bdis.readInt();
                reserved = bdis.readInt();
View Full Code Here

Examples of hudson.remoting.ObjectInputStreamEx.readLong()

                ObjectInputStream ois = new ObjectInputStreamEx(new GZIPInputStream(
                        new CipherInputStream(new ByteArrayInputStream(Base64.decode(base64.toCharArray())),sym)),
                        Jenkins.getInstance().pluginManager.uberClassLoader);
                try {
                    long timestamp = ois.readLong();
                    if (TimeUnit2.HOURS.toMillis(1) > abs(System.currentTimeMillis()-timestamp))
                        // don't deserialize something too old to prevent a replay attack
                        return (ConsoleAnnotator)ois.readObject();
                } finally {
                    ois.close();
View Full Code Here

Examples of io.netty.buffer.ByteBuf.readLong()

    int senderId = -1;
    long requestId = -1;
    int response = -1;
    try {
      senderId = buf.readInt();
      requestId = buf.readLong();
      response = buf.readByte();
    } catch (IndexOutOfBoundsException e) {
      throw new IllegalStateException(
          "channelRead: Got IndexOutOfBoundsException ", e);
    }
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.