Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 254 for 0x41 (0.02 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

         */
        private static byte[] messageHeader(int length) {
            byte[] h = new byte[4];
            h[0] = (byte) SessionServicePacket.SESSION_MESSAGE;
            h[1] = (byte) ((length >> 16) & 0x01);
            h[2] = (byte) ((length >> 8) & 0xFF);
            h[3] = (byte) (length & 0xFF);
            return h;
        }
    
        /**
         * Creates a NetBIOS keep-alive header.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/netbios/NbtAddressTest.java

        @Mock
        private BaseConfiguration mockConfig;
    
        private int testAddressInt = 0xC0A80101; // 192.168.1.1
        private byte[] testMacAddress = new byte[] { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
    
        @BeforeEach
        void setUp() {
            // Setup will be done per test as needed
        }
    
        @Test
        void testConstructorWithMinimalParameters() throws UnknownHostException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                        }
                    } else if (host.length() == 0) {
                        try {
                            final Address addr = this.ctx.getNameServiceClient().getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null);
                            this.addresses = new UniAddress[1];
                            this.addresses[0] = this.ctx.getNameServiceClient().getByName(addr.getHostAddress());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            response.readBytesWireFormat(buffer, bufferIndex);
    
            // Verify results is now set (even if empty)
            assertNotNull(response.getResults());
        }
    
        @ParameterizedTest
        @CsvSource({ "0x01, FILE_DIRECTORY_INFO", "0x02, FILE_FULL_DIRECTORY_INFO", "0x03, FILE_BOTH_DIRECTORY_INFO" })
        @DisplayName("Test constructor with different info class constants")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        static final byte SMB_COM_NEGOTIATE = (byte) 0x72;
        static final byte SMB_COM_SESSION_SETUP_ANDX = (byte) 0x73;
        static final byte SMB_COM_LOGOFF_ANDX = (byte) 0x74;
        static final byte SMB_COM_TREE_CONNECT_ANDX = (byte) 0x75;
        static final byte SMB_COM_NT_TRANSACT = (byte) 0xA0;
        static final byte SMB_COM_NT_TRANSACT_SECONDARY = (byte) 0xA1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            // Verify content
            assertEquals(SmbComTransaction.TRANS2_QUERY_FS_INFORMATION, buffer[0]);
            assertEquals(0x00, buffer[1]);
            assertEquals(0x03, buffer[2]); // Low byte of 0x0103
            assertEquals(0x01, buffer[3]); // High byte of 0x0103
        }
    
        @DisplayName("Test toString with different information levels")
        @ParameterizedTest
        @CsvSource({ "-1, fff", // SMB_INFO_ALLOCATION
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationTest.java

        @DisplayName("Test attributes with OR operation")
        void testAttributesWithOrOperation() {
            // The constructor ORs attributes with 0x80
            trans2SetFileInfo = new Trans2SetFileInformation(config, TEST_FID, 0x01, // FILE_ATTRIBUTE_READONLY
                    TEST_CREATE_TIME, TEST_LAST_WRITE_TIME, TEST_LAST_ACCESS_TIME);
    
            // The constructor should create FileBasicInfo with attributes | 0x80
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                    if (pathInfo == null || server == null) {
                        final String mb = nameServiceClient.getNbtByName(NbtAddress.MASTER_BROWSER_NAME, 0x01, null).getHostAddress();
                        dc = nameServiceClient.getByName(mb);
                    } else {
                        dc = nameServiceClient.getByName(server, possibleWorkgroup);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/lock/Smb2LockRequestTest.java

            @DisplayName("Should handle file ID updates")
            void testFileIdUpdates() {
                // Initial file ID
                byte[] initialFileId = new byte[16];
                Arrays.fill(initialFileId, (byte) 0x11);
                request.setFileId(initialFileId);
    
                byte[] buffer1 = new byte[256];
                request.writeBytesWireFormat(buffer1, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/primitives/Longs.java

       * {@code ByteBuffer.allocate(8).putLong(value).array()}. For example, the input value {@code
       * 0x1213141516171819L} would yield the byte array {@code {0x12, 0x13, 0x14, 0x15, 0x16, 0x17,
       * 0x18, 0x19}}.
       *
       * <p>If you need to convert and concatenate several values (possibly even of different types),
       * use a shared {@link java.nio.ByteBuffer} instance, or use {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.1K bytes
    - Viewed (0)
Back to top