Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 33 for deduplication (0.07 seconds)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      }
    
      public void testCreation_oneDuplicate() {
        // now we'll get the varargs overload
        @SuppressWarnings("DistinctVarargsChecker") // deliberately testing deduplication
        ImmutableSet<String> set =
            ImmutableSet.of("a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "a");
        assertEquals(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

     *
     * <p>The analyzer processes POM files recursively, tracking string occurrences and their locations within the POM structure.
     * It can identify areas where string deduplication could provide significant memory savings.</p>
     *
     * <p>Usage example:</p>
     * <pre>
     * PomMemoryAnalyzer analyzer = new PomMemoryAnalyzer();
     * Model model = reader.read(Files.newInputStream(pomPath));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          return ImmutableSet.copyOf(elements);
        }
      }
    
      public static class DegeneratedImmutableSetGenerator extends TestStringSetGenerator {
        @SuppressWarnings("DistinctVarargsChecker") // deliberately testing deduplication
        @Override
        protected Set<String> create(String[] elements) {
          return ImmutableSet.of(elements[0], elements[0]);
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 08 18:35:13 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          this.elements = (E[]) new Object[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
          this.counts = new int[ImmutableCollection.Builder.DEFAULT_INITIAL_CAPACITY];
        }
    
        /** Check if we need to do deduplication and coalescing, and if so, do it. */
        private void maintenance() {
          if (length == elements.length) {
            dedupAndCoalesce(true);
          } else if (forceCopyElements) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 35.2K bytes
    - Click Count (0)
  5. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  6. 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();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. 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 Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue May 27 14:58:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  8. 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
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Wed Nov 19 08:55:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. 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 la complé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
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top