Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 544 for reading2 (0.06 sec)

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

            // Read total allocation units.
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // read caller available allocation units
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            // skip actual free units
            bufferIndex += 8;
    
            this.sectPerAlloc = 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.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            final int nunlocks = SMBUtil.readInt2(buffer, bufferIndex);
            this.unlocks = new LockingAndXRange[nunlocks];
            bufferIndex += 2;
    
            final int nlocks = SMBUtil.readInt2(buffer, bufferIndex);
            this.locks = new LockingAndXRange[nlocks];
            bufferIndex += 2;
            return start - bufferIndex;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.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
    - 6K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/fscc/FsctlPipeWaitRequestTest.java

            // Verify
            assertEquals(14 + nameBytes.length, bytesEncoded);
    
            // Check timeout (should be 0)
            assertEquals(0L, SMBUtil.readInt8(buffer, 0));
    
            // Check name length
            assertEquals(nameBytes.length, SMBUtil.readInt4(buffer, 8));
    
            // Check timeout specified flag (should be 0)
            assertEquals(0x0, buffer[12]);
    
            // Check padding
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServicePacket.java

            this.resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F;
            this.questionCount = readInt2(src, srcIndex + QUESTION_OFFSET);
            this.answerCount = readInt2(src, srcIndex + ANSWER_OFFSET);
            this.authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET);
            this.additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

            resultCode = src[srcIndex + OPCODE_OFFSET + 1] & 0x0F;
            questionCount = readInt2(src, srcIndex + QUESTION_OFFSET);
            answerCount = readInt2(src, srcIndex + ANSWER_OFFSET);
            authorityCount = readInt2(src, srcIndex + AUTHORITY_OFFSET);
            additionalCount = readInt2(src, srcIndex + ADDITIONAL_OFFSET);
            return HEADER_LENGTH;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            this.leaseKey = new Smb2LeaseKey(keyBytes);
            bufferIndex += 16;
    
            this.leaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  10. 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)
Back to top