Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,130 for set (0.12 sec)

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

       *     operation
       */
      void clear();
    
      /**
       * Adds all of the ranges from the specified range set to this range set (optional operation).
       * After this operation, this range set is the minimal range set that {@linkplain
       * #enclosesAll(RangeSet) encloses} both the original range set and {@code other}.
       *
       * <p>This is equivalent to calling {@link #add} on each of the ranges in {@code other} in turn.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/graph/Graphs.java

        } else {
          // An optimization for the undirected case: for every node B reachable from node A,
          // node A and node B have the same reachability set.
          Set<N> visitedNodes = new HashSet<>();
          for (N node : graph.nodes()) {
            if (!visitedNodes.contains(node)) {
              Set<N> reachableNodes = reachableNodes(graph, node);
              visitedNodes.addAll(reachableNodes);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  3. internal/config/config.go

    			// Since the region sub-system cannot be (re)set as it
    			// is legacy, we return an error to tell the user to
    			// reset the region via the new command.
    			err = Errorf("could not load region from legacy configuration as it was invalid - use 'mc admin config set myminio site region=myregion name=myname' to set a region and name (%v)", err)
    			return
    		}
    
    		region = regionKV.Get(RegionName)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

       * </ol>
       *
       * @param set the presumed-immutable set
       * @param sampleElement an element of the same type as that contained by {@code set}. {@code set}
       *     may or may not have {@code sampleElement} as a member.
       */
      public static <E extends @Nullable Object> void assertSetIsUnmodifiable(
          Set<E> set, E sampleElement) {
        assertCollectionIsUnmodifiable(set, sampleElement);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 15K bytes
    - Viewed (0)
  5. cmd/peer-rest-client.go

    	values := make(url.Values)
    	values.Set(peerRESTSize, strconv.Itoa(opts.objectSize))
    	values.Set(peerRESTConcurrent, strconv.Itoa(opts.concurrency))
    	values.Set(peerRESTDuration, opts.duration.String())
    	values.Set(peerRESTStorageClass, opts.storageClass)
    	values.Set(peerRESTBucket, opts.bucketName)
    	values.Set(peerRESTEnableSha256, strconv.FormatBool(opts.enableSha256))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.8K bytes
    - Viewed (0)
  6. cmd/metacache-server-pool.go

    			if o.pool < len(z.serverPools) && o.set < len(z.serverPools[o.pool].sets) {
    				o.debugln("Resuming", o)
    				entries, err = z.serverPools[o.pool].sets[o.set].streamMetadataParts(ctx, *o)
    				entries.reuse = true // We read from stream and are not sharing results.
    				if err == nil {
    					return entries, nil
    				}
    			} else {
    				err = fmt.Errorf("invalid pool/set")
    				o.pool, o.set = 0, 0
    			}
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureUtilTest.java

            DERIVED_FEATURE_1, DERIVED_FEATURE_2, ExampleBaseFeature.BASE_FEATURE_2);
    
        private Set<Feature<? super ExampleDerivedInterface>> implied;
    
        ExampleDerivedFeature(Feature<? super ExampleDerivedInterface>... implied) {
          this.implied = ImmutableSet.copyOf(implied);
        }
    
        @Override
        public Set<Feature<? super ExampleDerivedInterface>> getImpliedFeatures() {
          return implied;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 10.4K bytes
    - Viewed (2)
  8. guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                .build();
    
        assertThat(RANGE_SET_ONE.union(RANGE_SET_TWO)).isEqualTo(expected);
      }
    
      public void testIntersection() {
        RangeSet<Integer> expected =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(2, 3))
                .add(Range.open(6, 7))
                .add(Range.singleton(8))
                .build();
    
        assertThat(RANGE_SET_ONE.intersection(RANGE_SET_TWO)).isEqualTo(expected);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

    import com.google.common.collect.testing.features.Feature;
    import java.util.Collection;
    import java.util.Collections;
    import java.util.List;
    import java.util.Map;
    import java.util.Set;
    import java.util.SortedSet;
    import junit.framework.Test;
    import junit.framework.TestCase;
    import junit.framework.TestSuite;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multiset.java

      // Views
    
      /**
       * Returns the set of distinct elements contained in this multiset. The element set is backed by
       * the same data as the multiset, so any change to either is immediately reflected in the other.
       * The order of the elements in the element set is unspecified.
       *
       * <p>If the element set supports any removal operations, these necessarily cause <b>all</b>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 19.7K bytes
    - Viewed (0)
Back to top