Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 331 for 0x02 (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/trans/nt/SmbComNtTransactionResponse.java

            final int start = bufferIndex;
    
            buffer[bufferIndex] = (byte) 0x00; // Reserved
            bufferIndex++;
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
            buffer[bufferIndex++] = (byte) 0x00; // Reserved
    
            this.totalParameterCount = SMBUtil.readInt4(buffer, bufferIndex);
            if (this.bufDataStart == 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  2. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

            closeHandleCaptor = ArgumentCaptor.forClass(MsrpcSamrCloseHandle.class);
        }
    
        @Test
        void constructor_shouldOpenDomainSuccessfully() throws IOException {
            // Arrange
            int access = 0x01; // Example access value
            // Simulate successful RPC call
            doAnswer(invocation -> {
                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
                rpc.retval = 0; // Success
                return null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/Kerb5ContextTest.java

            byte[] der = mech.getDER();
            byte[] nb = name.getBytes();
            int len = 2 + 2 + der.length + 4 + nb.length;
            byte[] out = new byte[len];
            int i = 0;
            out[i++] = 0x04; // TOK_ID[0]
            out[i++] = 0x01; // TOK_ID[1]
            out[i++] = (byte) ((der.length >> 8) & 0xFF);
            out[i++] = (byte) (der.length & 0xFF);
            System.arraycopy(der, 0, out, i, der.length);
            i += der.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NbtAddress.java

         */
    
        public static final int H_NODE = 3;
    
        /**
         * Unknown MAC Address
         */
        public static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        Name hostName;
        int address, nodeType;
        boolean groupName, isBeingDeleted, isInConflict, isActive, isPermanent, isDataFromNodeStatus;
        byte[] macAddress;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Then
            assertEquals(4, bytesWritten);
            assertEquals(SmbComTransaction.TRANS_CALL_NAMED_PIPE, dst[0]);
            assertEquals((byte) 0x00, dst[1]);
            assertEquals((byte) 0x00, dst[2]);
            assertEquals((byte) 0x00, dst[3]);
        }
    
        @Test
        @DisplayName("Test writeSetupWireFormat with offset")
        void testWriteSetupWireFormatWithOffset() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/util/SMBUtilTest.java

                    // 0xFFFFFFFFFFFFFFFFL
                    (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF, (byte) 0xFF,
                    // 0x0000000000000000L
                    (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java

            SMBUtil.writeInt2(mapInformationLevel(this.informationLevel), dst, dstIndex);
            dstIndex += 2;
            dst[dstIndex] = (byte) 0x00;
            dstIndex++;
            dst[dstIndex++] = (byte) 0x00;
            dst[dstIndex++] = (byte) 0x00;
            dst[dstIndex++] = (byte) 0x00;
            dstIndex += writeString(this.path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        /**
         * @param informationLevel2
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Strings.java

         */
        public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) {
            int len = 0;
            while (buffer[bufferIndex + len] != (byte) 0x00 || buffer[bufferIndex + len + 1] != (byte) 0x00) {
                len += 2;
                if (len > maxLen) {
                    if (log.isDebugEnabled()) {
                        log.warn("Failed to find string termination with max length " + maxLen);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
            buffer[bufferIndex++] = 0x00;
    
            // totalParameterCount = 10
            writeInt4(10, buffer, bufferIndex);
            bufferIndex += 4;
            // totalDataCount = 20
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
Back to top