Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for asRanges (0.04 sec)

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

        rangeSet.add(b);
        if (a.isEmpty() && b.isEmpty()) {
          assertThat(rangeSet.asRanges()).isEmpty();
        } else if (a.isEmpty()) {
          assertThat(rangeSet.asRanges()).contains(b);
        } else if (b.isEmpty()) {
          assertThat(rangeSet.asRanges()).contains(a);
        } else if (a.isConnected(b)) {
          assertThat(rangeSet.asRanges()).containsExactly(a.span(b));
        } else {
          if (a.lowerEndpoint() < b.lowerEndpoint()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * returns an {@code ImmutableRangeSet}.
       *
       * @since 21.0
       */
      public ImmutableRangeSet<C> union(RangeSet<C> other) {
        return unionOf(Iterables.concat(asRanges(), other.asRanges()));
      }
    
      /**
       * Returns a new range set consisting of the intersection of this range set and {@code other}.
       *
       * <p>This is essentially the same as {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. cmd/erasure-sets.go

    func (s *erasureSets) Legacy() (ok bool) {
    	return s.distributionAlgo == formatErasureVersionV2DistributionAlgoV1
    }
    
    // connectDisks - attempt to connect all the endpoints, loads format
    // and re-arranges the disks in proper position.
    func (s *erasureSets) connectDisks(log bool) {
    	defer func() {
    		s.lastConnectDisksOpTime = time.Now()
    	}()
    
    	var wg sync.WaitGroup
    	diskMap := s.getDiskMap()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
Back to top