Examples of readLong()


Examples of com.esotericsoftware.kryo.io.UnsafeInput.readLong()

    assertEquals(-268435455, read.readLong());
    assertEquals(-134217728, read.readLong());
    assertEquals(-268435456, read.readLong());
    assertEquals(0, read.readLong(true));
    assertEquals(0, read.readLong(false));
    assertEquals(63, read.readLong(true));
    assertEquals(63, read.readLong(false));
    assertEquals(64, read.readLong(true));
    assertEquals(64, read.readLong(false));
    assertEquals(127, read.readLong(true));
    assertEquals(127, read.readLong(false));
View Full Code Here

Examples of com.esotericsoftware.kryo.io.UnsafeMemoryInput.readLong()

    assertEquals(8, write.writeLong(-134217728, true));
    assertEquals(8, write.writeLong(-134217729, false));
    assertEquals(8, write.writeLong(-134217729, true));

    Input read = new UnsafeMemoryInput(write.toBytes());
    assertEquals(0, read.readLong());
    assertEquals(63, read.readLong());
    assertEquals(64, read.readLong());
    assertEquals(127, read.readLong());
    assertEquals(128, read.readLong());
    assertEquals(8192, read.readLong());
View Full Code Here

Examples of com.eviware.soapui.support.xml.XmlObjectConfigurationReader.readLong()

  public VarianceLoadStrategy( XmlObject config, WsdlLoadTest loadTest )
  {
    super( STRATEGY_TYPE, loadTest );

    XmlObjectConfigurationReader reader = new XmlObjectConfigurationReader( config );
    interval = reader.readLong( INTERVAL_ELEMENT, DEFAULT_INTERVAL );
    variance = reader.readFloat( VARIANCE_ELEMENT, DEFAULT_VARIANCE );
  }

  public JComponent getConfigurationPanel()
  {
View Full Code Here

Examples of com.firefly.utils.json.JsonReader.readLong()

    Assert.assertThat(reader.isObject(), is(true));
    char[] t1 = "dsffsfsf".toCharArray();
    char[] ret = reader.readField(t1);
    Assert.assertThat(new String(ret), is("testField"));
    Assert.assertThat(reader.isColon(), is(true));
    Assert.assertThat(reader.readLong(), is(-3334L));
    char ch = reader.readAndSkipBlank();
    Assert.assertThat(ch, is('}'));
    reader.close();
  }
 
View Full Code Here

Examples of com.firefly.utils.json.io.JsonStringReader.readLong()

    Assert.assertThat(reader.isObject(), is(true));
    char[] t1 = "dsffsfsf".toCharArray();
    char[] ret = reader.readField(t1);
    Assert.assertThat(new String(ret), is("testField"));
    Assert.assertThat(reader.isColon(), is(true));
    Assert.assertThat(reader.readLong(), is(-3334L));
    char ch = reader.readAndSkipBlank();
    Assert.assertThat(ch, is('}'));
    reader.close();
  }
 
View Full Code Here

Examples of com.google.code.or.io.XInputStream.readLong()

          }
        }
       
        // Parse the event header
        final BinlogEventV4HeaderImpl header = new BinlogEventV4HeaderImpl();
        header.setTimestamp(is.readLong(4) * 1000L);
        header.setEventType(is.readInt(1));
        header.setServerId(is.readLong(4));
        header.setEventLength(is.readInt(4));
        header.setNextPosition(is.readLong(4));
        header.setFlags(is.readInt(2));
 
View Full Code Here

Examples of com.google.code.or.io.util.XDeserializer.readLong()

    r.orginalTable = d.readLengthCodedString();
    r.column = d.readLengthCodedString();
    r.originalColumn = d.readLengthCodedString();
    r.fixed12 = d.readInt(1);
    r.charset = d.readInt(2);
    r.fieldLength = d.readLong(4);
    r.fieldType = d.readInt(1);
    r.fieldOptions = d.readInt(2);
    r.decimalPrecision = d.readInt(1);
    r.reserved = d.readInt(2);
    if(d.available() > 0) r.defaultValue = d.readLengthCodedString();
View Full Code Here

Examples of com.google.common.io.ByteArrayDataInput.readLong()

    byte[] bytes = getAttribute(CONSUMED_CLUSTER_IDS);
    if(bytes != null) {
      ByteArrayDataInput in = ByteStreams.newDataInput(bytes);
      int numClusters = in.readInt();
      for(int i=0; i<numClusters; i++){
        clusterIds.add(new UUID(in.readLong(), in.readLong()));
      }
    }
    return clusterIds;
  }
View Full Code Here

Examples of com.hazelcast.nio.ObjectDataInput.readLong()

        final ObjectDataInput in = reader.getRawDataInput();
        key = IOUtil.readNullableData(in);
        value = IOUtil.readNullableData(in);
        newValue = IOUtil.readNullableData(in);
        readDataInner(in);
        ttl = in.readLong();
    }

    protected abstract Predicate getPredicate();

    protected abstract void writeDataInner(ObjectDataOutput writer) throws IOException;
View Full Code Here

Examples of com.higherfrequencytrading.chronicle.Excerpt.readLong()

            try {
                for (int i = 0; i < WARMUP + RUNS; i++) {
                    do {
                        /* busy wait */
                    } while (!excerpt.index(i));
                    long next = excerpt.readLong();
                    long took = System.nanoTime() - next;
                    if (i >= WARMUP)
                        histo.sample(took);
                    else
                        warmup.sample(took);
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.