Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 106 for 0x10B (1.3 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt4(0x10, buffer, offset + 56);
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, offset);
    
                // Then
                assertEquals(60, bytesRead);
                assertEquals(8192, response.getAllocationSize());
                assertEquals(2048, response.getEndOfFile());
                assertEquals(0x10, response.getFileAttributes());
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile2.lastModified()).thenReturn(System.currentTimeMillis() - 1800000);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10); // FILE_ATTRIBUTE_DIRECTORY
            when(mockFile2.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile2.lastAccess()).thenReturn(System.currentTimeMillis() - 900000);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java

            assertEquals(0x8, SecurityInfo.SACL_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test LABEL_SECURITY_INFO constant value")
        void testLabelSecurityInfo() {
            assertEquals(0x10, SecurityInfo.LABEL_SECURITY_INFO);
        }
    
        @Test
        @DisplayName("Test ATTRIBUTE_SECURITY_INFO constant value")
        void testAttributeSecurityInfo() {
            assertEquals(0x20, SecurityInfo.ATTRIBUTE_SECURITY_INFO);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dtyp/ACETest.java

        void testDecodeDenyACE() throws Exception {
            // Prepare test data - Deny ACE
            testBuffer = new byte[100];
            testBuffer[0] = 0x01; // Deny ACE (non-zero)
            testBuffer[1] = 0x10; // FLAGS_INHERITED
            testBuffer[2] = 0x24; // Size low byte (36)
            testBuffer[3] = 0x00; // Size high byte
            testBuffer[4] = (byte) 0xFF; // Access mask byte 0
            testBuffer[5] = 0x01; // Access mask byte 1
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

         */
        int FLAGS_INHERIT_ONLY = 0x08;
        /**
         * Inheritance flag: ACE was inherited from parent
         */
        int FLAGS_INHERITED = 0x10;
    
        /**
         * Return the SID associated with this ACE.
         *
         * @return ACE target SID
         */
        SID getSID();
    
        /**
         * Returns the access mask associated with this ACE. Use the
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            buffer[bufferIndex++] = (byte) 0x40;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // maxRawSize
            buffer[bufferIndex++] = (byte) 0x00;
            buffer[bufferIndex++] = (byte) 0x10;
            buffer[bufferIndex++] = 0;
            buffer[bufferIndex++] = 0;
            // sessionKey
            buffer[bufferIndex++] = 1;
            buffer[bufferIndex++] = 2;
            buffer[bufferIndex++] = 3;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryRequest.java

         */
        public static final byte SMB2_INDEX_SPECIFIED = 0x4;
    
        /**
         * Flag to reopen the directory enumeration.
         */
        public static final byte SMB2_REOPEN = 0x10;
    
        private byte fileInformationClass = FILE_BOTH_DIRECTORY_INFO;
        private byte queryFlags;
        private int fileIndex;
        private byte[] fileId;
        private final int outputBufferLength;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseManagerTest.java

            when(mockFile2.length()).thenReturn(0L);
            when(mockFile2.lastModified()).thenReturn(2000L);
            when(mockFile2.isDirectory()).thenReturn(true);
            when(mockFile2.getAttributes()).thenReturn(0x10);
            when(mockFile2.createTime()).thenReturn(600L);
            when(mockFile2.lastAccess()).thenReturn(900L);
    
            // Update cache
            List<SmbFile> files = Arrays.asList(mockFile1, mockFile2);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/NameServicePacketTest.java

            assertEquals((byte) 0x34, dst[1]);
            assertEquals((byte) (0x80 | (NameServicePacket.QUERY << 3) | 0x04 | 0x02 | 0x01), dst[2]); // flags1
            assertEquals((byte) (0x80 | 0x10 | NameServicePacket.FMT_ERR), dst[3]); // flags2
            assertEquals((byte) 0x00, dst[4]); // questionCount
            assertEquals((byte) 0x01, dst[5]);
            assertEquals((byte) 0x00, dst[6]); // answerCount
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/SmbNegotiationTest.java

            SmbNegotiationRequest anotherRequest = mock(SmbNegotiationRequest.class);
            SmbNegotiationResponse anotherResponse = mock(SmbNegotiationResponse.class);
            byte[] anotherRequestBuffer = new byte[] { 0x10, 0x20 };
            byte[] anotherResponseBuffer = new byte[] { 0x30, 0x40 };
    
            SmbNegotiation anotherNegotiation =
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top