Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 238 for 0x71 (0.07 sec)

  1. src/main/java/jcifs/ACE.java

        /**
         * Generic read permission
         */
        int GENERIC_READ = 0x80000000; // 31
    
        /**
         * Inheritance flag: child objects inherit this ACE
         */
        int FLAGS_OBJECT_INHERIT = 0x01;
        /**
         * Inheritance flag: child containers inherit this ACE
         */
        int FLAGS_CONTAINER_INHERIT = 0x02;
        /**
         * Inheritance flag: inheritance stops after one level
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java

            buf[bodyStart + 2] = 0x02; // errorContextCount
            buf[bodyStart + 3] = 0x00; // reserved
            int bc = 4;
            SMBUtil.writeInt4(bc, buf, bodyStart + 4);
            byte[] err = new byte[] { 0x55, 0x66, 0x77, 0x01 };
            System.arraycopy(err, 0, buf, bodyStart + 8, bc);
    
            int decoded = resp.decode(buf, headerStart);
            assertTrue(decoded > 0);
    
            // When error path is taken, no blob should be parsed
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

            smb.mid = 123;
            smb.pid = 456;
            smb.tid = 789;
            smb.uid = 101;
            smb.flags2 = ServerMessageBlock.FLAGS2_UNICODE;
            smb.useUnicode = true;
    
            byte[] params = { 0x01, 0x02, 0x03, 0x04 };
            byte[] bytes = { 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F };
            smb.setParamWords(params);
            smb.setBytes(bytes);
    
            byte[] buffer = new byte[1024];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/netbios/Name.java

                dst[dstIndex + 2 * i + 1] = (byte) (((tmp[i] & 0xF0) >> 4) + 0x41);
                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)
  5. guava-tests/test/com/google/common/primitives/LongsTest.java

            .that(Arrays.equals(expected, actual))
            .isTrue();
      }
    
      public void testToByteArray() {
        assertByteArrayEquals(
            new byte[] {0x12, 0x13, 0x14, 0x15, 0x16, 0x17, 0x18, 0x19},
            Longs.toByteArray(0x1213141516171819L));
        assertByteArrayEquals(
            new byte[] {
              (byte) 0xFF, (byte) 0xEE, (byte) 0xDD, (byte) 0xCC,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Test.java

            assertTrue(result.contains("filename=\\test\\path\\"));
        }
    
        @Test
        @DisplayName("Test constants values")
        void testConstants() {
            // Test flag constants
            assertEquals(0x01, Trans2FindFirst2.FLAGS_CLOSE_AFTER_THIS_REQUEST);
            assertEquals(0x02, Trans2FindFirst2.FLAGS_CLOSE_IF_END_REACHED);
            assertEquals(0x04, Trans2FindFirst2.FLAGS_RETURN_RESUME_KEYS);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java

        void testGetCapabilities() throws Exception {
            // Given
            setPrivateField(response, "capabilities", 0x7F);
    
            // When
            int caps = response.getCapabilities();
    
            // Then
            assertEquals(0x7F, caps);
        }
    
        @Test
        @DisplayName("Should return common capabilities")
        void testGetCommonCapabilities() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 32.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

            // Skip header (already read by parent class)
            bais.skip(4);
            readPacket.type = buffer[0] & 0xFF;
            readPacket.length = ((buffer[1] & 0x01) << 16) + ((buffer[2] & 0xFF) << 8) + (buffer[3] & 0xFF);
    
            byte[] readBuffer = new byte[readPacket.length];
            bais.read(readBuffer, 0, readPacket.length);
    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/pac/kerberos/KerberosTicketTest.java

        }
    
        @Test
        void testConstructorWithMalformedToken() {
            // Test that PACDecodingException is thrown for a malformed token
            byte[] malformedToken = new byte[] { 0x01, 0x02, 0x03 };
            PACDecodingException e = assertThrows(PACDecodingException.class, () -> new KerberosTicket(malformedToken, (byte) 0, keys));
            assertTrue(e.getMessage().startsWith("Malformed kerberos ticket"));
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
Back to top