- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 211 for Ensure (0.73 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlQueueServiceImpl.java
* <li>Checking if a URL has already been visited.</li> * <li>Generating URL queues from a previous session's access results.</li> * </ul> * * <p> * The class uses synchronization to ensure thread safety when accessing and modifying the URL queue. * It also checks for duplicate URLs before adding them to the queue, * both within the queue itself and against previously accessed URLs stored in the {@link MemoryDataHelper}.
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/assemblies/files/fess.in.sh
# space for a full heap dump. #FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:HeapDumpPath=$FESS_HOME/logs/heapdump.hprof" # Disables explicit GC FESS_JAVA_OPTS="$FESS_JAVA_OPTS -XX:+DisableExplicitGC" # Ensure UTF-8 encoding by default (e.g. filenames) FESS_JAVA_OPTS="$FESS_JAVA_OPTS -Dfile.encoding=UTF-8" # Application Configuration if [ "x$APP_NAME" = "x" ]; then APP_NAME=fess fi
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 27 03:48:59 UTC 2025 - 5.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NetShareEnumResponseTest.java
assertTrue(resultString.contains("totalAvailableEntries=5"), "toString should contain the total available entries."); } /** * Tests the empty write methods to ensure they do nothing and return 0. */ @Test void testWriteMethods() { NetShareEnumResponse response = new NetShareEnumResponse(); byte[] dst = new byte[10];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
## Contributing When adding new tests: 1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>` 2. Add clear JavaDoc comments explaining the test purpose 3. Ensure tests are independent and can run in any order 4. Clean up resources in finally blocks or use try-with-resources
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/StaticJAASConfigurationTest.java
assertEquals("true", returned.get("useKeyTab")); assertEquals("true", returned.get("storeKey")); assertEquals("******@****.***", returned.get("principal")); // Ensure no unexpected extra options assertEquals(3, returned.size(), "Only provided options are expected"); } @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/SmbPipeHandleTest.java
import org.mockito.Mockito; import jcifs.smb.SmbPipeHandleInternal; /** * Unit tests for a class that implements the {@link SmbPipeHandle} interface. * This test class uses a mock implementation to ensure any class adhering to the * SmbPipeHandle contract is tested for correctness. */ public class SmbPipeHandleTest { private SmbPipeHandle smbPipeHandle; private SmbPipeResource mockPipeResource;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/Smb2TransformHeader.java
* * @return byte array containing associated data */ public byte[] getAssociatedData() { final byte[] aad = new byte[52]; // Use full header size to ensure all data fits int index = 0; // Protocol ID SMBUtil.writeInt4(TRANSFORM_PROTOCOL_ID, aad, index); index += 4; // Skip signature (16 bytes of zeros for AAD)Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java
import org.junit.jupiter.api.Test; /** * Tests for the Trans2QueryFSInformationResponse class. */ class Trans2QueryFSInformationResponseTest { /** * Tests the constructor to ensure it sets up the command and subcommand correctly. */ @Test void testConstructor() { Trans2QueryFSInformationResponse response =Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/misc/Base64UtilTest.java
} /** * Test backward compatibility with standard Base64 * * @throws Exception */ public void testBackwardCompatibility() throws Exception { // These test cases ensure that the new java.util.Base64 implementation // produces the same output as the old custom implementation // Test case 1: Standard padding final byte[] data1 = "abc".getBytes();Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
assertEquals(0, initialThroughput); // Add some data transfer channelInfo.addBytesSent(1000); channelInfo.addBytesReceived(2000); // Wait a bit to ensure time passes try { Thread.sleep(10); } catch (InterruptedException e) { Thread.currentThread().interrupt(); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.4K bytes - Viewed (0)