- Sort Score
- Num 10 results
- Language All
Results 11 - 13 of 13 for readDouble (0.08 seconds)
-
guava-tests/test/com/google/common/io/ByteStreamsTest.java
} public void testNewDataInput_readDouble() { byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10}; ByteArrayDataInput in = ByteStreams.newDataInput(data); assertThat(in.readDouble()).isEqualTo(Double.longBitsToDouble(0x1234567876543210L)); } public void testNewDataInput_readUTF() { byte[] data = new byte[17]; data[1] = 15;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
b[off + 5] = 0x00; b[off + 6] = 0x00; b[off + 7] = 0x00; return 8; }).when(raf).read(any(byte[].class), anyInt(), eq(8)); assertEquals(1.0d, raf.readDouble(), 0.0000001); } @Test @DisplayName("readLine(): reads until newline and handles CRLF") void readLine_reads() throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/ByteStreamsTest.java
} public void testNewDataInput_readDouble() { byte[] data = {0x12, 0x34, 0x56, 0x78, 0x76, 0x54, 0x32, 0x10}; ByteArrayDataInput in = ByteStreams.newDataInput(data); assertThat(in.readDouble()).isEqualTo(Double.longBitsToDouble(0x1234567876543210L)); } public void testNewDataInput_readUTF() { byte[] data = new byte[17]; data[1] = 15;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 22K bytes - Click Count (0)