Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 60 for deduplication (0.57 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     list of available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
     * will prefer pooled connections. Only pooled HTTP/2 connections are used for such de-duplication.
     *
     * It is possible to cancel the finding process by canceling its call.
     *
     * Implementations of this interface are not thread-safe. Each instance is thread-confined to the
     * thread executing the call.
     */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java

        inverseFeatures.remove(CollectionFeature.KNOWN_ORDER);
        inverseFeatures.add(MapFeature.REJECTS_DUPLICATES_AT_CREATION);
    
        return inverseFeatures;
      }
    
      // TODO(lowasser): can we eliminate the duplication from MapTestSuiteBuilder here?
    
      private static Set<Feature<?>> computeValuesSetFeatures(Set<Feature<?>> mapFeatures) {
        Set<Feature<?>> valuesCollectionFeatures = computeCommonDerivedCollectionFeatures(mapFeatures);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 30 16:15:19 GMT 2024
    - 6.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

    import static eu.maveniverse.domtrip.maven.MavenPomElements.Elements.PARENT;
    
    /**
     * Abstract base class for upgrade strategies that provides common functionality
     * and reduces code duplication across strategy implementations.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  4. docs/fr/docs/history-design-future.md

    Ainsi, j'ai pu trouver les meilleurs moyens de réduire autant que possible la duplication du code, d'avoir l'autocomplétion partout, les contrôles de type et d'erreur, etc.
    
    Le tout de manière à offrir la meilleure expérience de développement à tous les développeurs.
    
    ## Exigences { #requirements }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java

    import static org.mockito.Mockito.doAnswer;
    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Utility class for creating test fixtures and reducing code duplication in tests.
     */
    public final class TestUtils {
    
        private TestUtils() {
            // Utility class
        }
    
        /**
         * Creates a mock UpgradeContext with default settings.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/query/QueryCommand.java

         * 2. Check if field is a search field and apply field-specific query
         * 3. Fall back to default query builder for unsupported fields
         *
         * This reduces code duplication across query command implementations.
         *
         * @param fessConfig the Fess configuration
         * @param context the query context
         * @param field the field name
         * @param text the query text
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 11:39:05 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  7. docs/es/docs/tutorial/extra-models.md

    Las funciones adicionales de soporte `fake_password_hasher` y `fake_save_user` son solo para demostrar un posible flujo de datos, pero por supuesto no proporcionan ninguna seguridad real.
    
    ///
    
    ## Reducir duplicación { #reduce-duplication }
    
    Reducir la duplicación de código es una de las ideas centrales en **FastAPI**.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  8. docs/en/docs/history-design-future.md

    That way I could find the best ways to reduce code duplication as much as possible, to have completion everywhere, type and error checks, etc.
    
    All in a way that provided the best development experience for all the developers.
    
    ## Requirements { #requirements }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  9. docs/zh/docs/tutorial/extra-models.md

        hashed_password = hashed_password,
    )
    ```
    
    /// warning | 警告
    
    配套的辅助函数 `fake_password_hasher` 和 `fake_save_user` 仅用于演示可能的数据流,当然并不提供真实的安全性。
    
    ///
    
    ## 减少重复 { #reduce-duplication }
    
    减少代码重复是 **FastAPI** 的核心思想之一。
    
    代码重复会导致 bug、安全问题、代码失步等问题(更新了某个位置的代码,但没有同步更新其它位置的代码)。
    
    上面的这些模型共享了大量数据,拥有重复的属性名和类型。
    
    我们可以做得更好。
    
    声明 `UserBase` 模型作为其它模型的基类。然后,用该类衍生出继承其属性(类型声明、校验等)的子类。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/graph/FilteredProjectDependencyGraph.java

            // of A, B, C, and D, so when scanning B and D, E will be added again 'filtered'.
            //
            // Without de-duplication, the final list would contain E three times, once for E being in the projects and
            // whitelisted, and twice more for E being a downstream dependency of B and D.
            return filtered.stream().distinct().toList();
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jun 19 16:34:39 GMT 2025
    - 6.4K bytes
    - Click Count (0)
Back to Top