- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 48 for deduplication (0.09 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java
task.from(userguideSinglePageHtml); task.from(userguideMultiPage); task.into(extension.getUserManual().getStagingRoot().dir("final")); // TODO: Eliminate this duplication with the flatten task task.from(extension.getUserManual().getRoot().dir("img"), sub -> { sub.include("**/*.png", "**/*.gif", "**/*.jpg", "**/*.svg"); sub.into("img");Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 17.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryCommandTemplateMethodTest.java
QueryBuilder result = builder.apply("title", 3.0f); assertNotNull(result); } /** * Test that convertWithFieldCheck() pattern reduces code duplication. * This test demonstrates how the template method can be used to replace * repetitive field checking logic. */ @Test public void test_convertWithFieldCheck_reducesCodeDuplication() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/extra-models.md
hashed_password = hashed_password, ) ``` /// warning 輔助函式 `fake_password_hasher` 與 `fake_save_user` 只是用來示範資料流程,並不提供任何實際的安全性。 /// ## 減少重複 { #reduce-duplication } 減少程式碼重複是 FastAPI 的核心理念之一。 因為重複的程式碼會提高發生錯誤、安全性問題、程式不同步(某處更新但其他處未更新)等風險。 而這些模型共享大量資料,重複了屬性名稱與型別。 我們可以做得更好。 我們可以宣告一個作為基底的 `UserBase` 模型,其他模型繼承它成為子類別,沿用其屬性(型別宣告、驗證等)。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.3K bytes - Click Count (0) -
cmd/peer-s3-client.go
if err != nil { return err } nodeBuckets[idx] = localBuckets return nil }, idx) } errs := g.Wait() // The list of buckets in a map to avoid duplication resultMap := make(map[string]BucketInfo) for poolIdx := 0; poolIdx < sys.poolsCount; poolIdx++ { perPoolErrs := make([]error, 0, len(sys.peerClients)) for i, client := range sys.peerClients {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 15.6K bytes - Click Count (0) -
docs/ko/docs/tutorial/extra-models.md
hashed_password = hashed_password, ) ``` /// warning 추가적으로 제공된 함수 `fake_password_hasher`와 `fake_save_user`는 데이터 흐름을 시연하기 위한 예제일 뿐이며, 실제 보안을 제공하지 않습니다. /// ## 중복 줄이기 { #reduce-duplication } 코드 중복을 줄이는 것은 **FastAPI**의 핵심 아이디어 중 하나입니다. 코드 중복은 버그, 보안 문제, 코드 비동기화 문제(한 곳은 업데이트되었지만 다른 곳은 업데이트되지 않는 문제) 등의 가능성을 증가시킵니다. 그리고 이 모델들은 많은 데이터를 공유하면서 속성 이름과 타입을 중복하고 있습니다. 더 나은 방법이 있습니다.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 8K bytes - Click Count (0) -
docs/en/docs/tutorial/bigger-applications.md
/// /// check The `prefix`, `tags`, `responses`, and `dependencies` parameters are (as in many other cases) just a feature from **FastAPI** to help you avoid code duplication. /// ### Import the dependencies { #import-the-dependencies } This code lives in the module `app.routers.items`, the file `app/routers/items.py`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 19.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/dependencies/index.md
/// ## Partager des dépendances `Annotated` { #share-annotated-dependencies } Dans les exemples ci-dessus, vous voyez qu’il y a un tout petit peu de **duplication de code**. Lorsque vous devez utiliser la dépendance `common_parameters()`, vous devez écrire tout le paramètre avec l’annotation de type et `Depends()` : ```PythonCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 11.1K bytes - Click Count (0) -
docs/ja/docs/tutorial/extra-models.md
hashed_password = hashed_password, ) ``` /// warning | 注意 追加のサポート関数`fake_password_hasher`と`fake_save_user`は、データの可能な流れをデモするだけであり、もちろん本当のセキュリティを提供しているわけではありません。 /// ## 重複の削減 { #reduce-duplication } コードの重複を減らすことは、**FastAPI**の中核的なアイデアの1つです。 コードの重複が増えると、バグやセキュリティの問題、コードの非同期化問題(ある場所では更新しても他の場所では更新されない場合)などが発生する可能性が高くなります。 そして、これらのモデルは全てのデータを共有し、属性名や型を重複させています。 もっと良い方法があります。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 8.1K bytes - Click Count (0) -
docs/fr/docs/tutorial/bigger-applications.md
/// /// check | Vérifications Les paramètres `prefix`, `tags`, `responses` et `dependencies` sont (comme dans de nombreux autres cas) simplement une fonctionnalité de **FastAPI** pour vous aider à éviter la duplication de code. /// ### Importer les dépendances { #import-the-dependencies } Ce code se trouve dans le module `app.routers.items`, le fichier `app/routers/items.py`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 21.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
} final ChatSession session = chatSessionManager.getOrCreateSession(sessionId, userId); // Extract history snapshot before adding current user message to avoid duplication final List<LlmMessage> history = extractHistory(session); // Add user message immediately for session integrity under concurrent accessCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0)