Examples of readDouble()


Examples of com.google.protobuf.CodedInputStream.readDouble()

               break;
            case wrappedBool << 3 | WireFormat.WIRETYPE_VARINT:
               value = in.readBool();
               break;
            case wrappedDouble << 3 | WireFormat.WIRETYPE_FIXED64:
               value = in.readDouble();
               break;
            case wrappedFloat << 3 | WireFormat.WIRETYPE_FIXED32:
               value = in.readFloat();
               break;
            case wrappedFixed32 << 3 | WireFormat.WIRETYPE_FIXED32:
View Full Code Here

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

                for (int i = 1; i <= records; i++) {
                    boolean found = excerpt.nextIndex();
                    if (!found)
                        assertTrue(found);
                    long l = excerpt.readLong();
                    double d = excerpt.readDouble();
                    if (l != i)
                        assertEquals(i, l);
                    if (d != i)
                        assertEquals((double) i, d);
                    excerpt.finish();
View Full Code Here

Examples of com.impossibl.postgres.api.jdbc.PGSQLInput.readDouble()

    public void readSQL(SQLInput stream, String typeName) throws SQLException {
      PGSQLInput in = (PGSQLInput) stream;
      str = in.readString();
      str2 = in.readString();
      id = (UUID) in.readObject();
      num = in.readDouble();
    }

    @Override
    public void writeSQL(SQLOutput stream) throws SQLException {
      PGSQLOutput out = (PGSQLOutput) stream;
View Full Code Here

Examples of com.jme3.scene.plugins.blender.file.BlenderInputStream.readDouble()

                        break;
                    case IDP_DOUBLE:
                        elementAmount /= 8;
                        double[] doubleList = new double[elementAmount];
                        for (int i = 0; i < elementAmount; ++i) {
                            doubleList[i] = bis.readDouble();
                        }
                        value = doubleList;
                        break;
                    default:
                        throw new IllegalStateException("Invalid array subtype: " + subType);
View Full Code Here

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

      stream.writeBit(1);
     
      stream.readBit();
     
      for (double sample : sampleDoubles()) {
        assertEquals(sample, stream.readDouble(), 0.00000001);
      }
     
      assertEquals(1, stream.getData().readable());
    } finally {
    }
View Full Code Here

Examples of com.vividsolutions.jts.io.ByteOrderDataInStream.readDouble()

        // read the srid
        h.srid = din.readInt();

        // read the envlope
        if (h.flags.getEnvelopeIndicator() != EnvelopeType.NONE) {
            double x1 = din.readDouble();
            double x2 = din.readDouble();
            double y1 = din.readDouble();
            double y2 = din.readDouble();
   
            if (h.flags.getEnvelopeIndicator().value > 1) {
View Full Code Here

Examples of de.hpi.eworld.visualizer.simulation.traci.common.TraciInputStream.readDouble()

 
  public static ResponseTrafficLightSwitchCommandReader fromCommand(Command command) throws IOException {
   
    TraciInputStream payload = command.getPayload();

    double switchTime = payload.readDouble();
    byte[] precedingEdge = payload.readTraciString();
    float positionOnPrecedingEdge = payload.readFloat();
    byte[] succeedingEdge = payload.readTraciString();
    int newPhase = payload.readInt();
    double yellowTime = payload.readDouble();
View Full Code Here

Examples of de.uniluebeck.itm.tcpip.Storage.readDouble()

    @Override
    protected Double readValue(Command resp) throws TraCIException {
      Storage content = resp.content();
      Utils.checkType(content, Constants.TYPE_DOUBLE);
      return content.readDouble();
    }
  }

  public static class ColorQ extends ReadObjectVarQuery<Color> {
View Full Code Here

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

        assertEquals(Float.MAX_VALUE, lis.readFloat());
        assertEquals(Byte.MAX_VALUE, lis.readByte());
        assertEquals(Short.MAX_VALUE, lis.readShort());
        assertEquals(Integer.MAX_VALUE, lis.readInt());
        assertEquals(Long.MAX_VALUE, lis.readLong());
        assertEquals(Double.MAX_VALUE, lis.readDouble());
        lis.close();
    }


    static void createTestFile() throws IOException {
View Full Code Here

Examples of io.airlift.slice.SliceInput.readDouble()

                if (!intermediates.isNull()) {
                    SliceInput input = intermediates.getSlice().getInput();
                    // read digest
                    digest.merge(QuantileDigest.deserialize(input));
                    // read percentile
                    percentile = input.readDouble();
                }
            }
        }

        @Override
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.