Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 292 for duplicated (0.28 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

          default:
            return new RegularImmutableSet<E>(delegate);
        }
      }
    
      private static <E> ImmutableSet<E> create(E... elements) {
        // Create the set first, to remove duplicates if necessary.
        Set<E> set = Sets.newLinkedHashSet();
        Collections.addAll(set, elements);
        for (E element : set) {
          checkNotNull(element);
        }
    
        switch (set.size()) {
          case 0:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    	return nil
    }
    
    // IAMChangeHook - called when IAM items need to be replicated to peer clusters.
    // This includes named policy creation, policy mapping changes and service
    // account changes.
    //
    // All policies are replicated.
    //
    // Policy mappings are only replicated when they are for LDAP users or groups
    // (as an external IDP is always assumed when SR is used). In the case of
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 184.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/math/Quantiles.java

         * q-quantile.
         *
         * @param indexes the quantile indexes, each of which must be in the inclusive range [0, q] for
         *     q-quantiles; the order of the indexes is unimportant, duplicates will be ignored, and the
         *     set will be snapshotted when this method is called
         * @throws IllegalArgumentException if {@code indexes} is empty
         */
        public ScaleAndIndexes indexes(int... indexes) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/CompactHashSet.java

       * collection in unspecified order.
       *
       * @param collection the elements that the set should contain
       * @return a new {@code CompactHashSet} containing those elements (minus duplicates)
       */
      public static <E extends @Nullable Object> CompactHashSet<E> create(
          Collection<? extends E> collection) {
        CompactHashSet<E> set = createWithExpectedSize(collection.size());
        set.addAll(collection);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Map<Integer, String> expected = new LinkedHashMap<>();
        for (int i = 0; i < 1000; i++) {
          // Truncate to even key, so we have put(0, "0") then put(0, "1"). Half the entries are
          // duplicates.
          Integer key = i & ~1;
          String value = String.valueOf(i);
          builder.put(key, value);
          expected.put(key, value);
        }
        ImmutableMap<Integer, String> map = builder.buildKeepingLast();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/RegularImmutableTable.java

       * referencing the type variables seem worthwhile.
       */
      final void checkNoDuplicate(R rowKey, C columnKey, @Nullable V existingValue, V newValue) {
        checkArgument(
            existingValue == null,
            "Duplicate key: (row=%s, column=%s), values: [%s, %s].",
            rowKey,
            columnKey,
            newValue,
            existingValue);
      }
    
      // redeclare to satisfy our test for b/310253115
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 08 13:05:15 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TableCollectors.java

        checkNotNull(mergeFunction, "mergeFunction");
    
        /*
         * No mutable Table exactly matches the insertion order behavior of ImmutableTable.Builder, but
         * the Builder can't efficiently support merging of duplicate values.  Getting around this
         * requires some work.
         */
    
        return Collector.of(
            ImmutableTableCollectorState<R, C, V>::new,
            (state, input) ->
                state.put(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaConnection.java

            try {
                // For TCP fallback, simulate writing data through the TCP socket
                int bytesToWrite = Math.min(length, buffer.remaining());
    
                ByteBuffer writeBuffer = buffer.duplicate();
                writeBuffer.limit(writeBuffer.position() + bytesToWrite);
    
                int totalWritten = 0;
                while (writeBuffer.hasRemaining()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

        /**
         * Calculates the effective repositories for the given input repositories which are assumed to be already mirrored
         * (if applicable). This process will essentially remove duplicate repositories by merging them into one equivalent
         * repository. It is worth to point out that merging does not simply choose one of the input repositories and
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            return buf.toString().trim();
        }
    
        /**
         * Replaces duplicate hosts in the URL using the duplicate host helper.
         *
         * @param url the URL to process
         * @return the URL with duplicate hosts replaced
         */
        protected String replaceDuplicateHost(final String url) {
            try {
                // remove duplicate host
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 54.4K bytes
    - Viewed (0)
Back to top