- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 384 for sale (0.03 sec)
-
src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java
@DisplayName("Should return salt correctly") void testGetSalt() { int[] hashAlgos = { 0x01 }; byte[] salt = { 0x01, 0x02, 0x03, 0x04 }; PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); assertArrayEquals(salt, context.getSalt()); // The implementation returns the same reference, not a defensive copyRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 34K bytes - Viewed (0) -
CLAUDE.md
Execution context and configuration. **Important Fields**: ```java String sessionId // Format: yyyyMMddHHmmssSSS volatile CrawlerStatus status // DONE, RUNNING AtomicLong accessCount // Thread-safe counter int numOfThread = 10 // Crawler threads int maxDepth = -1 // Max depth (-1 = unlimited) long maxAccessCount = 0 // Max URLs (0 = unlimited) ```
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 28 17:31:34 UTC 2025 - 10.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java
startLatch.countDown(); // Wait for all threads to complete assertTrue("Threads did not complete in time", doneLatch.await(5, TimeUnit.SECONDS)); // All threads should fail with the same IOException (project ID is blank) // But importantly, there should be no race condition errors assertEquals(threadCount, failureCount.get()); assertEquals(0, successCount.get());
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
} /** * Test isPathSafe with safe path * * @throws Exception */ @Test public void testIsPathSafe_SafePath() throws Exception { final Path baseDir = tempFolder.getRoot().toPath(); final Path safePath = baseDir.resolve("subdir/file.txt"); assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir)); } /**Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 10.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java
public void clearRules() { rules.clear(); } public List<Rule> getRules() { return new ArrayList<>(rules); } } /** * Thread-safe implementation of RuleManager */ public static class ThreadSafeRuleManager implements RuleManager { private final List<Rule> rules = new CopyOnWriteArrayList<>(); @OverrideRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 23.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/FileUtil.java
protected static final int DEFAULT_BUF_SIZE = 4096; // 4k /** Max Buffer Size */ protected static final int MAX_BUF_SIZE = 10 * 1024 * 1024; // 10m /** * Validates that a given path is safe and does not attempt path traversal attacks. * <p> * This method checks if the resolved absolute path starts with the allowed base directory,Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java
// Simulate invalidation assertFalse(handle.isOpen(), "Becomes not open when underlying handle invalid"); // After close, report stale handle.close(); assertTrue(handle.isStale(), "Closed handle reports stale"); } @Test @DisplayName("getSessionKey propagates CIFSException from session acquisition") void getSessionKey_exception_propagates() throws Exception {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 16.7K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
* loading and storing of properties from a file. It monitors the file for changes * and reloads the properties if the file is updated. This class is thread-safe and * ensures that the properties are always up-to-date. * * <p>Key Features: * <ul> * <li>Automatically reloads properties if the file is modified.</li>
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 13.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given - Use same key for both encryption and decryption in test // In production, client would use clientEncKey/serverDecKey and server would use serverEncKey/clientDecKey Smb2EncryptionContext context = new Smb2EncryptionContext(EncryptionNegotiateContext.CIPHER_AES128_GCM, DialectVersion.SMB311, testEncryptionKey, testEncryptionKey); // Use same key for testRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0)