Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for doubleToLongBits (0.18 sec)

  1. guava/src/com/google/common/math/PairedStats.java

          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
            && doubleToLongBits(sumOfProductsOfDeltas) == doubleToLongBits(other.sumOfProductsOfDeltas);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/Stats.java

        }
        Stats other = (Stats) obj;
        return count == other.count
            && doubleToLongBits(mean) == doubleToLongBits(other.mean)
            && doubleToLongBits(sumOfSquaresOfDeltas) == doubleToLongBits(other.sumOfSquaresOfDeltas)
            && doubleToLongBits(min) == doubleToLongBits(other.min)
            && doubleToLongBits(max) == doubleToLongBits(other.max);
      }
    
      /**
       * {@inheritDoc}
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/PairedStats.java

          return false;
        }
        PairedStats other = (PairedStats) obj;
        return xStats.equals(other.xStats)
            && yStats.equals(other.yStats)
            && doubleToLongBits(sumOfProductsOfDeltas) == doubleToLongBits(other.sumOfProductsOfDeltas);
      }
    
      /**
       * {@inheritDoc}
       *
       * <p><b>Note:</b> This hash code is consistent with exact equality of the calculated statistics,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/Encdec.java

         */
    
        public static int enc_doublele ( double d, byte[] dst, int di ) {
            return enc_uint64le(Double.doubleToLongBits(d), dst, di);
        }
    
    
        public static int enc_doublebe ( double d, byte[] dst, int di ) {
            return enc_uint64be(Double.doubleToLongBits(d), dst, di);
        }
    
    
        public static double dec_doublele ( byte[] src, int si ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

         */
    
        public static int enc_doublele( double d, byte[] dst, int di )
        {
            return enc_uint64le( Double.doubleToLongBits( d ), dst, di );
        }
        public static int enc_doublebe( double d, byte[] dst, int di )
        {
            return enc_uint64be( Double.doubleToLongBits( d ), dst, di );
        }
        public static double dec_doublele( byte[] src, int si )
        {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
        assertEquals("Herby Derby", in.readUTF());
        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
        assertEquals("Herby Derby", in.readUTF());
        assertEquals(0xBEBAFECA, Float.floatToIntBits(in.readFloat()));
        assertEquals(0xBEBAFECAEFBEADDEL, Double.doubleToLongBits(in.readDouble()));
      }
    
      @SuppressWarnings("deprecation") // testing a deprecated method
      public void testWriteBytes() throws IOException {
    
        /* Write out various test values in LITTLE ENDIAN FORMAT */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/LittleEndianDataOutputStream.java

       * using little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
       */
      @Override
      public void writeDouble(double v) throws IOException {
        writeLong(Double.doubleToLongBits(v));
      }
    
      /**
       * Writes a {@code float} as specified by {@link DataOutputStream#writeFloat(float)}, except using
       * little-endian byte order.
       *
       * @throws IOException if an I/O error occurs
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 12:34:49 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
        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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        assertEquals(0xBEBAFECAEFBEADDEL, in.readLong());
        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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.8K bytes
    - Viewed (0)
Back to top