Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for downTo (0.21 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

        lock.withLock {
          return busyQueues + readyQueues
        }
      }
    
      fun cancelAll() {
        lock.assertHeld()
        for (i in busyQueues.size - 1 downTo 0) {
          busyQueues[i].cancelAllAndDecide()
        }
        for (i in readyQueues.size - 1 downTo 0) {
          val queue = readyQueues[i]
          queue.cancelAllAndDecide()
          if (queue.futureTasks.isEmpty()) {
            readyQueues.removeAt(i)
          }
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableRangeSet.java

                  toElement, BoundType.forBoolean(toInclusive)));
        }
    
        @Override
        ImmutableSortedSet<C> tailSetImpl(C fromElement, boolean inclusive) {
          return subSet(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          if (o == null) {
            return false;
          }
          try {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 26.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

                  toElement, BoundType.forBoolean(toInclusive)));
        }
    
        @Override
        ImmutableSortedSet<C> tailSetImpl(C fromElement, boolean inclusive) {
          return subSet(Range.downTo(fromElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        public boolean contains(@CheckForNull Object o) {
          if (o == null) {
            return false;
          }
          try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      @Override
      public SortedMultiset<E> tailMultiset(@ParametricNullness E lowerBound, BoundType boundType) {
        return new TreeMultiset<>(
            rootReference,
            range.intersect(GeneralRange.downTo(comparator(), lowerBound, boundType)),
            header);
      }
    
      private static final class Reference<T> {
        @CheckForNull private T value;
    
        @CheckForNull
        public T get() {
          return value;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // considered while scaling up or scaling down.
      // StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
      // If not set, use the default values:
      // - For scale up: 0 (i.e. no stabilization is done).
      // - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // considered while scaling up or scaling down.
      // StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour).
      // If not set, use the default values:
      // - For scale up: 0 (i.e. no stabilization is done).
      // - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
      // +optional
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/storage-rest-client.go

    	}
    
    	if nerr, ok := err.(*rest.NetworkError); ok {
    		if down := xnet.IsNetworkOrHostDown(nerr.Err, false); down {
    			return true
    		}
    		if errors.Is(nerr.Err, rest.ErrClientClosed) {
    			return true
    		}
    	}
    	if errors.Is(err, grid.ErrDisconnected) {
    		return true
    	}
    	// More corner cases suitable for storage REST API
    	switch {
    	// A peer node can be in shut down phase and proactively
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1beta1/generated.proto

      // Absolute number is calculated from percentage by rounding down.
      // This can not be 0 if MaxSurge is 0.
      // Defaults to 25%.
      // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
      // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
      // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1/generated.proto

      // Absolute number is calculated from percentage by rounding down.
      // This can not be 0 if MaxSurge is 0.
      // Defaults to 25%.
      // Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods
      // immediately when the rolling update starts. Once new pods are ready, old ReplicaSet
      // can be scaled down further, followed by scaling up the new ReplicaSet, ensuring
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 34.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        assertEquals((Integer) 2, it.next());
        it.remove();
        // After this remove, 400 has moved up and 20 down past cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
        assertEquals((Integer) 10, it.next());
        assertEquals((Integer) 3, it.next());
        it.remove();
        // After this remove, 400 moved down again and 500 up past the cursor
        assertTrue("Heap is not intact after remove", mmHeap.isIntact());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 36.1K bytes
    - Viewed (0)
Back to top