- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for readFloat (0.04 sec)
-
android/guava/src/com/google/common/io/LittleEndianDataInputStream.java
* Reads a {@code float} as specified by {@link DataInputStream#readFloat()}, except using * little-endian byte order. * * @return the next four bytes of the input stream, interpreted as a {@code float} in * little-endian byte order * @throws IOException if an I/O error occurs */ @CanIgnoreReturnValue // to skip some bytes @Override public float readFloat() 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) -
android/guava/src/com/google/common/io/ByteArrayDataInput.java
@Override int readInt(); @CanIgnoreReturnValue // to skip some bytes @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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 20:25:25 UTC 2024 - 2.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java
assertEquals(0xBEBAFECA, in.readInt()); 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();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java
if (read(tmp, 0, 8) < 0) { throw new SmbException("EOF"); } return Encdec.dec_uint64be(tmp, 0); } @Override public final float readFloat() throws SmbException { if (read(tmp, 0, 4) < 0) { throw new SmbException("EOF"); } return Encdec.dec_floatbe(tmp, 0); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRandomAccessFileTest.java
b[off + 1] = (byte) 0x80; b[off + 2] = 0x00; b[off + 3] = 0x00; return 4; }).when(raf).read(any(byte[].class), anyInt(), eq(4)); assertEquals(1.0f, raf.readFloat(), 0.00001); // double 1.0 -> 0x3FF0000000000000 doAnswer(inv -> { byte[] b = inv.getArgument(0); int off = inv.getArgument(1); b[off] = 0x3F;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.1K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
try { return input.readLong(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public float readFloat() { try { return input.readFloat(); } catch (IOException e) { throw new IllegalStateException(e); } } @Override public double readDouble() { 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) -
src/main/java/jcifs/smb/SmbRandomAccessFile.java
if (read(this.tmp, 0, 8) < 0) { throw new SmbEndOfFileException(); } return Encdec.dec_uint64be(this.tmp, 0); } @Override public final float readFloat() throws SmbException { if (read(this.tmp, 0, 4) < 0) { throw new SmbEndOfFileException(); } return Encdec.dec_floatbe(this.tmp, 0); } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 18.8K bytes - Viewed (0)