Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 60 for deduplication (0.41 seconds)

  1. android/guava/src/com/google/common/base/MoreObjects.java

         * again and get a more complete representation of the same object; but properties cannot be
         * removed, so this only allows limited reuse of the helper instance. The helper allows
         * duplication of properties (multiple name/value pairs with the same name can be added).
         */
        @Override
        public String toString() {
          // create a copy to keep it consistent in case value changes
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. docs/tr/docs/tutorial/extra-models.md

    Ek destek fonksiyonları olan `fake_password_hasher` ve `fake_save_user` sadece verinin olası bir akışını göstermek içindir; elbette gerçek bir güvenlik sağlamazlar.
    
    ///
    
    ## Tekrarı Azaltma { #reduce-duplication }
    
    Kod tekrarını azaltmak, **FastAPI**'nin temel fikirlerinden biridir.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 7.4K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/dependencies/index.md

    You just pass it to `Depends` and **FastAPI** knows how to do the rest.
    
    ///
    
    ## Share `Annotated` dependencies { #share-annotated-dependencies }
    
    In the examples above, you see that there's a tiny bit of **code duplication**.
    
    When you need to use the `common_parameters()` dependency, you have to write the whole parameter with the type annotation and `Depends()`:
    
    ```Python
    commons: Annotated[dict, Depends(common_parameters)]
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/extra-models.md

    Вспомогательные дополнительные функции `fake_password_hasher` и `fake_save_user` используются только для демонстрации возможного потока данных и, конечно, не обеспечивают настоящую безопасность.
    
    ///
    
    ## Сократите дублирование { #reduce-duplication }
    
    Сокращение дублирования кода — это одна из главных идей **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/extra-models.md

    As funções adicionais de suporte `fake_password_hasher` e `fake_save_user` servem apenas para demonstrar um fluxo possível dos dados, mas é claro que elas não fornecem segurança real.
    
    ///
    
    ## Reduzir duplicação { #reduce-duplication }
    
    Reduzir a duplicação de código é uma das ideias principais no **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/collect/ConcurrentHashMultisetBenchmark.java

          Multiset<Integer> get() {
            return Synchronized.multiset(HashMultiset.<Integer>create(), null);
          }
        },
        ;
    
        abstract Multiset<Integer> get();
      }
    
      /**
       * Duplication of the old version of ConcurrentHashMultiset (with some unused stuff removed, like
       * serialization code) which used a map with boxed integers for the values.
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  7. docs/de/docs/tutorial/extra-models.md

    Die unterstützenden zusätzlichen Funktionen `fake_password_hasher` und `fake_save_user` dienen nur zur Demo eines möglichen Datenflusses, bieten jedoch natürlich keine echte Sicherheit.
    
    ///
    
    ## Verdopplung vermeiden { #reduce-duplication }
    
    Die Reduzierung von Code-Verdoppelung ist eine der Kernideen von **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top