Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for downTo (0.35 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. 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)
  3. 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)
  4. doc/next/6-stdlib/2-unique.md

    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  5. docs/en/docs/advanced/events.md

    The same way, you can define logic (code) that should be executed when the application is **shutting down**. In this case, this code will be executed **once**, **after** having handled possibly **many requests**.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java

     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  7. maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

                        service.shutdown();
                        service.awaitTermination(terminationTimeout, timeUnit);
                      } catch (InterruptedException ignored) {
                        // We're shutting down anyway, so just ignore.
                      }
                    }
                  }));
        }
    
        @VisibleForTesting
        void addShutdownHook(Thread hook) {
          Runtime.getRuntime().addShutdownHook(hook);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  9. maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java

     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
     * down in the lineage are bubbling up where they should.
     *
     */
    @Deprecated
    class ProjectInheritanceTest extends AbstractProjectInheritanceTestCase {
        // ----------------------------------------------------------------------
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. internal/config/heal/heal.go

    // Config represents the heal settings.
    type Config struct {
    	// Bitrot will perform bitrot scan on local disk when checking objects.
    	Bitrot string `json:"bitrotscan"`
    
    	// maximum sleep duration between objects to slow down heal operation.
    	Sleep   time.Duration `json:"sleep"`
    	IOCount int           `json:"iocount"`
    
    	DriveWorkers int `json:"drive_workers"`
    
    	// Cached value from Bitrot field
    	cache struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 4.9K bytes
    - Viewed (0)
Back to top