Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 96 for 0x0202 (0.03 sec)

  1. src/main/java/jcifs/smb1/netbios/NameServicePacket.java

        // type/class
        static final int NB_IN = 0x00200001;
        static final int NBSTAT_IN = 0x00210001;
        static final int NB = 0x0020;
        static final int NBSTAT = 0x0021;
        static final int IN = 0x0001;
        static final int A = 0x0001;
        static final int NS = 0x0002;
        static final int NULL = 0x000a;
    
        static final int HEADER_LENGTH = 12;
    
        // header field offsets
        static final int OPCODE_OFFSET = 2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            assertEquals(0x01, dst[dstIndex + 6]);
        }
    
        @ParameterizedTest
        @DisplayName("Test writeSetupWireFormat with various FID values")
        @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
        void testWriteSetupWireFormatWithVariousFids(int fid) {
            notifyChange = new NtTransNotifyChange(mockConfig, fid, FILE_NOTIFY_CHANGE_FILE_NAME, false);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescTest.java

            assertEquals(0x00, dst[dstIndex + 2]);
            assertEquals(0x00, dst[dstIndex + 3]);
    
            // Verify security information (4 bytes)
            assertEquals(securityInfo, SMBUtil.readInt4(dst, dstIndex + 4));
        }
    
        @ParameterizedTest
        @DisplayName("Test writeParametersWireFormat with various FID values")
        @ValueSource(ints = { 0x0000, 0x0001, 0x7FFF, 0xFFFF, 0x1234, 0xABCD })
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  4. 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");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] encryptionKey = "12345678".getBytes();
            ByteBuffer buffer = ByteBuffer.allocate(response.byteCount);
            buffer.put(encryptionKey);
            buffer.put(domainNameBytes);
            buffer.putShort((short) 0x0000); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            void testFlagsNameListReferralConstant() {
                assertEquals(0x0002, Trans2GetDfsReferralResponse.FLAGS_NAME_LIST_REFERRAL);
            }
    
            @Test
            @DisplayName("Should have correct FLAGS_TARGET_SET_BOUNDARY value")
            void testFlagsTargetSetBoundaryConstant() {
                assertEquals(0x0004, Trans2GetDfsReferralResponse.FLAGS_TARGET_SET_BOUNDARY);
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // informationLevel (2 bytes, LE) -> 0x0104
            assertEquals((byte) 0x04, dst[4]);
            assertEquals((byte) 0x01, dst[5]);
    
            // resumeKey (4 bytes, LE)
            assertEquals((byte) 0xEF, dst[6]);
            assertEquals((byte) 0xCD, dst[7]);
            assertEquals((byte) 0xAB, dst[8]);
            assertEquals((byte) 0x89, dst[9]);
    
            // flags (2 bytes, LE) -> 0x0000
            assertEquals((byte) 0x00, dst[10]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  8. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                assertEquals("Unknown dialect", exception.getMessage());
            }
    
            @ParameterizedTest
            @ValueSource(ints = { 0x0000, 0x0100, 0x0201, 0x0303, 0x0400, 0xFFFF })
            @DisplayName("Should throw exception for invalid dialects")
            void testConstructorInvalidDialects(int dialect) {
                IllegalArgumentException exception =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  10. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
Back to top