Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 251 for 0x200 (0.4 sec)

  1. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

        private static Stream<Arguments> provideNamesForWriteTest() {
            return Stream.of(Arguments.of("SERVER", 0x20, "CLIENT", 0x00), Arguments.of("WORKSTATION", 0x00, "USER", 0x03),
                    Arguments.of("DOMAIN", 0x1B, "BROWSER", 0x1D), Arguments.of("A", 0x20, "B", 0x00),
                    Arguments.of("VERYLONGNAMETEST", 0x20, "ANOTHERLONGNAME", 0x00));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            byte[] value = avSingleHost.getRaw();
            assertNotNull(value);
            assertEquals(48, value.length);
    
            // Verify customData part
            byte[] expectedCustomData = { 0x01, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
            byte[] actualCustomData = new byte[8];
            System.arraycopy(value, 8, actualCustomData, 0, 8);
            assertArrayEquals(expectedCustomData, actualCustomData);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/SmbPipeResourceTest.java

         */
        @Test
        void testPipeTypeTransact() {
            assertEquals(0x0200, SmbPipeResource.PIPE_TYPE_TRANSACT, "PIPE_TYPE_TRANSACT should be 0x0200");
        }
    
        /**
         * Test if the PIPE_TYPE_DCE_TRANSACT constant has the correct value.
         */
        @Test
        void testPipeTypeDceTransact() {
            assertEquals(0x0200 | 0x0400, SmbPipeResource.PIPE_TYPE_DCE_TRANSACT, "PIPE_TYPE_DCE_TRANSACT should be 0x0600");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbPipeResource.java

         */
    
        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
         */
        int PIPE_TYPE_UNSHARED = 0x800;
    
        /**
         * Gets the type of this pipe.
         *
         * @return the type of the pipe
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NbtAddressTest.java

            assertEquals(1, NbtAddress.P_NODE);
            assertEquals(2, NbtAddress.M_NODE);
            assertEquals(3, NbtAddress.H_NODE);
            assertArrayEquals(new byte[] { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, NbtAddress.UNKNOWN_MAC_ADDRESS);
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/netbios/NameTest.java

            Name name1 = new Name(mockConfig, "TEST", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST", 0x20, "scope");
    
            assertTrue(name1.equals(name2));
        }
    
        @Test
        void equals_withDifferentName_shouldReturnFalse() {
            Name name1 = new Name(mockConfig, "TEST1", 0x20, "scope");
            Name name2 = new Name(mockConfig, "TEST2", 0x20, "scope");
    
            assertFalse(name1.equals(name2));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComOpenAndX.java

        private static final int FLAGS_REQUEST_BATCH_OPLOCK = 0x04;
    
        // Access Mode Encoding for desiredAccess
        private static final int SHARING_COMPATIBILITY = 0x00;
        private static final int SHARING_DENY_READ_WRITE_EXECUTE = 0x10;
        private static final int SHARING_DENY_WRITE = 0x20;
        private static final int SHARING_DENY_READ_EXECUTE = 0x30;
        private static final int SHARING_DENY_NONE = 0x40;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NameServiceClientImpl.java

     */
    public class NameServiceClientImpl implements Runnable, NameServiceClient {
    
        private static final int NAME_SERVICE_UDP_PORT = 137;
    
        static final byte[] UNKNOWN_MAC_ADDRESS = { (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00, (byte) 0x00 };
    
        private static final Logger log = LoggerFactory.getLogger(NameServiceClientImpl.class);
    
        private final Object LOCK = new Object();
    
        private int nbnsIndex = 0;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NodeStatusRequestTest.java

            byte[] src = new byte[200];
            // Setup minimal valid header
            src[0] = 0x00;
            src[1] = 0x01; // Transaction ID
            src[2] = 0x00; // Flags
            src[3] = 0x00; // Flags
            src[4] = 0x00;
            src[5] = 0x01; // Question count
    
            // Act
            int result = nodeStatusRequest.readWireFormat(src, 0);
    
            // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[10] = 0x00; // Identifier authority
            testBuffer[11] = 0x00;
            testBuffer[12] = 0x00;
            testBuffer[13] = 0x00;
            testBuffer[14] = 0x00;
            testBuffer[15] = 0x01;
            testBuffer[16] = 0x00; // Sub-authority
            testBuffer[17] = 0x00;
            testBuffer[18] = 0x00;
            testBuffer[19] = 0x00;
    
            // Test decode
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top