Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 411 for handles (0.08 seconds)

  1. tests/test_compat.py

        # class "feature"
        assert is_uploadfile_sequence_annotation(list[str] | list[UploadFile])
    
    
    def test_serialize_sequence_value_with_optional_list():
        """Test that serialize_sequence_value handles optional lists correctly."""
        from fastapi._compat import v2
    
        field_info = FieldInfo(annotation=list[str] | None)
        field = v2.ModelField(name="items", field_info=field_info)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

     *
     * This class provides Single Sign-On (SSO) authentication using the SPNEGO protocol,
     * which is commonly used for Kerberos-based authentication in Windows environments.
     * It handles the negotiation between client and server to establish a secure
     * authentication context without requiring users to explicitly enter credentials.
     *
     * The authenticator supports various configuration options including delegation,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:18:23 GMT 2026
    - 18.2K bytes
    - Click Count (3)
  3. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                RenderDataUtil.register(data, "notification", fessConfig.getNotificationLogin());
                saveToken();
            });
        }
    
        /**
         * Handles user login with the provided credentials.
         *
         * @param form the login form containing username and password
         * @return the HTML response after login attempt
         */
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 06:18:24 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/misc/LocaleUtil.java

        public static Locale getLocale(final String localeStr) {
            if (localeStr == null || localeStr.isEmpty()) {
                return LocaleUtil.getDefault();
            }
    
            // Use Java's built-in locale parsing which handles various formats
            // including language, language_country, and language_country_variant
            final String[] parts = localeStr.split("_", 3);
    
            switch (parts.length) {
            case 1:
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/RateLimitHelperTest.java

        }
    
        @Test
        public void test_cleanup() {
            rateLimitHelper.blockIp("192.168.1.100", 1L);
            assertEquals(1, rateLimitHelper.getBlockedIpCount());
    
            // Guava Cache handles expiration automatically
            // Wait for cache to expire and call cleanup
            try {
                Thread.sleep(100L);
            } catch (final InterruptedException e) {
                // ignore
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 4K bytes
    - Click Count (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/Hc5ConnectionMonitorTarget.java

     * idleConnectionTimeout the timeout duration (in milliseconds) for idle connections
     *
     * <p>Methods:</p>
     * <ul>
     *   <li>{@link #expired()}: Handles the expiration of connections by closing expired and idle connections.</li>
     * </ul>
     *
     * <p>Logging:</p>
     * <ul>
     *   <li>Logs a warning if the clientConnectionManager is null.</li>
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/RateLimitHelper.java

                if (logger.isDebugEnabled()) {
                    logger.debug("IP in static block list: ip={}", ip);
                }
                return true;
            }
    
            // Check dynamically blocked IPs (Cache handles expiration automatically)
            final Boolean blocked = blockedIps.getIfPresent(ip);
            if (blocked != null) {
                if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Dec 24 14:16:27 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/index/operations/IndexingOperations.java

    import org.codelibs.fess.suggest.settings.SuggestSettings;
    import org.opensearch.transport.client.Client;
    
    /**
     * Internal operations class for core indexing functionality.
     * Handles indexing of SuggestItem objects with bad word filtering.
     *
     * <p>This class is package-private and intended for internal use by SuggestIndexer.
     */
    public class IndexingOperations {
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 3.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

            assertTrue(outputStream instanceof ByteArrayOutputStream);
        }
    
        @Test
        public void test_getXContentString_success() {
            // Test that getXContentString method exists and handles exceptions properly
            ToXContent xContent = new ToXContent() {
                @Override
                public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.8K bytes
    - Click Count (0)
  10. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        }
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? =
        if (sslSocket is org.openjsse.javax.net.ssl.SSLSocket) {
          when (val protocol = sslSocket.applicationProtocol) {
            // Handles both un-configured and none selected.
            null, "" -> null
    
            else -> protocol
          }
        } else {
          super.getSelectedProtocol(sslSocket)
        }
    
      companion object {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 3.6K bytes
    - Click Count (0)
Back to Top