Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 130 for wereld (4.65 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

                        }
                    }
                }).start();
            }
    
            startLatch.countDown();
            endLatch.await();
    
            // Verify all rules were added (can't check exact count due to thread-safe implementation)
            ResponseData responseData = new ResponseData();
            assertNotNull(threadSafeManager.getRule(responseData)); // At least one rule should match
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/rdma/RdmaBufferManagerTest.java

            // Cleanup should not throw exception
            assertDoesNotThrow(() -> bufferManager.cleanup());
    
            // After cleanup, all regions should be released (but the count may not match exactly
            // if some regions were pooled rather than immediately released)
            assertTrue(bufferManager.getTotalReleased() > 0, "Some regions should be released during cleanup");
            assertEquals(allocatedBeforeCleanup, bufferManager.getTotalReleased(),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            assertNotNull(sidArray.sids[0]);
            assertNotNull(sidArray.sids[1]);
            // Cannot verify decode on non-mock objects - they are created by decode
            // Just verify they were created
            assertNotNull(sidArray.sids[0]);
            assertNotNull(sidArray.sids[1]);
        }
    
        @Test
        void testLsarSidArrayDecodeNullSids() throws NdrException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/SecureKeyManagerTest.java

            }
    
            // Force rotate all
            int rotated = keyManager.forceRotateAllKeys();
            assertEquals(3, rotated, "Should rotate 3 keys");
    
            // Verify all keys were rotated
            for (int i = 0; i < 3; i++) {
                assertEquals(1, keyManager.getKeyVersion("session-" + i), "Key version should be 1");
            }
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <p>
     * <strong>Usage Example:</strong>
     * </p>
     * <pre>
     * CachedCipher cipher = new CachedCipher();
     * cipher.setKey("mySecretKey");
     *
     * // Encrypt text
     * String encrypted = cipher.encryptText("Hello World");
     *
     * // Decrypt text
     * String decrypted = cipher.decryptText(encrypted);
     *
     * // For AES encryption
     * CachedCipher aesCipher = new CachedCipher();
     * aesCipher.setAlgorithm("AES");
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            byte[] paramWords = buffer.array();
    
            // Call the method to test
            int bytesRead = response.readParameterWordsWireFormat(paramWords, 0);
    
            // Assert that the correct number of bytes were read
            assertEquals(34, bytesRead);
    
            // Assert that the serverData fields are populated correctly
            assertEquals(0, response.dialectIndex);
            assertEquals(0x0F, serverData.securityMode);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTreeImpl.java

                } catch (final SmbException se) {
                    if (se.getNtStatus() == NtStatus.NT_STATUS_NETWORK_NAME_DELETED) {
                        /*
                         * Someone removed the share while we were
                         * connected. Bastards! Disconnect this tree
                         * so that it reconnects cleanly should the share
                         * reappear in this client's lifetime.
                         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/info/Smb2SetInfoRequestTest.java

            when(mockFileInfo.getFileInformationLevel()).thenReturn(expectedLevel);
    
            request.setFileInformation(mockFileInfo);
    
            // Verify the info type, file info class, and info object were set
            try {
                Field infoTypeField = Smb2SetInfoRequest.class.getDeclaredField("infoType");
                infoTypeField.setAccessible(true);
                byte actualInfoType = (byte) infoTypeField.get(request);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/TransPeekNamedPipeResponseTest.java

            // Assert
            assertEquals(6, result);
            assertEquals(200, response.getAvailable());
            assertEquals(TransPeekNamedPipeResponse.STATUS_LISTENING, response.getStatus());
            // Middle bytes were read but not used
        }
    
        @Test
        @DisplayName("Test consecutive reads update state correctly")
        void testConsecutiveReads() {
            // First read
            byte[] buffer1 = new byte[10];
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

        }
    
        @Test
        void testFileWriteAndRead() throws Exception {
            SmbFile file = new SmbFile(baseUrl + "shared/content.txt", context);
            String testContent = "Hello, SMB World!\nThis is a test file.";
    
            // Write content to file
            try (OutputStream out = file.openOutputStream(false)) {
                out.write(testContent.getBytes("UTF-8"));
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
Back to top