- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 124 for getAction (0.1 seconds)
-
src/test/java/jcifs/smb/SmbTransportInternalTest.java
SmbSession result = transport.getSmbSession(ctx, host, domain); assertSame(session, result); verify(transport).getSmbSession(eq(ctx), eq(host), eq(domain)); } // SMB2 detection: true/false and exception path @Test @DisplayName("isSMB2 returns true/false and can throw") void isSMB2_variants() throws Exception { when(transport.isSMB2()).thenReturn(true, false);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.1K bytes - Click Count (0) -
src/test/resources/thumbnail/test_generate_thumbnail.sh
echo -e "${GREEN}PASSED${NC}" ((TESTS_PASSED++)) else echo -e "${RED}FAILED${NC}" ((TESTS_FAILED++)) fi echo "" echo "--- ImageMagick version detection tests ---" echo -n "Testing: get_imagemagick_cmd function exists... " if grep -q 'get_imagemagick_cmd()' "${GENERATE_THUMBNAIL}"; then echo -e "${GREEN}PASSED${NC}" ((TESTS_PASSED++)) elseCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 04 08:02:36 GMT 2025 - 7.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/platform/Platform.kt
* manager that was used to create an [SSLSocketFactory]. * * Not supported by choice on JDK9+ due to access checks. * * ### Android Cleartext Permit Detection * * Supported on Android 6.0+ via `NetworkSecurityPolicy`. */ open class Platform { /** Prefix used on custom headers. */ fun getPrefix() = "OkHttp"
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 8.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
webApiRequest = new WebApiRequest(mockRequest, customPath); assertEquals(originalPath, webApiRequest.getServletPath()); } // Test edge cases for SAStruts.method detection @Test public void test_getServletPath_withSAStrutsMethodSubstring_returnsSuperPath() { final String originalPath = "/original/path"; final String customPath = "/api/v1/search";
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 17.8K bytes - Click Count (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
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
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) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 11.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/transformer/FessTransformer.java
u = StringUtil.EMPTY; } } return u; } /** * Decodes a URL as a name using appropriate character encoding. * Handles encoding detection from parent URLs and configuration settings. * * @param url the URL to decode * @param escapePlus whether to escape plus signs before decodingCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Dec 11 09:47:03 GMT 2025 - 14.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
/** * Prunes any leaked calls and then returns the number of remaining live calls on [connection]. * Calls are leaked if the connection is tracking them but the application code has abandoned * them. Leak detection is imprecise and relies on garbage collection. */ private fun pruneAndGetAllocationCount( connection: RealConnection, now: Long, ): Int { connection.assertLockHeld()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 11.1K bytes - Click Count (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) */Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 13:59:25 GMT 2026 - 12.4K bytes - Click Count (1) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectResponseTest.java
Smb2TreeConnectResponse responseWithNull = new Smb2TreeConnectResponse(null); // Then assertNotNull(responseWithNull); } @Test @DisplayName("Should test encryption flag detection") void testEncryptionFlagDetection() throws SMBProtocolDecodingException { // Given - response with encryption flag set byte[] buffer = createValidResponseBuffer(0, 0x8000, 0, 0); // When
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 19.3K bytes - Click Count (0)