Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testSkipBytes (0.35 seconds)

  1. android/guava-tests/test/com/google/common/io/LittleEndianDataInputStreamTest.java

        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);
    
        /* Write out various test values NORMALLY */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            long newLength = 2048L;
            smbRandomAccessFile.setLength(newLength);
            // Verify length was set (actual behavior depends on implementation)
        }
    
        @Test
        void testSkipBytes() throws SmbException {
            int skipAmount = 100;
            int result = smbRandomAccessFile.skipBytes(skipAmount);
    
            assertEquals(skipAmount, result);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            };
            PacDataInputStream pdis = createInputStream(data);
            SID sid = pdis.readSid();
            assertEquals("S-1-1-0", sid.toString());
        }
    
        @Test
        public void testSkipBytes() throws IOException {
            byte[] data = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            PacDataInputStream pdis = createInputStream(data);
            int skipped = pdis.skipBytes(2);
            assertEquals(2, skipped);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top