Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 81 for 0x0201 (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/jcifs/internal/smb2/nego/Smb2RdmaTransformCapabilitiesContext.java

            return transformCount > 0 && rdmaTransformId == 0x0001;
        }
    
        /**
         * Get the transform count
         *
         * @return number of transforms
         */
        public int getTransformCount() {
            return transformCount;
        }
    
        /**
         * Get the RDMA transform ID
         *
         * @return transform ID (should be 0x0001 for V1)
         */
        public int getRdmaTransformId() {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SmbPipeResourceTest.java

        @Test
        void testPipeTypeCall() {
            assertEquals(0x0100, SmbPipeResource.PIPE_TYPE_CALL, "PIPE_TYPE_CALL should be 0x0100");
        }
    
        /**
         * Test if the PIPE_TYPE_TRANSACT constant has the correct value.
         */
        @Test
        void testPipeTypeTransact() {
            assertEquals(0x0200, SmbPipeResource.PIPE_TYPE_TRANSACT, "PIPE_TYPE_TRANSACT should be 0x0200");
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2K bytes
    - Click Count (0)
  3. src/main/java/jcifs/SmbPipeResource.java

         */
    
        int PIPE_TYPE_CALL = 0x0100;
    
        /**
         * Pipe operations should behave like the <code>TransactNamedPipe</code> Win32 Named Pipe function.
         */
    
        int PIPE_TYPE_TRANSACT = 0x0200;
    
        /**
         * Pipe is used for DCE
         */
        int PIPE_TYPE_DCE_TRANSACT = 0x0200 | 0x0400;
    
        /**
         * Pipe should use it's own exclusive transport connection
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        }
    
        private static Stream<Arguments> provideDialectVersions() {
            return Stream.of(Arguments.of(0x0202, DialectVersion.SMB202, true), Arguments.of(0x0210, DialectVersion.SMB210, true),
                    Arguments.of(0x0300, DialectVersion.SMB300, true), Arguments.of(0x0302, DialectVersion.SMB302, true),
                    Arguments.of(0x0311, DialectVersion.SMB311, true), Arguments.of(0xFFFF, null, false), // SMB2_DIALECT_ANY
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            // Testing invalid protocol ID during decode instead
            byte[] invalidBuffer = new byte[52];
            // Write invalid protocol ID
            invalidBuffer[0] = 0x00;
            invalidBuffer[1] = 0x00;
            invalidBuffer[2] = 0x00;
            invalidBuffer[3] = 0x00;
    
            assertThrows(IllegalArgumentException.class, () -> {
                Smb2TransformHeader.decode(invalidBuffer, 0);
            });
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  6. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

         */
        public static final int DFS_VOLUME_FLAVOR_AD_BLOB = 0x200;
        /**
         * DFS storage state indicating offline status
         */
        public static final int DFS_STORAGE_STATE_OFFLINE = 0x0001;
        /**
         * DFS storage state indicating online status
         */
        public static final int DFS_STORAGE_STATE_ONLINE = 0x0002;
        /**
         * DFS storage state indicating active status
         */
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            // Bit 2: active (1)
            // Bit 1: permanent (1)
    
            // MAC address
            byte[] testMac = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            System.arraycopy(testMac, 0, src, srcIndex + 19, 6);
    
            // Statistics
            byte[] stats = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            System.arraycopy(stats, 0, src, srcIndex + 25, 6);
    
            response.readRDataWireFormat(src, srcIndex);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/smb1/NetServerEnum2Test.java

            System.arraycopy(dst, 2, writtenDescr, 0, descr.length);
            assertArrayEquals(descr, writtenDescr);
    
            int currentIndex = 2 + descr.length;
            // Verify level (0x0001)
            assertEquals(1, (dst[currentIndex] & 0xFF) | ((dst[currentIndex + 1] & 0xFF) << 8));
            currentIndex += 2;
    
            // Verify maxDataCount
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        @ParameterizedTest
        @CsvSource({ "4, 257", // FILE_BASIC_INFO -> 0x0101
                "5, 258", // FILE_STANDARD_INFO -> 0x0102
                "20, 260" // FILE_ENDOFFILE_INFO -> 0x0104
        })
        void testWithDifferentInformationLevels(byte infoLevel, int expectedMappedValue) {
            when(mockFileInfo.getFileInformationLevel()).thenReturn(infoLevel);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            int informationLevel = 257; // 0x0101
            Trans2QueryPathInformation trans = new Trans2QueryPathInformation(filename, informationLevel);
    
            // When
            String result = trans.toString();
    
            // Then
            assertTrue(result.startsWith("Trans2QueryPathInformation["), "String should start with the class name.");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 5.8K bytes
    - Click Count (0)
Back to Top