Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for justru (0.06 sec)

  1. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            byte[] decrypted = KerberosEncData.decrypt(data, key, KerberosConstants.DES_ENC_TYPE);
            assertNotNull(decrypted);
            // With dummy data, we can't verify the content, just that it decrypts without error
            // and returns a result of the expected size.
            assertEquals(data.length - 24, decrypted.length);
        }
    
        /**
         * Test decrypt with an unsupported encryption type.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  2. src/main/assemblies/files/fess.in.bat

    )
    
    REM max direct memory
    if NOT "%FESS_DIRECT_SIZE%" == "" (
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -XX:MaxDirectMemorySize=%FESS_DIRECT_SIZE%
    )
    
    REM set to headless, just in case
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Djava.awt.headless=true
    
    REM maximum # keep-alive connections to maintain at once
    set FESS_JAVA_OPTS=%FESS_JAVA_OPTS% -Dhttp.maxConnections=20
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 03:48:59 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SIDCacheImpl.java

                case jcifs.SID.SID_TYPE_DOMAIN:
                case jcifs.SID.SID_TYPE_ALIAS:
                case jcifs.SID.SID_TYPE_WKN_GRP:
                    final rpc.unicode_string ustr = rpc.domains.domains[resp.sid_index].name;
                    out.domainName = new UnicodeString(ustr, false).toString();
                    break;
                }
    
                final UnicodeString ucstr = new UnicodeString(resp.name, false);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            // Test get(String url) method
            String url = "smb://server/share/file.txt";
            SmbResource mockSmbResource = mock(SmbFile.class);
            // Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate
            // and ensure no exception is thrown for a valid URL.
            // The actual SmbFile creation is outside the scope of this wrapper's direct responsibility.
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

            healthyChannel.setState(ChannelState.ESTABLISHED);
    
            // Use reflection or package-private method to add channel for testing
            // For now, just test the empty case
            assertEquals(0, channelManager.getHealthyChannels().size());
        }
    
        @Test
        void testChannelSelection() {
            try {
                channelManager.selectChannel(mockMessage);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

            this.service = service;
            command = SMB_COM_TREE_CONNECT_ANDX;
        }
    
        @Override
        int getBatchLimit(final byte command) {
            final int c = command & 0xFF;
            // why isn't this just return batchLimits[c]?
            switch (c) {
            case SMB_COM_CHECK_DIRECTORY:
                return batchLimits[0];
            case SMB_COM_CREATE_DIRECTORY:
                return batchLimits[2];
            case SMB_COM_DELETE:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/JAASAuthenticatorTest.java

            // Refresh should clear the cache
            auth.refresh();
            Subject afterRefresh = auth.getSubject();
            // After refresh, may succeed or fail depending on JAAS configuration
            // Just verify that refresh doesn't break the authenticator
            assertNotNull(auth, "Authenticator should remain usable after refresh");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        public boolean verifySignature(final byte[] buffer, final int i, final int size) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TemporaryFileInputStreamTest.java

            stream.close();
    
            // Note: FileUtil.deleteInBackground() performs deletion asynchronously,
            // so we cannot reliably check if file is deleted immediately
            // This test just verifies that close() completes without error
        }
    
        public void test_emptyFile() throws Exception {
            // Create an empty temporary file
            File tempFile = File.createTempFile("test-empty-", ".tmp");
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Nov 22 13:28:22 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/SmbResourceLocatorTest.java

     */
    @ExtendWith(MockitoExtension.class)
    public class SmbResourceLocatorTest {
    
        /**
         * A very small concrete implementation used only by the tests. It parses
         * the URL string and performs minimal validation – just enough to make the
         * happy-path expectations deterministic.
         */
        private static class DummySmbResourceLocator implements SmbResourceLocator {
            private final String urlStr;
            private final String host;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
Back to top