Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 200 for Reserved2 (0.07 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsZero() {
            // Test case when bufDataStart is initially 0.
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
    
            // totalParameterCount = 10
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/create/LeaseV2CreateContextResponse.java

            bufferIndex += 4;
    
            this.leaseFlags = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    
            // LeaseDuration (8 bytes) - reserved, skip
            bufferIndex += 8;
    
            byte[] parentKeyBytes = new byte[16];
            System.arraycopy(buffer, bufferIndex, parentKeyBytes, 0, 16);
            this.parentLeaseKey = new Smb2LeaseKey(parentKeyBytes);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDesc.java

            final int start = dstIndex;
    
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00; // Reserved
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00; // Reserved
            SMBUtil.writeInt4(this.securityInformation, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. src/main/java/jcifs/internal/util/SMBUtil.java

                (byte) 64, (byte) 0x00, // StructureSize (LE)
                (byte) 0x00, (byte) 0x00, // CreditCharge (reserved 2.0.2)
                (byte) 0x00, (byte) 0x00, // ChannelSequence
                (byte) 0x00, (byte) 0x00, // Reserved
                (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, // Status
                (byte) 0x00, (byte) 0x00, // Command
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java

            dstIndex += 16;
    
            // Original message size
            SMBUtil.writeInt4(this.originalMessageSize, dst, dstIndex);
            dstIndex += 4;
    
            // Reserved (2 bytes)
            SMBUtil.writeInt2(0, dst, dstIndex);
            dstIndex += 2;
    
            // Flags (2 bytes)
            SMBUtil.writeInt2(this.flags, dst, dstIndex);
            dstIndex += 2;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            assertEquals((byte) (informationLevel & 0xFF), dst[0]);
            assertEquals((byte) ((informationLevel >> 8) & 0xFF), dst[1]);
            // Check reserved bytes
            for (int i = 2; i < 6; i++) {
                assertEquals((byte) 0x00, dst[i], "Reserved byte at index " + i + " should be 0.");
            }
            // Check filename
            byte[] filenameBytes = filename.getBytes();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/SocksProxy.kt

        if (version != VERSION_5) throw ProtocolException("unexpected version: $version")
    
        val command = fromSource.readByte() and 0xff
    
        val reserved = fromSource.readByte() and 0xff
        if (reserved != 0) throw ProtocolException("unexpected reserved: $reserved")
    
        val addressType = fromSource.readByte() and 0xff
        val toAddress =
          when (addressType) {
            ADDRESS_TYPE_IPV4 -> {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

            SMBUtil.writeInt2(4, buffer, 0);
            // Write reserved field (any value is acceptable)
            buffer[2] = (byte) byte2;
            buffer[3] = (byte) byte3;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then - should still read 4 bytes regardless of reserved field value
            assertEquals(4, bytesRead);
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/SmbComReadAndXResponse.java

            final int start = bufferIndex;
    
            bufferIndex += 2; // reserved
            dataCompactionMode = readInt2(buffer, bufferIndex);
            bufferIndex += 4; // 2 reserved
            dataLength = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 12; // 10 reserved
    
            return bufferIndex - start;
        }
    
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComReadAndXResponseTest.java

            @BeforeEach
            public void setUp() {
                // Build a sample buffer
                int bufferIndex = 0;
                bufferIndex += 2; // reserved
                writeInt2(dataCompactionMode, buffer, bufferIndex);
                bufferIndex += 2;
                bufferIndex += 2; // reserved
                writeInt2(dataLength, buffer, bufferIndex);
                bufferIndex += 2;
                writeInt2(dataOffset, buffer, bufferIndex);
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top