Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 291 for injection (0.07 seconds)

  1. docs/en/docs/_llm-test.md

    * the Tutorial - User guide
    * the Advanced User Guide
    * the SQLModel docs
    * the API docs
    * the automatic docs
    
    * Data Science
    * Deep Learning
    * Machine Learning
    * Dependency Injection
    * HTTP Basic authentication
    * HTTP Digest
    * ISO format
    * the JSON Schema standard
    * the JSON schema
    * the schema definition
    * Password Flow
    * Mobile
    
    * deprecated
    * designed
    * invalid
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                return 4000;
            }
        }
    
        /**
         * Parses and validates field filter parameters from the request.
         * Only configured label values are accepted to prevent query injection.
         *
         * @param request the HTTP request
         * @return a map of field names to their validated filter values
         */
        protected Map<String, String[]> parseFieldFilters(final HttpServletRequest request) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 06:06:55 GMT 2026
    - 25.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/app/web/admin/log/AdminLogActionTest.java

            assertEquals("%2e%2e/test.log", AdminLogAction.sanitizeFilename("%2e%2e/test.log"));
        }
    
        @Test
        public void test_security_nullBytes() {
            // Null byte injection (the string contains literal null byte)
            assertEquals("fess.log\0.txt", AdminLogAction.sanitizeFilename("fess.log\0.txt"));
        }
    
        @Test
        public void test_security_unicodeCharacters() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  4. docs/zh/docs/tutorial/background-tasks.md

    `.add_task()` 接收以下参数:
    
    * 在后台运行的任务函数(`write_notification`)。
    * 应按顺序传递给任务函数的任意参数序列(`email`)。
    * 应传递给任务函数的任意关键字参数(`message="some notification"`)。
    
    ## 依赖注入 { #dependency-injection }
    
    使用 `BackgroundTasks` 也适用于依赖注入系统,你可以在多个级别声明 `BackgroundTasks` 类型的参数:在 *路径操作函数* 里,在依赖中(可依赖),在子依赖中,等等。
    
    **FastAPI** 知道在每种情况下该做什么以及如何复用同一对象,因此所有后台任务被合并在一起并且随后在后台运行:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

            }
        }
    
        @Test
        public void test_searchEngineClient_injection() {
            // Test SearchEngineClient field injection
            ThumbnailGenerator generator = new ThumbnailGenerator();
            assertNull(generator.searchEngineClient);
    
            // After proper initialization, it should be injected
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

        /** Factory for creating ingesters to process documents */
        private IngestFactory ingestFactory = null;
    
        /**
         * Initializes the callback implementation after dependency injection.
         * Sets up configuration values and initializes the ingest factory if available.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  7. docs/zh-hant/docs/tutorial/dependencies/classes-as-dependencies.md

    # 以類別作為相依性 { #classes-as-dependencies }
    
    在更深入了解 **相依性注入(Dependency Injection)** 系統之前,我們先把前一個範例升級一下。
    
    ## 前一個範例中的 `dict` { #a-dict-from-the-previous-example }
    
    在前一個範例中,我們從相依項("dependable")回傳了一個 `dict`:
    
    {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}
    
    但接著我們在路徑操作函式(*path operation function*)的參數 `commons` 中取得的是一個 `dict`。
    
    而我們知道,編輯器對 `dict` 無法提供太多輔助(例如自動完成),因為它無法預先知道其中的鍵與值的型別。
    
    我們可以做得更好...
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:15:26 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                // This test verifies that strategies are executed in the order they are provided
                // The actual priority ordering is handled by dependency injection
                UpgradeContext context = createMockContext();
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), mock(Document.class));
    
                // Mock all strategies as applicable
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            // This is complex due to the class structure. A better approach would be
            // to refactor SmbFile to be more testable (e.g., dependency injection).
            // For now, we test methods that don't require deep mocks.
            return new SmbFile(url, auth);
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/background-tasks.md

    `.add_task()` は以下の引数を受け取ります:
    
    * バックグラウンドで実行されるタスク関数 (`write_notification`)。
    * タスク関数に順番に渡す必要のある引数の列 (`email`)。
    * タスク関数に渡す必要のあるキーワード引数 (`message="some notification"`)。
    
    ## 依存性注入 { #dependency-injection }
    
    `BackgroundTasks` の使用は依存性注入システムでも機能し、様々な階層 (*path operation function*、依存性 (dependable)、サブ依存性など) で `BackgroundTasks` 型のパラメーターを宣言できます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top