Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 846 for timeIt (0.17 sec)

  1. doc/next/6-stdlib/1-time.md

    ### Timer changes
    
    Go 1.23 makes two significant changes to the implementation of
    [time.Timer] and [time.Ticker].
    
    First, `Timer`s and `Ticker`s that are no longer referred to by the program
    become eligible for garbage collection immediately, even if their
    `Stop` methods have not been called.
    Earlier versions of Go did not collect unstopped `Timer`s until after
    they had fired and never collected unstopped `Ticker`s.
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          fail("Unexpected InterruptedException");
        }
      }
    
      /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */
      void assertFutureTimesOut(Future<?> future) {
        assertFutureTimesOut(future, timeoutMillis());
      }
    
      /** Checks that future.get times out, with the given millisecond timeout. */
      void assertFutureTimesOut(Future<?> future, long timeoutMillis) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

          fail("Unexpected InterruptedException");
        }
      }
    
      /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */
      void assertFutureTimesOut(Future<?> future) {
        assertFutureTimesOut(future, timeoutMillis());
      }
    
      /** Checks that future.get times out, with the given millisecond timeout. */
      void assertFutureTimesOut(Future<?> future, long timeoutMillis) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

            private final AtomicBoolean executed = new AtomicBoolean(false);
    
            private final long timeout;
    
            public ProcessDestroyer(final Process p, final InputStreamThread ist, final long timeout) {
                this.p = p;
                this.ist = ist;
                this.timeout = timeout;
            }
    
            @Override
            public void run() {
                if (!p.isAlive()) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/GcFinalization.java

        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
        // TODO(user): Consider using
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    	drwMutexAcquireTimeout = 1 * time.Second // 1 second.
    
    	// dRWMutexRefreshTimeout - default timeout for the refresh call
    	drwMutexRefreshCallTimeout = 5 * time.Second
    
    	// dRWMutexUnlockTimeout - default timeout for the unlock call
    	drwMutexUnlockCallTimeout = 30 * time.Second
    
    	// dRWMutexForceUnlockTimeout - default timeout for the unlock call
    	drwMutexForceUnlockCallTimeout = 30 * time.Second
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/admin-heal-ops.go

    	// bucket, and object on which heal seq. was initiated
    	bucket, object string
    
    	// Report healing progress
    	reportProgress bool
    
    	// time at which heal sequence was started
    	startTime time.Time
    
    	// time at which heal sequence has ended
    	endTime time.Time
    
    	// Heal client info
    	clientToken, clientAddress string
    
    	// was this heal sequence force started?
    	forceStarted bool
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

       *
       * @param service the {@code ExecutorService} to shut down
       * @param timeout the maximum time to wait for the {@code ExecutorService} to terminate
       * @param unit the time unit of the timeout argument
       * @return {@code true} if the {@code ExecutorService} was terminated successfully, {@code false}
       *     if the call timed out or was interrupted
       * @since 17.0
       */
      @CanIgnoreReturnValue
    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. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // we try hard to make them robust in practice.  We could additionally try to add in a system
        // load timeout multiplier.  Or we could try to use a CPU time bound instead of wall clock time
        // bound.  But these ideas are harder to implement.  We do not try to detect or handle a
        // user-specified -XX:+DisableExplicitGC.
        //
        // TODO(user): Consider using
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  10. internal/ioutil/ioutil.go

    	}
    }
    
    // DeadlineWorker implements the deadline/timeout resiliency pattern.
    type DeadlineWorker struct {
    	timeout time.Duration
    }
    
    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker {
    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
Back to top