Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 246 for 0x22 (0.02 sec)

  1. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            // Then
            assertEquals(expectedLen, len, "Unexpected parameters length");
    
            // sid (2 bytes, LE)
            assertEquals((byte) 0x34, dst[0]);
            assertEquals((byte) 0x12, dst[1]);
    
            // LIST_COUNT (2 bytes, LE)
            int listCount = Trans2FindFirst2.LIST_COUNT;
            assertEquals((byte) (listCount & 0xFF), dst[2]);
            assertEquals((byte) ((listCount >> 8) & 0xFF), dst[3]);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComNTCreateAndX.java

        static final int FILE_SYNCHRONOUS_IO_NONALERT = 0x00000020;
    
        // security flags
        static final int SECURITY_CONTEXT_TRACKING = 0x01;
        static final int SECURITY_EFFECTIVE_ONLY = 0x02;
    
        private int rootDirectoryFid;
    
        private final int extFileAttributes;
    
        private final int shareAccess;
    
        private int createDisposition;
    
        private int createOptions;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

            }
            server.securityMode = buffer[bufferIndex] & 0xFF;
            bufferIndex++;
            server.security = server.securityMode & 0x01;
            server.encryptedPasswords = (server.securityMode & 0x02) == 0x02;
            server.signaturesEnabled = (server.securityMode & 0x04) == 0x04;
            server.signaturesRequired = (server.securityMode & 0x08) == 0x08;
            server.maxMpxCount = readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/SmbBasicFileInfoTest.java

        @Test
        void returnsProvidedValues_happyPath() {
            // Arrange
            SmbBasicFileInfo info = new TestInfo(0x20 /* ARCHIVE */, 1_600_000_000_000L, 1_700_000_000_000L, 1_650_000_000_000L, 42L);
    
            // Act & Assert
            Assertions.assertEquals(0x20, info.getAttributes(), "attributes should match");
            Assertions.assertEquals(1_600_000_000_000L, info.getCreateTime(), "create time should match");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            SMBUtil.writeInt4(2000, testBuffer, 36); // sub-authority 3
    
            // Group SID with 2 sub-authorities
            testBuffer[44] = 0x01; // revision
            testBuffer[45] = 0x02; // sub-authority count
            testBuffer[46] = 0x00; // identifier authority
            testBuffer[47] = 0x00;
            testBuffer[48] = 0x00;
            testBuffer[49] = 0x00;
            testBuffer[50] = 0x00;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/netbios/Lmhosts.java

         * @return resolved name, null if not found
         */
        public synchronized NbtAddress getByName(final String host, final CIFSContext tc) {
            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
        synchronized NbtAddress getByName(final Name name, final CIFSContext tc) {
            NbtAddress result = null;
    
            try {
                if (tc.getConfig().getLmHostsFileName() != null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java

            when(mockFile1.lastModified()).thenReturn(System.currentTimeMillis() - 3600000);
            when(mockFile1.isDirectory()).thenReturn(false);
            when(mockFile1.getAttributes()).thenReturn(0x20); // FILE_ATTRIBUTE_ARCHIVE
            when(mockFile1.createTime()).thenReturn(System.currentTimeMillis() - 7200000);
            when(mockFile1.lastAccess()).thenReturn(System.currentTimeMillis() - 1800000);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 01:47:47 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcShareEnumTest.java

            // Verify the second entry
            FileEntry entry2 = entries[1];
            assertNotNull(entry2);
            assertEquals("Share2", entry2.getName());
            assertEquals(32, entry2.getType()); // TYPE_PRINTER constant (0x20)
        }
    
        @Test
        void testGetEntriesWithNoShares() throws Exception {
            // Create empty ShareInfoCtr1
            srvsvc.ShareInfoCtr1 shareInfoCtr1 = new srvsvc.ShareInfoCtr1();
            shareInfoCtr1.count = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                request.setFileId(testFileId);
                request.setData(data, 512, 1024);
                request.setOffset(4096L);
                request.setRemainingBytes(2048);
                request.setWriteFlags(0x02);
    
                // Calculate expected size
                int expectedSize = ((Smb2Constants.SMB2_HEADER_LENGTH + 48 + 1024 + 7) / 8) * 8;
                assertEquals(expectedSize, request.size());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

         * according to the XML 1.0 specification. Valid characters include:
         * - Tab (0x9)
         * - Line feed (0xA)
         * - Carriage return (0xD)
         * - Any character between 0x20 and 0xD7FF
         * - Any character between 0xE000 and 0xFFFD
         * - Any character between 0x10000 and 0x10FFFF
         *
         * @param in the input string to be processed
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top