Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 989 for handler1 (0.13 sec)

  1. src/main/java/org/codelibs/fess/app/pager/StopwordsPager.java

     */
    package org.codelibs.fess.app.pager;
    
    import java.io.Serializable;
    import java.util.List;
    
    import org.codelibs.fess.util.ComponentUtil;
    
    /**
     * Pager for managing stopwords pagination.
     * This class handles the state and logic for paginating through a list of stopwords,
     * including total record count, page size, and current page number.
     */
    public class StopwordsPager implements Serializable {
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/service/FavoriteLogService.java

    import jakarta.annotation.Resource;
    
    /**
     * Service class for managing favorite log operations.
     * Provides functionality to add URLs to user favorites and retrieve favorite URL lists.
     * This service handles the persistence and retrieval of favorite log entries in the search system.
     */
    public class FavoriteLogService {
    
        /**
         * Default constructor.
         */
        public FavoriteLogService() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

            verify(tree).send(eq(request), isNull());
        }
    
        @ParameterizedTest(name = "send with single param: {0}")
        @EnumSource(RequestParam.class)
        @DisplayName("send handles each RequestParam enum constant")
        void send_eachRequestParam_isAccepted(RequestParam param) throws Exception {
            // Arrange: stub per-call return to ensure interaction with the exact enum
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/DosFileFilterTest.java

        /**
         * Tests the constructor of DosFileFilter.
         * This test ensures that the constructor runs without errors and correctly initializes the object.
         * The wildcard parameter is stored but its filtering logic is handled server-side,
         * so we only verify its acceptance here.
         */
        @Test
        void testConstructor() {
            // The constructor should not throw any exceptions with valid inputs.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/CIFSUnsupportedCryptoExceptionTest.java

            assertNull(exception.getCause(), "Cause should be null when not specified");
        }
    
        @ParameterizedTest
        @DisplayName("Message constructor should handle crypto-specific error messages")
        @NullAndEmptySource
        @ValueSource(strings = { "AES encryption not supported", "Missing Bouncy Castle provider", "Invalid key length for AES-128",
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/background-tasks.md

    Create a function to be run as the background task.
    
    It is just a standard function that can receive parameters.
    
    It can be an `async def` or normal `def` function, **FastAPI** will know how to handle it correctly.
    
    In this case, the task function will write to a file (simulating sending an email).
    
    And as the write operation doesn't use `async` and `await`, we define the function with normal `def`:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        }
    
        // Test constructor
        public void test_constructor() {
            CorsHandler handler = new CorsHandler() {
                @Override
                public void process(String origin, ServletRequest request, ServletResponse response) {
                    // Test implementation
                }
            };
            assertNotNull(handler);
        }
    
        // Test process method with null origin
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  8. tensorflow/c/c_api.cc

        memcpy(buf, new_handle.c_str(), new_handle.size() + 1);
        *handle = buf;
      }
    }
    
    void TF_DeletePRunHandle(const char* handle) {
      delete[] handle;
      // TODO(suharshs): Free up any resources held by the partial run state.
    }
    
    void TF_SessionPRun(TF_Session* session, const char* handle,
                        const TF_Output* inputs, TF_Tensor* const* input_values,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
        proxies.add(proxy)
        return this
      }
    
      override fun select(uri: URI): List<Proxy> {
        // Don't handle 'socket' schemes, which the RI's Socket class may request (for SOCKS).
        return if (uri.scheme == "http" || uri.scheme == "https") proxies else listOf(Proxy.NO_PROXY)
      }
    
      override fun connectFailed(
        uri: URI,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/util/ComponentUtil.java

         */
        public static CrawlerStatsHelper getCrawlerStatsHelper() {
            return getComponent(CRAWLER_STATS_HELPER);
        }
    
        /**
         * Gets the CORS handler factory component.
         * @return The CORS handler factory.
         */
        public static CorsHandlerFactory getCorsHandlerFactory() {
            return getComponent(CORS_HANDLER_FACTORY);
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top