Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 254 for 0x41 (0.02 sec)

  1. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                byte[] buffer = new byte[32];
                // total allocation units (8 bytes)
                buffer[4] = 0x01;
                // caller available allocation units (8 bytes)
                buffer[12] = 0x01;
                // actual free units (8 bytes) - should be skipped
                buffer[20] = (byte) 0xFF;
                buffer[21] = (byte) 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/convert/BinaryConversionUtilTest.java

         * .
         */
        @Test
        public void testToBinary() {
            assertThat(BinaryConversionUtil.toBinary(null), nullValue());
            final byte[] b = { 0x00, 0x01 };
            assertThat(BinaryConversionUtil.toBinary(b), is(b));
            assertThat(BinaryConversionUtil.toBinary("hoge"), is("hoge".getBytes()));
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/Smb2Constants.java

        /**
         * Server supports DFS
         */
        public static final int SMB2_GLOBAL_CAP_DFS = 0x1;
    
        /**
         * Server supports leasing
         */
        public static final int SMB2_GLOBAL_CAP_LEASING = 0x2;
    
        /**
         * Server supports multi-credit operations
         */
        public static final int SMB2_GLOBAL_CAP_LARGE_MTU = 0x4;
    
        /**
         * Server supports multi-channel connections
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicyTest.java

            // Assert
            assertEquals(expectedFlags, queryPolicy.getFlags());
            // Binary check for individual flags
            assertEquals(0x03, queryPolicy.getFlags()); // 0x01 | 0x02 = 0x03
        }
    
        @Test
        void getOpnum_shouldReturnCorrectValue() {
            // Arrange
            short level = 1;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComTransaction.java

        // relative to headerStart
        private static final int PRIMARY_SETUP_OFFSET = 61;
        private static final int SECONDARY_PARAMETER_OFFSET = 51;
    
        private static final int DISCONNECT_TID = 0x01;
        private static final int ONE_WAY_TRANSACTION = 0x02;
    
        private static final int PADDING_SIZE = 2;
    
        private final int flags = 0x00;
        private int fid;
        private int pad = 0;
        private int pad1 = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt8(500, buffer1, 48);
                SMBUtil.writeInt4(0x01, buffer1, 56);
    
                response.readBytesWireFormat(buffer1, 0);
    
                assertEquals(1, response.getCloseFlags());
                assertEquals(1000, response.getAllocationSize());
                assertEquals(500, response.getEndOfFile());
                assertEquals(0x01, response.getFileAttributes());
    
                // Second read with different values
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java

            // First decode
            byte[] buffer1 = new byte[28];
            Arrays.fill(buffer1, 0, 24, (byte) 0x11);
    
            int bytesConsumed1 = response.decode(buffer1, 0, 28);
            assertEquals(28, bytesConsumed1);
    
            byte[] resumeKey1 = response.getResumeKey();
            assertNotNull(resumeKey1);
            assertEquals((byte) 0x11, resumeKey1[0]);
    
            // Second decode - should overwrite
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/netbios/NbtException.java

        public static final int SUCCESS = 0;
        /** Name service error class */
        public static final int ERR_NAM_SRVC = 0x01;
        /** Session service error class */
        public static final int ERR_SSN_SRVC = 0x02;
    
        // name service error codes
        /** Format error in the name service */
        public static final int FMT_ERR = 0x1;
        /** Server error in the name service */
        public static final int SRV_ERR = 0x2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

        class ToStringTests {
    
            @Test
            @DisplayName("toString with valid data produces expected format")
            void testToStringWithValidData() {
                byte[] challenge = new byte[] { (byte) 0x01, (byte) 0x02, (byte) 0x03, (byte) 0xFF };
                UniAddress dc = mock(UniAddress.class);
                when(dc.toString()).thenReturn("SERVER123");
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComCloseTest.java

                    // negative fid wraps around, lastWriteTime = 1000 -> 1 second -> int value 1
                    Arguments.of(-1, 1000L, new byte[] { (byte) 0xFF, (byte) 0xFF, 0x01, 0x00, 0x00, 0x00 }));
        }
    
        /**
         * When lastWriteTime is zero the encoded unsigned time must be all 1s.
         */
        @Test
        @DisplayName("edge: writeParameterWordsWireFormat with lastWriteTime=0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top