- Sort Score
- Num 10 results
- Language All
Results 221 - 230 of 327 for insertion (0.07 seconds)
-
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) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
* CheckedRunnable} and {@link CheckedCallable}). * <li>If you override {@link #tearDown}, make sure to invoke {@code super.tearDown} within it. * This method is used to clear and check for thread assertion failures. * <li>All threads generated must be joined inside each test case method (or {@code fail} to do * so) before returning from the method. The {@code joinPool} method can be used to do thisCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Mar 07 02:20:33 GMT 2026 - 8.8K 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) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResultTest.java
UpgradeResult result = new UpgradeResult(largePomSet, largePomSet, Set.of()); long endTime = System.currentTimeMillis(); // Performance assertion - should complete within reasonable time long duration = endTime - startTime; assertTrue(duration < 1000, "UpgradeResult creation should complete within 1 second for 1000 POMs");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 9.4K bytes - Click Count (0) -
tests/embedded_struct_test.go
} func (c *Content) Scan(src interface{}) error { var value Content str, ok := src.(string) if !ok { byt, ok := src.([]byte) if !ok { return errors.New("Embedded.Scan byte assertion failed") } if err := json.Unmarshal(byt, &value); err != nil { return err } } else { if err := json.Unmarshal([]byte(str), &value); err != nil { return err } }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 7.3K 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)