Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 184 for readInt2 (1.23 sec)

  1. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            // Verify search attributes (masked with 0x37)
            assertEquals(0x37, SMBUtil.readInt2(buffer, 0));
    
            // Verify max items
            assertEquals(100, SMBUtil.readInt2(buffer, 2));
    
            // Verify flags (should be 0x00)
            assertEquals(0x00, SMBUtil.readInt2(buffer, 4));
    
            // Verify information level (SMB_FILE_BOTH_DIRECTORY_INFO)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            bufferIndex += 2;
            parameterDisplacement = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataDisplacement = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            setupCount = buffer[bufferIndex] & 0xFF;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2FindFirst2Response.java

                e.endOfFile = readInt8(buffer, bufferIndex + 40);
                //      e.allocationSize = readInt8( buffer, bufferIndex + 48 );
                e.extFileAttributes = readInt4(buffer, bufferIndex + 56);
                e.fileNameLength = readInt4(buffer, bufferIndex + 60);
                //      e.eaSize = readInt4( buffer, bufferIndex + 64 );
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            // these are common between SYNC/ASYNC
            SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            SMBUtil.readInt2(buffer, bufferIndex);
            this.creditCharge = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
            this.status = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.command = SMBUtil.readInt2(buffer, bufferIndex);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxNumberVcs = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxBufferSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.server.maxRawSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            this.dataCompactionMode = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            this.dataLength = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.dataOffset = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            desc2.writeParametersWireFormat(dst2, 0);
            desc3.writeParametersWireFormat(dst3, 0);
    
            assertEquals(0x1111, SMBUtil.readInt2(dst1, 0));
            assertEquals(0x2222, SMBUtil.readInt2(dst2, 0));
            assertEquals(0x3333, SMBUtil.readInt2(dst3, 0));
        }
    
        @Test
        @DisplayName("Test parameter wire format structure")
        void testParameterWireFormatStructure() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

            bufferIndex++;
            this.type = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            final int ownerUOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = SMBUtil.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            SMBUtil.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            server.maxMpxCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            server.maxNumberVcs = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            server.maxBufferSize = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            server.maxRawSize = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            server.sessionKey = readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top