- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 218 for Detection (0.07 sec)
-
src/test/java/jcifs/util/InputValidatorTest.java
assertThrows(IllegalArgumentException.class, () -> InputValidator.validateArrayBounds(src, 0, dst, 50, 60)); } @ParameterizedTest @DisplayName("Test path traversal detection") @ValueSource(strings = { "../etc/passwd", "..\\windows\\system32", "folder/../../../etc", "test/../../root", "..\\..\\..\\windows" }) void testPathTraversal(String path) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/AllocInfoTest.java
boolean hasEnoughSpace = allocInfo.getFree() >= requiredSpace; // Then assertTrue(hasEnoughSpace); } @Test @DisplayName("Should support full disk detection pattern") void shouldSupportFullDiskDetectionPattern() { // Given TestAllocInfo fullDisk = new TestAllocInfo(1024L, 0L); TestAllocInfo partialDisk = new TestAllocInfo(1024L, 512L);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
assertSame(firstException.getCause(), expected.getCause()); // lockA should work after lockB is released. lockB.unlock(); lockA.lock(); } // Tests transitive deadlock detection. public void testDeadlock_threeLocks() { // Establish an ordering from lockA -> lockB. lockA.lock(); lockB.lock(); lockB.unlock(); lockA.unlock();
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java
* It also integrates with other Fess Crawler components, such as {@link ContentLengthHelper} and * {@link MimeTypeHelper}, to handle content length checks and MIME type detection. * </p> * * <p> * The class uses JCIFS properties to configure the SMB connection. * </p> * * <p> * Usage example: * </p> * * <pre> * {@codeRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 23.4K bytes - Viewed (3) -
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} /** * Sets whether the user identification cookie should be marked as secure. * * @param cookieSecure true if the cookie should be secure (HTTPS only), false otherwise, or null for auto-detection */ public void setCookieSecure(final Boolean cookieSecure) { this.cookieSecure = cookieSecure; } /** * Sets whether the user identification cookie should be HTTP-only.Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 14.9K bytes - Viewed (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
* * Features: * - Buffer bounds checking * - Integer overflow prevention * - Size validation * - Protocol compliance checking * - Malformed response detection */ public class ServerResponseValidator { private static final Logger log = LoggerFactory.getLogger(ServerResponseValidator.class); // Protocol limitsRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java
* * <p>Features: * <ul> * <li>Automatic initialization of GCS client</li> * <li>Support for HEAD and GET operations</li> * <li>Content length validation</li> * <li>MIME type detection</li> * <li>Handling of large files through temporary file storage</li> * <li>Object metadata retrieval</li> * <li>Directory listing capabilities</li> * </ul> *
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
assertEquals(HTTP_UNAUTHORIZED, responseCode); // In a real scenario, the connection would reconnect and send Type1/Type3 messages // This simplified test just verifies the initial handshake detection } /** * Test handshake failure when the server does not return an NTLM challenge. * @throws IOException */ @Test
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTransportImplTest.java
// Act & Assert assertTrue(transport.hasCapability(SmbConstants.CAP_DFS)); verify(nego, times(1)).haveCapabilitiy(SmbConstants.CAP_DFS); } @Test @DisplayName("SMB version detection via flag or response type") void isSMB2_variants() throws Exception { // 1) smb2 flag set setField(transport, "smb2", true); assertTrue(transport.isSMB2());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ProtocolHelper.java
} /** * Checks if the given URL is a file path protocol that requires directory and permission handling. * Used for incremental crawling directory detection and file permission processing. * * @param url the URL to check * @return true if the URL uses a file path protocol (smb, smb1, file, ftp, s3, gcs) */Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Dec 12 13:58:40 UTC 2025 - 12.4K bytes - Viewed (1)