Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 230 for readInt8 (0.07 sec)

  1. 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)
  2. 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)
  3. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        }
    
        @Test
        @DisplayName("readInt2 should correctly read 16-bit integer")
        void testReadInt2() {
            byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 };
            int result = SessionServicePacket.readInt2(src, 0);
    
            assertEquals(0x1234, result);
        }
    
        @Test
        @DisplayName("readInt2 with offset should read from correct position")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            }
    
            int start = bufferIndex;
    
            transformCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            reserved1 = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            reserved2 = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // Read the transform (only expecting one)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.typeOfLock = buffer[bufferIndex];
    
            if ((this.typeOfLock & 0x10) == 0x10) {
                this.largeFile = true;
            }
    
            this.newOpLockLevel = buffer[bufferIndex + 1];
            bufferIndex += 2;
    
            this.timeout = 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
    - 5.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

            // CurrentLeaseState (4 bytes)
            this.currentLeaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // NewLeaseState (4 bytes)
            this.newLeaseState = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // BreakReason (4 bytes)
            this.breakReason = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top