Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 408 for stopped_ (3.25 sec)

  1. tensorflow/cc/training/queue_runner.cc

    }
    
    void QueueRunner::Stop(Session* sess) {
      if (coord_ != nullptr) {
        coord_->WaitForStop();
      }
      if (!cancel_op_name_.empty()) {
        UpdateStatus(RealRun(sess, cancel_op_name_, false));
      }
      stopped_ = true;
    }
    
    Status QueueRunner::Join() {
      thread_pool_.reset();
      mutex_lock l(mu_);
      return status_;
    }
    
    void QueueRunner::UpdateStatus(const Status& status) {
      {
        mutex_lock l(mu_);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:30:37 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. cmd/rebalance-admin.go

    			continue
    		}
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    		diskStats[disk.PoolIndex].TotalSpace += disk.TotalSpace
    	}
    
    	stopTime := meta.StoppedAt
    	r = rebalanceAdminStatus{
    		ID:        meta.ID,
    		StoppedAt: meta.StoppedAt,
    		Pools:     make([]rebalancePoolStatus, len(meta.PoolStats)),
    	}
    	for i, ps := range meta.PoolStats {
    		r.Pools[i] = rebalancePoolStatus{
    			ID:     i,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Dec 22 00:56:43 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/server/secure_serving.go

    // The actual server loop (stoppable by closing stopCh) runs in a go routine, i.e. Serve does not block.
    // It returns a stoppedCh that is closed when all non-hijacked active requests have been processed.
    // It returns a listenerStoppedCh that is closed when the underlying http Server has stopped listening.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 12 20:54:07 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/watch/watch.go

    	f.Lock()
    	defer f.Unlock()
    	if !f.stopped {
    		klog.V(4).Infof("Stopping fake watcher.")
    		close(f.result)
    		f.stopped = true
    	}
    }
    
    func (f *FakeWatcher) IsStopped() bool {
    	f.Lock()
    	defer f.Unlock()
    	return f.stopped
    }
    
    // Reset prepares the watcher to be reused.
    func (f *FakeWatcher) Reset() {
    	f.Lock()
    	defer f.Unlock()
    	f.stopped = false
    	f.result = make(chan Event)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:06:22 UTC 2024
    - 8.1K bytes
    - Viewed (1)
  5. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

                executor.execute(action1)
                executor.execute(action2)
                executor.stop()
                instant.stopped
            }
    
            then:
            instant.stopped > instant.completed1
            instant.stopped > instant.completed2
        }
    
        def factoryStopBlocksUntilAllJobsAreComplete() {
            given:
            def action1 = {
                thread.block()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonStateCoordinator.java

                                break;
                            case Stopped:
                                LOGGER.debug("daemon has stopped.");
                                return DaemonStopState.Clean;
                            case ForceStopped:
                                LOGGER.debug("daemon has been force stopped.");
                                return DaemonStopState.Forced;
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy

            out =~ /\n\s*\d+\s+IDLE\s+([\w\.\+\-]+)/
            out =~ /\n\s*\d+\s+BUSY\s+([\w\.\+\-]+)/
            out =~ /\n\s*12346\s+STOPPED\s+\(GRACEFUL_EXPIRE_REASON\)/
    
            cleanup:
            block?.releaseAll()
            build?.waitForFinish()
        }
    
        def "reports stopped status of recently stopped daemons"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-rebalance.go

    				switch {
    				case errors.Is(rebalErr, context.Canceled):
    					status = rebalStopped
    					traceMsg = fmt.Sprintf("stopped at %s", now)
    				case rebalErr == nil:
    					status = rebalCompleted
    					traceMsg = fmt.Sprintf("completed at %s", now)
    				default:
    					status = rebalFailed
    					traceMsg = fmt.Sprintf("stopped at %s with err: %v", now, rebalErr)
    				}
    
    				z.rebalMu.Lock()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy

            expect:
            notStopped
    
            when: "stopped first time"
            coordinator.stop()
    
            then: "stops"
            stopped
    
            when: "requested again"
            coordinator.stop()
    
            then:
            stopped
            0 * _._
        }
    
        def "await idle timeout does nothing when already stopped"() {
            given:
            coordinator.stop()
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:24:02 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/consumer/async/ServiceLifecycle.java

                    case STOPPING:
                        throw new IllegalStateException(String.format("Cannot use %s as it is currently stopping.", displayName));
                    case STOPPED:
                        throw new IllegalStateException(String.format("Cannot use %s as it has been stopped.", displayName));
                }
                Integer depth = usages.get(Thread.currentThread());
                if (depth == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:55 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top