Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 143 for Widmer (0.17 sec)

  1. internal/http/server.go

    	// Wait for opened connection to be closed up to Shutdown timeout.
    	shutdownTimeout := srv.ShutdownTimeout
    	shutdownTimer := time.NewTimer(shutdownTimeout)
    	defer shutdownTimer.Stop()
    
    	timer := time.NewTimer(nextPollInterval())
    	defer timer.Stop()
    	for {
    		select {
    		case <-shutdownTimer.C:
    			if atomic.LoadInt32(&srv.requestCount) <= 0 {
    				return nil
    			}
    
    			// Write all running goroutines.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. cmd/data-scanner.go

    		}
    		if maxWait > 0 && wantSleep > maxWait {
    			wantSleep = maxWait
    		}
    		timer := time.NewTimer(wantSleep)
    		select {
    		case <-ctx.Done():
    			if !timer.Stop() {
    				<-timer.C
    				if d.isScanner {
    					globalScannerMetrics.incTime(scannerMetricYield, wantSleep)
    				}
    			}
    			return
    		case <-timer.C:
    			if d.isScanner {
    				globalScannerMetrics.incTime(scannerMetricYield, wantSleep)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Apr 15 09:40:19 GMT 2024
    - 46.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/QueuesTest.java

          producer.beganProducing.await();
    
          // make sure we time out
          Stopwatch timer = Stopwatch.createStarted();
    
          int drained = drain(q, newArrayList(), 2, 10, MILLISECONDS, interruptibly);
          assertThat(drained).isAtMost(1);
    
          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.timer;
    
    import java.io.IOException;
    import java.io.PrintWriter;
    import java.util.Arrays;
    import java.util.function.Supplier;
    
    import org.apache.commons.io.output.ByteArrayOutputStream;
    import org.apache.commons.text.StringEscapeUtils;
    import org.codelibs.core.timer.TimeoutTarget;
    import org.codelibs.fess.Constants;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. internal/dsync/dsync_test.go

    		defer cancel()
    		dm.Unlock(ctx)
    		unlockReturned <- struct{}{}
    	}()
    
    	timer := time.NewTimer(2 * testDrwMutexUnlockCallTimeout)
    	defer timer.Stop()
    
    	select {
    	case <-unlockReturned:
    		t.Fatal("Unlock timed out, which should not happen")
    	case <-timer.C:
    	}
    }
    
    // Borrowed from mutex_test.go
    func HammerMutex(m *DRWMutex, loops int, cdone chan bool) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 24 03:49:07 GMT 2022
    - 11K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/timer/TimeoutManager.java

    import org.codelibs.core.log.Logger;
    
    /**
     * Timerを扱うクラスです。
     *
     * @author higa
     *
     */
    public class TimeoutManager implements Runnable {
    
        private static final Logger logger = Logger.getLogger(TimeoutManager.class);
    
        /**
         * シングルトンのためのインスタンスです。
         */
        protected static final TimeoutManager instance = new TimeoutManager();
    
        /**
         * Timerのための{@link Thread}です。
         */
    Java
    - Registered: Fri Apr 19 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/thumbnail/impl/CommandGenerator.java

        protected File baseDir;
    
        private Timer destoryTimer;
    
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initialize {}", this.getClass().getSimpleName());
            }
            if (baseDir == null) {
                baseDir = new File(System.getProperty("java.io.tmpdir"));
            }
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/exec/ThumbnailGenerator.java

    import org.codelibs.core.misc.DynamicProperties;
    import org.codelibs.core.timer.TimeoutManager;
    import org.codelibs.core.timer.TimeoutTask;
    import org.codelibs.fess.Constants;
    import org.codelibs.fess.crawler.client.FesenClient;
    import org.codelibs.fess.es.client.SearchEngineClient;
    import org.codelibs.fess.exception.ContainerNotAvailableException;
    import org.codelibs.fess.timer.SystemMonitorTarget;
    import org.codelibs.fess.util.ComponentUtil;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/QueuesTest.java

          producer.beganProducing.await();
    
          // make sure we time out
          Stopwatch timer = Stopwatch.createStarted();
    
          int drained = drain(q, newArrayList(), 2, 10, MILLISECONDS, interruptibly);
          assertThat(drained).isAtMost(1);
    
          assertThat(timer.elapsed(MILLISECONDS)).isAtLeast(10L);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

                        BlockFetcher block_fetcher,
                        std::function<uint64_t()> timer_seconds = TF_NowSeconds)
          : block_size_(block_size),
            max_bytes_(max_bytes),
            max_staleness_(max_staleness),
            block_fetcher_(block_fetcher),
            timer_seconds_(timer_seconds),
            pruning_thread_(nullptr,
                            [](TF_Thread* thread) { TF_JoinThread(thread); }) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
Back to top