Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for timerC (0.4 sec)

  1. pilot/pkg/bootstrap/istio_ca.go

    func (s *Server) handleCACertsFileWatch() {
    	var timerC <-chan time.Time
    	for {
    		select {
    		case <-timerC:
    			timerC = nil
    			handleEvent(s)
    
    		case event, ok := <-s.cacertsWatcher.Events:
    			if !ok {
    				log.Debug("plugin cacerts watch stopped")
    				return
    			}
    			if event.Has(fsnotify.Write) || event.Has(fsnotify.Create) {
    				if timerC == nil {
    					timerC = time.After(100 * time.Millisecond)
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 17:48:28 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. src/time/tick_test.go

    	// from the timer/ticker channel after Reset.
    	// When using Go 1.23 sync timers/tickers, draining is never needed
    	// (that's the whole point of the sync timer/ticker change).
    	drain1 := func() {
    		for range drainTries {
    			select {
    			case <-C:
    				return
    			default:
    			}
    			Sleep(sched)
    		}
    	}
    
    	// drainAsync removes potential stale time values after Stop/Reset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    			// is running, not only the first ones in the list.
    			timer := c.timer
    			for _, watcher := range c.blockedWatchers {
    				if !watcher.add(event, timer) {
    					// fired, clean the timer by set it to nil.
    					timer = nil
    				}
    			}
    
    			// Stop the timer if it is not fired
    			if timer != nil && !timer.Stop() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/client/DefaultDaemonStarter.java

    import org.gradle.internal.serialize.FlushableEncoder;
    import org.gradle.internal.serialize.kryo.KryoBackedEncoder;
    import org.gradle.internal.stream.EncodedStream;
    import org.gradle.internal.time.Time;
    import org.gradle.internal.time.Timer;
    import org.gradle.launcher.daemon.DaemonExecHandleBuilder;
    import org.gradle.launcher.daemon.bootstrap.DaemonOutputConsumer;
    import org.gradle.launcher.daemon.configuration.DaemonParameters;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. internal/kms/config.go

    		// Keep the default key in the KES cache to prevent availability issues
    		// when MinIO restarts
    		go func() {
    			timer := time.NewTicker(10 * time.Second)
    			defer timer.Stop()
    			defaultKey := env.Get(EnvKESDefaultKey, "")
    			for {
    				select {
    				case <-ctx.Done():
    					return
    				case <-timer.C:
    					client.DescribeKey(ctx, defaultKey)
    				}
    			}
    		}()
    
    		return &KMS{
    			Type:       MinKES,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 12 14:31:26 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/integTest/groovy/org/gradle/cache/internal/DefaultFileLockManagerContentionIntegrationTest.groovy

            when:
            def build = executer.withTasks("lock").start()
            def timer = Time.startTimer()
            poll(120) {
                assert (build.standardOutput =~ 'Pinged owner at port').count == 3
            }
            receivingLock.close()
            then:
            build.waitForFinish()
            pingRequestCount == 3 || pingRequestCount == 4
            timer.elapsedMillis > 3000 // See: DefaultFileLockContentionHandler.PING_DELAY
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

        XlaCompiler::CompilationResult* compilation_result) {
      LOG_FIRST_N(INFO, 1) << "Compiling MLIR computation to XLA HLO using the "
                              "old (non-MLIR) tf2xla bridge";
    
      CompilationTimer timer;
      *compilation_result = {};
      bool has_mlir = computation.index() == 0;
    
      std::string mlir_string = has_mlir ? "has_mlir" : "has_function_to_hlo";
      const std::string kBridgePhase2Config =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

    import org.gradle.internal.serialize.Serializer;
    import org.gradle.internal.serialize.kryo.KryoBackedDecoder;
    import org.gradle.internal.serialize.kryo.KryoBackedEncoder;
    import org.gradle.internal.time.Time;
    import org.gradle.internal.time.Timer;
    import org.gradle.util.internal.GFileUtils;
    import org.gradle.util.internal.TextUtil;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import javax.annotation.Nullable;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	startTime := time.Now()
    	return func(sz int64, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceReplicationResync) > 0 {
    			globalTrace.Publish(replicationResyncTrace(resyncID, startTime, duration, path, err, sz))
    		}
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    			if b64, err := base64.RawURLEncoding.DecodeString(uploadIDDir); err == nil {
    				if split := strings.Split(string(b64), "x"); len(split) == 2 {
    					t, err := strconv.ParseInt(split[1], 10, 64)
    					if err == nil {
    						modTime = time.Unix(0, t)
    					}
    				}
    			}
    			// Fallback for older uploads without time in the ID.
    			if modTime.IsZero() {
    				wait := deleteMultipartCleanupSleeper.Timer(ctx)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top