Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 226 for readInt4 (0.16 seconds)

  1. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

            final int start = bufferIndex;
            this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.chunkBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.totalBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            return bufferIndex - start;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/rdma/SmbDirectNegotiateResponse.java

            idx += 2;
            response.status = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.maxReadWriteSize = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.preferredSendSize = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.maxReceiveSize = SMBUtil.readInt4(data, idx);
            idx += 4;
            response.maxFragmentedSize = SMBUtil.readInt4(data, idx);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

            // Verify data at correct offset
            assertEquals(DEFAULT_CAPABILITIES, SMBUtil.readInt4(buffer, offset));
            assertEquals(DEFAULT_SECURITY_MODE, SMBUtil.readInt2(buffer, offset + 20));
            assertEquals(defaultDialects.length, SMBUtil.readInt2(buffer, offset + 22));
        }
    
        @Test
        @DisplayName("Test encode with empty dialects")
        void testEncodeWithEmptyDialects() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (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));
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/fscc/FileFsSizeInformation.java

            final int start = bufferIndex;
            this.alloc = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            this.free = SMBUtil.readInt8(buffer, bufferIndex);
            bufferIndex += 8;
    
            this.sectPerAlloc = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            this.bytesPerSect = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            this.structureSize = SMBUtil.readInt2(buffer, bufferIndex);
            if (this.structureSize != 36) {
                throw new SMBProtocolDecodingException("Invalid lease break response structure size: " + this.structureSize);
            }
            bufferIndex += 2;
    
            // Reserved (2 bytes)
            bufferIndex += 2;
    
            // Flags (4 bytes)
            this.flags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  7. 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;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  8. 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() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.9K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/fscc/FileRenameInformation2Test.java

            int bytesWritten = info.encode(buffer, 0);
    
            // Verify replaceIfExists flag
            assertEquals(1, buffer[0]);
    
            // Verify file name length
            int nameLength = SMBUtil.readInt4(buffer, 16);
            assertEquals(fileName.getBytes(StandardCharsets.UTF_16LE).length, nameLength);
    
            // Verify file name
            byte[] nameBytes = new byte[nameLength];
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponse.java

            bufferIndex += 4;
            this.maximalAccess = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            return bufferIndex - start;
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.8K bytes
    - Click Count (0)
Back to Top