- Sort Score
- Num 10 results
- Language All
Results 121 - 130 of 202 for injecting (0.07 seconds)
-
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
// With filter, resource should be closed due to try-with-resources verify(filter).accept(resource); verify(resource).close(); } @Test @DisplayName("Iterator with rejecting filter - finds next acceptable") void iteratorWithRejectingFilter() throws Exception { // Setup: first entry rejected, second accepted FileEntry entry1 = mock(FileEntry.class);Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 10.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
String result = StringUtil.join(" - ", "apple", "banana", "cherry"); assertEquals("apple - banana - cherry", result); } @Test @DisplayName("Should handle null delimiter by inserting 'null' string") void testJoinWithNullDelimiter() { String result = StringUtil.join(null, "first", "second", "third"); assertEquals("firstnullsecondnullthird", result); } @Test
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 9K bytes - Click Count (0) -
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) -
docs/ko/docs/tutorial/dependencies/sub-dependencies.md
```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` //// ## 정리 { #recap } 여기서 사용한 그럴듯한 용어들을 제외하면, **Dependency Injection** 시스템은 꽤 단순합니다. *경로 처리 함수*와 같은 형태의 함수들일 뿐입니다. 하지만 여전히 매우 강력하며, 임의로 깊게 중첩된 의존성 "그래프"(트리)를 선언할 수 있습니다. /// tip | 팁 이 단순한 예시만 보면 그다지 유용해 보이지 않을 수도 있습니다. 하지만 **보안**에 관한 챕터에서 이것이 얼마나 유용한지 보게 될 것입니다.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:57:01 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/dependencies/sub-dependencies.md
```Python hl_lines="1" async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)): return {"fresh_value": fresh_value} ``` //// ## 回顧 { #recap } 撇開這裡用到的術語不談,**相依性注入(Dependency Injection)** 系統其實很簡單。 它只是一些與路徑操作函式外觀相同的函式。 但它非常強大,允許你宣告任意深度巢狀的相依「圖」(樹)。 /// tip 用這些簡單的例子看起來可能不那麼有用。 但在關於安全性的章節中,你會看到它有多實用。 你也會看到它能為你省下多少程式碼。
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 3.6K bytes - Click Count (0) -
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) -
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
# Klassen als Abhängigkeiten { #classes-as-dependencies } Bevor wir tiefer in das **Dependency Injection** System eintauchen, lassen Sie uns das vorherige Beispiel verbessern. ## Ein `dict` aus dem vorherigen Beispiel { #a-dict-from-the-previous-example }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 07:57:30 GMT 2026 - 7.6K bytes - Click Count (0) -
docs/pt/docs/tutorial/background-tasks.md
* Quaisquer argumentos nomeados que devem ser passados para a função de tarefa (`message="some notification"`). ## Injeção de dependências { #dependency-injection }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/ko/docs/_llm-test.md
* `foo`로서의 `int` * `bar`로서의 `str` * `baz`로서의 `list` * 튜토리얼 - 사용자 가이드 * 고급 사용자 가이드 * SQLModel 문서 * API 문서 * 자동 문서 * Data Science * Deep Learning * Machine Learning * Dependency Injection * HTTP Basic authentication * HTTP Digest * ISO format * JSON Schema 표준 * JSON schema * schema definition * Password Flow * Mobile * deprecated * designed * invalid * on the fly
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 11.7K bytes - Click Count (0) -
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)