Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 476 for reading3 (0.05 sec)

  1. src/main/java/jcifs/internal/fscc/FileStandardInfo.java

            final int start = bufferIndex;
            this.allocationSize = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.endOfFile = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
            this.numberOfLinks = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.deletePending = (buffer[bufferIndex] & 0xFF) > 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponse.java

            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 9) {
                throw new SMBProtocolDecodingException("Expected structureSize = 9");
            }
    
            final int bufferOffset = SMBUtil.readInt2(buffer, bufferIndex + 2) + getHeaderStart();
            bufferIndex += 4;
            final int len = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

                assertEquals(0, SMBUtil.readInt2(buffer, 72));
    
                // Verify input buffer length (should be 0 when no input buffer)
                assertEquals(0, SMBUtil.readInt4(buffer, 76));
    
                // Verify additional information
                assertEquals(0x12345678, SMBUtil.readInt4(buffer, 80));
    
                // Verify query flags
                assertEquals(0xABCDEF00, SMBUtil.readInt4(buffer, 84));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

            final int start = bufferIndex;
    
            setStatus(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.converter = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setNumEntries(SMBUtil.readInt2(buffer, bufferIndex));
            bufferIndex += 2;
            this.totalAvailableEntries = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionTest.java

            assertEquals(smbComNtTransaction.totalParameterCount, SmbComTransaction.readInt4(dst, 3),
                    "totalParameterCount should be written correctly");
            assertEquals(smbComNtTransaction.totalDataCount, SmbComTransaction.readInt4(dst, 7), "totalDataCount should be written correctly");
            assertEquals(smbComNtTransaction.maxParameterCount, SmbComTransaction.readInt4(dst, 11),
                    "maxParameterCount should be written correctly");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

            final int start = bufferIndex;
    
            status = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            converter = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            numEntries = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            totalAvailableEntries = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            return bufferIndex - start;
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/fscc/SmbInfoAllocation.java

            bufferIndex += 4; // skip idFileSystem
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.alloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.free = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.bytesPerSect = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/LittleEndianDataInputStream.java

       * Reads an integer as specified by {@link DataInputStream#readInt()}, except using little-endian
       * byte order.
       *
       * @return the next four bytes of the input stream, interpreted as an {@code int} in little-endian
       *     byte order
       * @throws IOException if an I/O error occurs
       */
      @CanIgnoreReturnValue // to skip some bytes
      @Override
      public int readInt() throws IOException {
        byte b1 = readAndCheckByte();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 03:49:18 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            ServerMessageBlock.writeInt2(0x1234, buffer, 0);
            assertEquals(0x1234, ServerMessageBlock.readInt2(buffer, 0));
        }
    
        @Test
        void testInt4ReadWrite() {
            byte[] buffer = new byte[4];
            ServerMessageBlock.writeInt4(0x12345678, buffer, 0);
            assertEquals(0x12345678, ServerMessageBlock.readInt4(buffer, 0));
        }
    
        @Test
        void testInt8ReadWrite() {
            byte[] buffer = new byte[8];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            final int start = bufferIndex;
            final int structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (structureSize != 16) {
                throw new SMBProtocolDecodingException("Structure size is not 16");
            }
    
            this.shareType = buffer[bufferIndex + 2];
            bufferIndex += 4;
            this.shareFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top