Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 90 for justru (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Should be exactly 445 or less
            assertTrue(id.length() <= 445);
        }
    
        @Test
        public void testCreateSuggestTextIdBoundaryJustUnder445() {
            // Create text that encodes to just under 445 characters
            StringBuilder sb = new StringBuilder();
            for (int i = 0; i < 300; i++) {
                sb.append("b");
            }
            String text = sb.toString();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.java

            testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25);
            byte[] buffer = new byte[1024];
    
            int length = testBlock.encode(buffer, 0);
    
            assertTrue(length > 0);
            // Just verify that encoding worked without checking specific byte positions
            assertNull(testBlock.getAndx());
        }
    
        @Test
        @DisplayName("Test encode with andx command and batching disabled")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserTest.java

            List<AnalyzeToken> tokens = defaultContentsParser.analyzeTextByReading(analyzer, "content", text, null);
    
            assertNotNull(tokens);
            // analyzeAndReading may return null for some analyzers
            // Just verify it doesn't throw an exception
        }
    
        @Test
        public void test_analyzeTextWithLargeContent() throws Exception {
            SuggestAnalyzer analyzer = suggester.settings().analyzer().new DefaultContentsAnalyzer();
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/witness/WitnessRpcClient.java

        }
    
        /**
         * Tests connectivity to the witness service.
         *
         * @throws IOException if connection fails
         */
        private void testConnection() throws IOException {
            // For now, just test basic connectivity to RPC endpoint
            try (java.net.Socket socket = new java.net.Socket()) {
                socket.connect(new java.net.InetSocketAddress(serverAddress, WITNESS_RPC_PORT), WITNESS_RPC_TIMEOUT_MS);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // Test duplicate unregistration
            assertFalse(mockService.unregisterWitness(regId));
        }
    
        @Test
        void testMockServiceNotifications() {
            // Test notification sending (just logs for mock)
            mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "TestResource");
    
            // Register a witness first
            String regId = mockService.registerWitness("TestResource", "192.168.1.100", 1);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top