Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 159 for reserved2 (1.94 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            }
    
            /** The return value of the operation */
            public int retval;
            /** The NetBIOS name of the server to connect to */
            public String system_name;
            /** Reserved parameter, must be set to 2 */
            public int unknown;
            /** The desired access rights to the SAM server */
            public int access_mask;
            /** The returned handle to the SAM server */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java

            // Next command
            SMBUtil.writeInt4(0, buffer, bufferIndex + 20);
            // Message ID
            SMBUtil.writeInt8(1, buffer, bufferIndex + 24);
            // Reserved/Async ID
            SMBUtil.writeInt8(0, buffer, bufferIndex + 32);
            // Session ID
            SMBUtil.writeInt8(0, buffer, bufferIndex + 40);
            // Signature
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/create/Smb2CloseResponse.java

                throw new SMBProtocolDecodingException("Expected structureSize = 60");
            }
            this.closeFlags = SMBUtil.readInt2(buffer, bufferIndex + 2);
            bufferIndex += 4;
            bufferIndex += 4; // Reserved
            this.creationTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
            this.lastAccessTime = SMBUtil.readTime(buffer, bufferIndex);
            bufferIndex += 8;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakResponse.java

            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;
    
            // LeaseKey (16 bytes)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            NdrBuffer decodeBuffer = new NdrBuffer(buffer, 0);
            lsarpc.LsarDomainInfo decodedInfo = new lsarpc.LsarDomainInfo();
            decodedInfo.decode(decodeBuffer);
    
            // Verify nulls are preserved
            assertEquals(0, decodedInfo.name.length);
            assertEquals(0, decodedInfo.name.maximum_length);
            assertNull(decodedInfo.name.buffer);
            assertNull(decodedInfo.sid);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

            SMBUtil.writeInt8(this.mid, dst, dstIndex + 24);
    
            if (this.async) {
                SMBUtil.writeInt8(this.asyncId, dst, dstIndex + 32);
            } else {
                // 4 reserved
                SMBUtil.writeInt4(this.treeId, dst, dstIndex + 36);
            }
            SMBUtil.writeInt8(this.sessionId, dst, dstIndex + 40);
    
            return Smb2Constants.SMB2_HEADER_LENGTH;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

            // Encode to set headerStart
            req.encode(buffer, 0);
    
            // Then
            byte[] pathBytes = unicodePath.getBytes(StandardCharsets.UTF_16LE);
    
            // Verify Unicode path is preserved
            byte[] actualPath = new byte[pathBytes.length];
            System.arraycopy(buffer, Smb2Constants.SMB2_HEADER_LENGTH + 8, actualPath, 0, pathBytes.length);
            assertArrayEquals(pathBytes, actualPath);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

            int n = block.writeAndXWireFormat(buf, 0);
    
            assertTrue(n > 0);
            // Common AndX header: command at +1, reserved at +2, offset at +3/+4
            assertEquals((byte) 0xFF, buf[1], "AndX command should be 0xFF when no chaining");
            assertEquals((byte) 0x00, buf[2], "Reserved byte must be 0");
            assertEquals((byte) 0xDE, buf[3], "Sentinel low offset when no chaining");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type2Message.java

            // ServerChallenge
            final byte[] challengeBytes = getChallenge();
            System.arraycopy(challengeBytes != null ? challengeBytes : new byte[8], 0, type2, pos, 8);
            pos += 8;
    
            // Reserved
            final byte[] contextBytes = getContext();
            System.arraycopy(contextBytes != null ? contextBytes : new byte[8], 0, type2, pos, 8);
            pos += 8;
    
            // TargetInfoFields
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameQueryResponseTest.java

            int srcIndex = 0;
    
            // Simulate groupName = false (0x00), nodeType = 0 (0x00) -> src[srcIndex] = 0x00
            src[srcIndex] = (byte) 0x00;
            src[srcIndex + 1] = (byte) 0x00; // Reserved/padding byte
    
            // Simulate address = 192.168.1.1 (0xC0A80101)
            src[srcIndex + 2] = (byte) 0xC0;
            src[srcIndex + 3] = (byte) 0xA8;
            src[srcIndex + 4] = (byte) 0x01;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top