Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 200 for 0x14 (0.01 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java

            }
    
            @Test
            @DisplayName("Persistent handles capability should be 0x10")
            void testGlobalCapPersistentHandles() {
                assertEquals(0x10, Smb2Constants.SMB2_GLOBAL_CAP_PERSISTENT_HANDLES, "Persistent handles capability must be 0x10");
            }
    
            @Test
            @DisplayName("Directory leasing capability should be 0x20")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, offset);
    
            // Then
            assertEquals(4, bytesWritten);
    
            // Expected wire format: [0x04, 0x00, 0x00, 0x00]
            byte[] expected = new byte[] { 0x04, 0x00, 0x00, 0x00 };
            assertArrayEquals(expected, buffer);
        }
    
        @Test
        @DisplayName("Should always return 0 for readBytesWireFormat")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        void testExactStructureSizeValue() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[256];
    
            // Write exact structure size value (4)
            buffer[0] = 0x04;
            buffer[1] = 0x00;
            buffer[2] = 0x00;
            buffer[3] = 0x00;
    
            // When
            int bytesRead = response.readBytesWireFormat(buffer, 0);
    
            // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComCreateDirectory.java

            return 0;
        }
    
        @Override
        int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(path, dst, dstIndex);
    
            return dstIndex - start;
        }
    
        @Override
        int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComQueryInformationTest.java

            // Expected format: buffer format (1 byte) + file name (null-terminated)
            int expectedLength = 1 + TEST_FILE_NAME.length() + 1;
            assertEquals(expectedLength, bytesWritten);
            assertEquals(0x04, dst[0]); // Buffer format
            assertEquals(TEST_FILE_NAME, new String(dst, 1, TEST_FILE_NAME.length()));
        }
    
        @Test
        public void testReadParameterWordsWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformation.java

            return 0;
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
            dst[dstIndex] = (byte) 0x04;
            dstIndex++;
            dstIndex += writeString(this.path, dst, dstIndex);
            return dstIndex - start;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseState.java

        /**
         * Handle caching lease (H)
         */
        public static final int SMB2_LEASE_HANDLE_CACHING = 0x02;
    
        /**
         * Write caching lease (W)
         */
        public static final int SMB2_LEASE_WRITE_CACHING = 0x04;
    
        /**
         * Read and Handle caching (RH)
         */
        public static final int SMB2_LEASE_READ_HANDLE = 0x03;
    
        /**
         * Read and Write caching (RW)
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/srvsvc.java

         * RPC message for getting information about a specific share.
         */
        public static class ShareGetInfo extends DcerpcMessage {
    
            @Override
            public int getOpnum() {
                return 0x10;
            }
    
            /**
             * The return value of the operation.
             */
            public int retval;
            /**
             * The name of the server.
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 27K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/netdfs.idl

    		[case(200)] DfsEnumArray200 *info200;
    		[case(300)] DfsEnumArray300 *info300;
    	} DfsEnumInfo;
    
    	typedef struct {
    		uint32_t level,
    		[switch_is(level)] DfsEnumInfo e;
    	} DfsEnumStruct;
    
    	[op(0x15)]
    	int NetrDfsEnumEx([in,string,unique] wchar_t dfs_name,
    			[in] uint32_t level,
    			[in] uint32_t prefmaxlen,
    			[in,out,unique] DfsEnumStruct *info,
    			[in,out,unique] uint32_t *totalentries);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.security = this.server.securityMode & 0x01;
            this.server.encryptedPasswords = (this.server.securityMode & 0x02) == 0x02;
            this.server.signaturesEnabled = (this.server.securityMode & 0x04) == 0x04;
            this.server.signaturesRequired = (this.server.securityMode & 0x08) == 0x08;
            this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top