Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 312 for Detection (0.05 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

     * for configuring the extraction parameters and handling the underlying complexities of content processing,
     * such as MIME type detection, extractor selection, and content length validation.
     * </p>
     *
     * <p>
     * Example usage:
     * </p>
     *
     * <pre>
     * {@code
     * try (InputStream in = new FileInputStream("example.pdf")) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

         */
        @Test
        public void testAuthTypeGuessing() {
            // Test guest detection
            NtlmPasswordAuthenticator guestAuth = new NtlmPasswordAuthenticator("guest", "anypass");
            assertTrue(guestAuth.isGuest());
            assertFalse(guestAuth.isAnonymous());
    
            // Test anonymous detection
            NtlmPasswordAuthenticator anonAuth = new NtlmPasswordAuthenticator("", new char[0]);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  3. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/InvokerRequest.java

         */
        @Nonnull
        Optional<Options> options();
    
        /**
         * This method returns "verbose" option value derived from multiple places: CLI options, but also CI detection,
         * if applicable.
         */
        default boolean effectiveVerbose() {
            return options().isPresent() && options().orElseThrow().verbose().orElse(false)
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jun 11 13:14:09 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/util/ResourceManagerTest.java

            assertTrue(cleaned >= 2);
    
            assertTrue(resource1.isClosed());
            assertTrue(resource2.isClosed());
        }
    
        @Test
        @DisplayName("Test leak detection for unclosed resources")
        @Timeout(value = 5, unit = TimeUnit.SECONDS)
        void testLeakDetection() throws InterruptedException {
            // Create resource that will be garbage collected without closing
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenInit.java

        public static final int DELEGATION = 0x80;
        /**
         * Context flag for mutual authentication requirement
         */
        public static final int MUTUAL_AUTHENTICATION = 0x40;
        /**
         * Context flag for replay detection capability
         */
        public static final int REPLAY_DETECTION = 0x20;
        /**
         * Context flag for sequence checking capability
         */
        public static final int SEQUENCE_CHECKING = 0x10;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                boolean canWrite = mockResource.canWrite();
    
                // Then
                assertTrue(exists, "Should support SMB existence checks");
                assertTrue(isFile, "Should support SMB file type detection");
                assertTrue(canRead, "Should support SMB read permission checks");
                assertTrue(canWrite, "Should support SMB write permission checks");
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. 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);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. 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
        public void test_getServletPath_withSAStrutsMethodSubstring_returnsSuperPath() {
            final String originalPath = "/original/path";
            final String customPath = "/api/v1/search";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  9. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  10. 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"
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.1K bytes
    - Viewed (0)
Back to top