Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 157 for 0xc3 (2.17 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComOpenAndX.java

            super(config, SMB_COM_OPEN_ANDX, fileName, andx);
            this.fileAttributes = fileAttributes;
    
            this.desiredAccess = access & 0x3;
            if (this.desiredAccess == 0x3) {
                this.desiredAccess = 0x2; /* Mmm, I thought 0x03 was RDWR */
            }
    
            // map shareAccess as far as we can
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

        }
    
        /**
         * Test constructor with a malformed token.
         */
        @Test
        void testConstructorMalformed() {
            byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03, 0x04 };
            assertThrows(PACDecodingException.class, () -> new KerberosEncData(malformedToken, Collections.emptyMap()));
        }
    
        /**
         * Test constructor with an unknown field.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ACETest.java

                // Test inheritance flags combination
                int inheritFlags = ACE.FLAGS_OBJECT_INHERIT | ACE.FLAGS_CONTAINER_INHERIT;
                assertEquals(0x03, inheritFlags, "Combined inherit flags should be 0x03");
            }
        }
    
        @Nested
        @DisplayName("Constant Validation Tests")
        class ConstantValidationTests {
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

                this.createOptions = createOptions | 0x0040;
            } else {
                this.createOptions = createOptions;
            }
            impersonationLevel = 0x02; // As seen on NT :~)
            securityFlags = (byte) 0x03; // SECURITY_CONTEXT_TRACKING | SECURITY_EFFECTIVE_ONLY
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/Name.java

                dst[dstIndex + 2 * i + 2] = (byte) ((tmp[i] & 0x0F) + 0x41);
            }
            for (; i < 15; i++) {
                dst[dstIndex + 2 * i + 1] = (byte) 0x43;
                dst[dstIndex + 2 * i + 2] = (byte) 0x41;
            }
            dst[dstIndex + TYPE_OFFSET] = (byte) (((this.hexCode & 0xF0) >> 4) + 0x41);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/ShortsTest.java

        assertThat(Shorts.toByteArray((short) 0x2345)).isEqualTo(new byte[] {0x23, 0x45});
        assertThat(Shorts.toByteArray((short) 0xFEDC)).isEqualTo(new byte[] {(byte) 0xFE, (byte) 0xDC});
      }
    
      @GwtIncompatible // Shorts.fromByteArray
      public void testFromByteArray() {
        assertThat(Shorts.fromByteArray(new byte[] {0x23, 0x45})).isEqualTo((short) 0x2345);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequestTest.java

        void testFileInformationClassConstants() {
            assertEquals(0x01, Smb2QueryDirectoryRequest.FILE_DIRECTORY_INFO);
            assertEquals(0x02, Smb2QueryDirectoryRequest.FILE_FULL_DIRECTORY_INFO);
            assertEquals(0x03, Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO);
            assertEquals(0x0C, Smb2QueryDirectoryRequest.FILE_NAMES_INFO);
            assertEquals(0x24, Smb2QueryDirectoryRequest.FILE_ID_BOTH_DIRECTORY_INFO);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  8. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/SMBSigningDigestTest.java

        @Mock
        private CommonServerMessageBlock message;
    
        private byte[] testData;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testData = new byte[] { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 };
        }
    
        @Test
        @DisplayName("Test sign method with valid parameters")
        void testSignWithValidParameters() {
            // Arrange
            int offset = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            buffer[24] = 0x01;
            buffer[25] = 0x00;
    
            // PID (2 bytes)
            buffer[26] = 0x02;
            buffer[27] = 0x00;
    
            // UID (2 bytes)
            buffer[28] = 0x03;
            buffer[29] = 0x00;
    
            // MID (2 bytes)
            buffer[30] = 0x04;
            buffer[31] = 0x00;
    
            // Word count
            buffer[32] = 10; // 10 words = 20 bytes
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
Back to top