Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for upTo (0.02 sec)

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

      }
    
      public void testFromRangeOneEnd() {
        for (BoundType endpointType : BoundType.values()) {
          assertEquals(
              GeneralRange.upTo(Ordering.natural(), 3, endpointType),
              GeneralRange.from(Range.upTo(3, endpointType)));
    
          assertEquals(
              GeneralRange.downTo(Ordering.natural(), 3, endpointType),
              GeneralRange.from(Range.downTo(3, endpointType)));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/GeneralRangeTest.java

      }
    
      public void testFromRangeOneEnd() {
        for (BoundType endpointType : BoundType.values()) {
          assertEquals(
              GeneralRange.upTo(Ordering.natural(), 3, endpointType),
              GeneralRange.from(Range.upTo(3, endpointType)));
    
          assertEquals(
              GeneralRange.downTo(Ordering.natural(), 3, endpointType),
              GeneralRange.from(Range.downTo(3, endpointType)));
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/RangeTest.java

            .addEqualityGroup(Range.atLeast(1), Range.downTo(1, CLOSED))
            .addEqualityGroup(Range.greaterThan(1), Range.downTo(1, OPEN))
            .addEqualityGroup(Range.atMost(7), Range.upTo(7, CLOSED))
            .addEqualityGroup(Range.lessThan(7), Range.upTo(7, OPEN))
            .addEqualityGroup(Range.open(1, 7), Range.range(1, OPEN, 7, OPEN))
            .addEqualityGroup(Range.openClosed(1, 7), Range.range(1, OPEN, 7, CLOSED))
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        builder.add(Range.<Integer>all());
    
        // Add one-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (int j = i + 1; j <= MAX_BOUND; j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/ImmutableRangeMapTest.java

        builder.add(Range.<Integer>all());
    
        // Add one-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType type : BoundType.values()) {
            builder.add(Range.upTo(i, type));
            builder.add(Range.downTo(i, type));
          }
        }
    
        // Add two-ended ranges
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (int j = i + 1; j <= MAX_BOUND; j++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  6. internal/config/dns/etcd_dns.go

    		}
    	}
    	if len(srvRecords) == 0 {
    		return nil, ErrNoEntriesFound
    	}
    	return srvRecords, nil
    }
    
    // Retrieves list of entries under the key passed.
    // Note that this method fetches entries upto only two levels deep.
    func (c *CoreDNS) list(key string, domain bool) ([]SrvRecord, error) {
    	ctx, cancel := context.WithTimeout(context.Background(), defaultContextTimeout)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 26 15:03:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. cmd/erasure.go

    					return
    				}
    				cache.replace(v.Name, v.Parent, v.Entry)
    				cache.Info.LastUpdate = time.Now()
    			}
    		}
    	}()
    
    	// Restrict parallelism for disk usage scanner
    	// upto GOMAXPROCS if GOMAXPROCS is < len(disks)
    	maxProcs := runtime.GOMAXPROCS(0)
    	if maxProcs < len(disks) {
    		disks = disks[:maxProcs]
    	}
    
    	// Start one scanner per disk
    	var wg sync.WaitGroup
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableRangeSet.java

        ImmutableSortedSet<C> subSet(Range<C> range) {
          return subRangeSet(range).asSet(domain);
        }
    
        @Override
        ImmutableSortedSet<C> headSetImpl(C toElement, boolean inclusive) {
          return subSet(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        ImmutableSortedSet<C> subSetImpl(
            C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/TreeRangeSetTest.java

        queryBuilder.add(Range.<Integer>all());
    
        for (int i = MIN_BOUND; i <= MAX_BOUND; i++) {
          for (BoundType boundType : BoundType.values()) {
            queryBuilder.add(Range.upTo(i, boundType));
            queryBuilder.add(Range.downTo(i, boundType));
          }
          queryBuilder.add(Range.singleton(i));
          queryBuilder.add(Range.openClosed(i, i));
          queryBuilder.add(Range.closedOpen(i, i));
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. cmd/background-newdisks-heal-ops.go

    	if err = z.serverPools[poolIdx].sets[setIdx].healErasureSet(ctx, tracker.QueuedBuckets, tracker); err != nil {
    		return err
    	}
    
    	// if objects have failed healing, we attempt a retry to heal the drive upto 3 times before giving up.
    	if tracker.ItemsFailed > 0 && tracker.RetryAttempts < 4 {
    		tracker.RetryAttempts++
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top