- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for deduplication (0.04 sec)
-
docs/en/docs/tutorial/extra-models.md
/// ## Reduce duplication { #reduce-duplication } Reducing code duplication is one of the core ideas in **FastAPI**. As code duplication increments the chances of bugs, security issues, code desynchronization issues (when you update in one place but not in the others), etc.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 6.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapMakerTest.java
} @CanIgnoreReturnValue // Sure, why not? @Override public T apply(T key) { awaitUninterruptibly(delayLatch); return key; } } /* * TODO(cpovirk): eliminate duplication between these tests and those in LegacyMapMakerTests and * anywhere else */ public void testInitialCapacity_negative() { MapMaker maker = new MapMaker();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.8K bytes - Viewed (0) -
android/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);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.8K bytes - Viewed (0) -
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>
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 7.1K bytes - Viewed (0) -
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. *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 8.9K bytes - Viewed (0) -
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. */
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue May 27 14:58:02 UTC 2025 - 4.2K bytes - Viewed (0) -
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 }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Oct 11 17:48:49 UTC 2025 - 4.2K bytes - Viewed (0) -
docs/fr/docs/project-generation.md
* **Facile** : Fait pour être facile à utiliser et apprendre. Moins de temps passé à lire de la documentation. * **Concis** : Minimise la duplication de code. Plusieurs fonctionnalités à chaque déclaration de paramètre. * **Robuste** : Obtenez du code prêt pour être utilisé en production. Avec de la documentation automatique interactive.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Jul 29 23:35:07 UTC 2024 - 6.7K bytes - Viewed (0) -
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(); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jun 19 16:34:39 UTC 2025 - 6.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md
- ✅ Try-with-resources usage in MS Office extractors - ✅ Proper closure of POI objects - ✅ No resource leaks on exception ### 2. Input Validation - ✅ Consistent `validateInputStream()` usage - ✅ Reduced code duplication - ✅ Clear exception messages ### 3. Error Handling - ✅ Archive extractors continue on partial failures - ✅ Processing statistics in error messages - ✅ Specific file names in error logs
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Nov 19 08:55:01 UTC 2025 - 5.7K bytes - Viewed (0)