Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for readDouble (0.04 sec)

  1. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * little-endian byte order.
       *
       * @return the next eight bytes of the input stream, interpreted as a {@code double} in
       *     little-endian byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public double readDouble() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/ByteArrayDataInput.java

      @Override
      long readLong();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      float readFloat();
    
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      double readDouble();
    
      @CanIgnoreReturnValue // to skip a line
      @Override
      @Nullable String readLine();
    
      @CanIgnoreReturnValue // to skip a field
      @Override
      String readUTF();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        s.defaultReadObject();
    
        int length = s.readInt();
        ImmutableLongArray.Builder builder = ImmutableLongArray.builder();
        for (int i = 0; i < length; i++) {
          builder.add(doubleToRawLongBits(s.readDouble()));
        }
        this.longs = new AtomicLongArray(builder.build().toArray());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        assertEquals("Herby Derby", in.readUTF());
        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      public void testSkipBytes() throws IOException {
        ByteArrayOutputStream baos = new ByteArrayOutputStream();
        DataOutputStream out = new DataOutputStream(baos);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AtomicDouble.java

      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
    
        set(s.readDouble());
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/ByteStreams.java

          try {
            return input.readFloat();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public double readDouble() {
          try {
            return input.readDouble();
          } catch (IOException e) {
            throw new IllegalStateException(e);
          }
        }
    
        @Override
        public @Nullable String readLine() {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 31.1K bytes
    - Viewed (0)
Back to top