Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 275 for duplicated (0.33 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        }
    
        @Override
        public Set<E> create(Object... elements) {
          Object[] duplicated = new Object[elements.length * 2];
          for (int i = 0; i < elements.length; i++) {
            duplicated[i] = elements[i];
            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetTestSuiteBuilder.java

        }
    
        @Override
        public Set<E> create(Object... elements) {
          Object[] duplicated = new Object[elements.length * 2];
          for (int i = 0; i < elements.length; i++) {
            duplicated[i] = elements[i];
            duplicated[i + elements.length] = elements[i];
          }
          return ((Multiset<E>) gen.create(duplicated)).elementSet();
        }
    
        @Override
        public E[] createArray(int length) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/RegularImmutableMap.java

      /**
       * Constructs a new entry array where each duplicated key from the original appears only once, at
       * its first position but with its final value. The {@code duplicates} map is modified.
       *
       * @param entries the original array of entries including duplicates
       * @param n the number of valid entries in {@code entries}
       * @param newN the expected number of entries once duplicates are removed
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. errors.go

    	ErrPreloadNotAllowed = errors.New("preload is not allowed when count is used")
    	// ErrDuplicatedKey occurs when there is a unique key constraint violation
    	ErrDuplicatedKey = errors.New("duplicated key not allowed")
    	// ErrForeignKeyViolated occurs when there is a foreign key constraint violation
    	ErrForeignKeyViolated = errors.New("violates foreign key constraint")
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Fri Apr 26 02:53:17 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

                version = artifact.getBaseVersion();
            }
    
            // TODO also do this logging for other metadata?
            // TODO figure out way to avoid duplicated message
            if (getLogger().isDebugEnabled()) {
                if (!version.equals(artifact.getBaseVersion())) {
                    String message = artifact.getArtifactId() + ": resolved to version " + version;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/math/MathBenchmarking.java

      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
       * binomial(biggestBinomials[k], k) fits in a long, but not
       * binomial(biggestBinomials[k] + 1, k).
       */
      static final int[] biggestBinomials = {
        Integer.MAX_VALUE,
        Integer.MAX_VALUE,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

         * any of the algorithm name is not supported. The returned collection has equal count of elements as passed in
         * collection of names, and if names contains duplicated elements, the returned list of algorithms will have
         * duplicates as well.
         *
         * @throws ChecksumAlgorithmServiceException if any asked algorithm name is not supported.
         * @throws NullPointerException if passed in list of names is {@code null}.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. callbacks.go

    		// show warning message the callback name already exists
    		if idx := getRIndex(names, c.name); idx > -1 && !c.replace && !c.remove && !cs[idx].remove {
    			c.processor.db.Logger.Warn(context.Background(), "duplicated callback `%s` from %s\n", c.name, utils.FileWithLineNum())
    		}
    		names = append(names, c.name)
    	}
    
    	sortCallback = func(c *callback) error {
    		if c.before != "" { // if defined before callback
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Aug 26 06:24:29 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/entity/FacetQueryViewTest.java

            Map<String, String> queryMap = facetQueryView.getQueryMap();
    
            // Should not duplicate existing pdf query
            assertEquals("filetype:pdf", queryMap.get("existing_pdf"));
            // Should add doc since it's not present
            assertEquals("filetype:doc", queryMap.get("DOC"));
    
            // Check no duplicate queries added to FacetInfo
            List<String> addedQueries = testFacetInfo.getAddedQueries();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
Back to top