Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,175 for setS (0.02 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

       * {@link TreeSet} or the {@link Map#keySet} of an {@code IdentityHashMap}.
       */
      public static <E extends @Nullable Object> SetView<E> union(
          final Set<? extends E> set1, final Set<? extends E> set2) {
        checkNotNull(set1, "set1");
        checkNotNull(set2, "set2");
    
        return new SetView<E>() {
          @Override
          public int size() {
            int size = set1.size();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/erasure-sets.go

    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-timer.C:
    			var wg sync.WaitGroup
    			for _, set := range s.sets {
    				wg.Add(1)
    				go func(set *erasureObjects) {
    					defer wg.Done()
    					if set == nil {
    						return
    					}
    					set.cleanupDeletedObjects(ctx)
    				}(set)
    			}
    			wg.Wait()
    
    			// Reset for the next interval
    			timer.Reset(globalAPIConfig.getDeleteCleanupInterval())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  3. guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      protected Set<String> create(String[] elements) {
                        Set<String> set = newHashSet(elements);
                        Set<String> other = newHashSet("wz", "xq");
                        set.addAll(other);
                        other.add("pq");
                        return Sets.difference(set, other);
                      }
                    })
                .named("set - set")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

                      @Override
                      protected Set<String> create(String[] elements) {
                        Set<String> set1 = newHashSet(elements);
                        set1.add(samples().e3());
                        Set<String> set2 = newHashSet(elements);
                        set2.add(samples().e4());
                        return Sets.intersection(set1, set2);
                      }
                    })
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  5. cmd/format-erasure.go

    	tmpFormat.Erasure.This = ""
    	if len(reference.Erasure.Sets) != len(format.Erasure.Sets) {
    		return fmt.Errorf("Expected number of sets %d, got %d", len(reference.Erasure.Sets), len(format.Erasure.Sets))
    	}
    
    	// Make sure that the sets match.
    	for i := range reference.Erasure.Sets {
    		if len(reference.Erasure.Sets[i]) != len(format.Erasure.Sets[i]) {
    			return fmt.Errorf("Each set should be of same size, expected %d got %d",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

        assertTrue(set.containsAll(Sets.newTreeSet(asList("a", "b", "f"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("d"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("z"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("b", "d"))));
        assertFalse(set.containsAll(Sets.newTreeSet(asList("f", "d", "a"))));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         *
         * @return The source of the POM or {@code null} if not set.
         */
        ModelSource getModelSource();
    
        /**
         * Sets the source of the POM to process. Eventually, either {@link #setModelSource(ModelSource)} or
         * {@link #setPomPath(Path)} must be set.
         *
         * @param modelSource The source of the POM to process, may be {@code null}.
         * @return This request, never {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      protected Set<String> create(String[] elements) {
                        Set<String> set = newHashSet(elements);
                        Set<String> other = newHashSet("wz", "xq");
                        set.addAll(other);
                        other.add("pq");
                        return Sets.difference(set, other);
                      }
                    })
                .named("set - set")
                .withFeatures(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

          if (set.isEmpty()) {
            /*
             * The (tooLow + 1, tooHigh) arguments below would be invalid because tooLow would be
             * greater than tooHigh.
             */
            return ContiguousSet.create(Range.openClosed(0, 1), DiscreteDomain.integers()).subSet(0, 1);
          }
          int tooHigh = set.last() + 1;
          int tooLow = set.first() - 1;
          set.add(tooHigh);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. buildscripts/verify-build.sh

    	export MINIO_ENDPOINTS="${WORK_DIR}/erasure-disk-sets{1...32}"
    	"${MINIO[@]}" server >"$WORK_DIR/erasure-minio-sets.log" 2>&1 &
    
    	"${WORK_DIR}/mc" ready verify
    }
    
    function start_minio_pool_erasure_sets() {
    	export MINIO_ROOT_USER=$ACCESS_KEY
    	export MINIO_ROOT_PASSWORD=$SECRET_KEY
    	export MINIO_ENDPOINTS="http://127.0.0.1:9000${WORK_DIR}/pool-disk-sets{1...4} http://127.0.0.1:9001${WORK_DIR}/pool-disk-sets{5...8}"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 19:28:51 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top